Question 1 of 5
Need a teammate, not a test?
Build something great with a Next.js expert.
Study guide
Next.js quiz questions and answers
Review all 5 questions at your own pace. Open each answer to see the correct response and a concise explanation of the concept.
1Which Next.js feature lets a page be generated at build time and reused for fast requests?
Correct answer
Static Site Generation
Static Site Generation pre-renders pages and serves cached HTML, which is ideal for fast content-heavy pages.
2In the App Router, which file creates UI shared by nested routes?
Correct answer
layout.js
A layout.js file wraps child routes and preserves shared UI across navigation.
3What is the main SEO benefit of server rendering important page content?
Correct answer
Search engines can read content immediately
Server-rendered HTML exposes meaningful content before client JavaScript runs.
4Which Next.js API file handles HTTP requests in the App Router?
Correct answer
route.js
route.js files define handlers such as GET, POST, PUT, and DELETE.
5What should you optimize first when a Next.js page has poor LCP?
Correct answer
Hero content and critical resources
LCP is usually driven by above-the-fold content, images, fonts, CSS, and server response time.