Skip to content

Next.js quiz

Test your Next.js fundamentals across routing, rendering, performance, and deployment.

Frontend · About 3 minutes

Which Next.js feature lets a page be generated at build time and reused for fast requests?

Exit quiz

Question 1 of 5

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.

Topics covered

  • Rendering
  • Routing
  • Data fetching
  • Performance
  • Deployment

Which 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.

In 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.

What 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.

Which 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.

What 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.

Build something great with a Next.js expert.

Need a teammate, not a test?