Question Bank

3705 approved questions from the community

What is static optimization in Next.js?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What is the difference between using and not using `'use server'` in Next.js?

HARD
SINGLE CHOICE
40s
Next.js
by Mohamed

How do you implement authorization in middleware and routes in Next.js?

HARD
SINGLE CHOICE
40s
Next.js
by Mohamed

What is the purpose of the Head component in Next.js?

EASY
SINGLE CHOICE
25s
Next.js
by Mohamed

How do you optimize fonts in Next.js?

MEDIUM
SINGLE CHOICE
30s
Next.js
by Mohamed

What is server actions in Next.js?

HARD
SINGLE CHOICE
40s
Next.js
by Mohamed

What are intercepting routes in the App Router?

HARD
SINGLE CHOICE
40s
Next.js
by Mohamed

What is the purpose of catch-all segments in Next.js routing?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What is the purpose of the `notFound()` function in Next.js?

MEDIUM
SINGLE CHOICE
30s
Next.js
by Mohamed

What is the difference between route handlers and API routes in Next.js?

HARD
SINGLE CHOICE
40s
Next.js
by Mohamed

How do you handle CORS in Next.js API routes?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

How do you manage cookies in Next.js?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What is AMP in Next.js?

MEDIUM
SINGLE CHOICE
30s
Next.js
by Mohamed

What is streaming in the App Router?

HARD
SINGLE CHOICE
40s
Next.js
by Mohamed

How is Next.js considered a full-stack framework?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What is the `metadata` export used for in the App Router?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

When should you choose the Pages Router over the App Router?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What are route groups in the App Router?

HARD
SINGLE CHOICE
40s
Next.js
by Mohamed

What are parallel routes in Next.js App Router?

HARD
SINGLE CHOICE
40s
Next.js
by Mohamed

Which of the following are best practices for Next.js API routes? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
45s
Next.js
by Mohamed
PreviousPage 97 of 186Next