Top Nest.js Questions & Practice
Master 50+ essential Next.js questions ranging from core fundamentals to senior-level real-world scenarios.
Junior Fundamentals — Question 1
Practice question covering the basic purpose of Next.js.
What is Next.js primarily?
Junior Fundamentals — Question 2
Practice question covering the App Router.
Which directory is the central routing directory in a modern Next.js App Router application?
Junior Fundamentals — Question 3
Practice question about pages.
What does `app/about/page.tsx` normally represent?
Junior Fundamentals — Question 4
Practice question about layouts.
What is the primary purpose of a Next.js layout?
Junior Fundamentals — Question 5
Practice question about dynamic routes.
What does a folder named `[id]` represent in the App Router?
Junior Fundamentals — Question 6
Practice question about navigation.
Which component should normally be used for internal navigation?
Junior Fundamentals — Question 7
Practice question about environment variables.
What does the `NEXT_PUBLIC_` prefix indicate?
Junior Fundamentals — Question 8
Practice question about Server Components.
In the App Router, what type of component is the default?
Junior Fundamentals — Question 9
Practice question about client components.
Which directive makes a component a Client Component?
Junior Fundamentals — Question 10
Practice question about browser APIs.
Why can't a normal Server Component directly use `window`?