Chapter quiz · APIs, Auth & Data

Test what you learned.

8 questions on APIs, Auth & Data. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

APIs, Auth & Data — Chapter Quiz

Eight questions on route handlers, middleware, auth, ORMs, and the Edge runtime.

0/ 9
  1. Question 1
    1

    Where does middleware live in an App Router project?

  2. Question 2
    2

    Which response do you return to continue to the destination route from middleware?

  3. Question 3
    3

    You can write cookies from a Server Component.

  4. Question 4
    4

    Which library is the official auth solution previously known as NextAuth?

  5. Question 5
    5

    Why import 'server-only' at the top of lib/db.ts?

  6. Question 6
    6

    Which runtime gives you the smallest cold start and is closest to your users, at the cost of a Node API subset?

  7. Question 7
    7

    To return a streaming response from a Route Handler, return a _______Stream inside the Response body.

  8. Question 8
    8

    Which of these are popular ORM choices in the Next.js ecosystem?

    Select all that apply.

Pick an answer — instant feedback as you go.