| 1 | What is the difference between authentication and authorization in a Next.js application? Next.js › Authentication & Authorization in Next.js | Next.js | Authentication & Authorization in Next.js | Beginner |
| 2 | What are best practices for securely storing and validating authentication tokens in a Next.js app? Next.js › Authentication & Authorization in Next.js | Next.js | Authentication & Authorization in Next.js | Advanced |
| 3 | How can you use middleware to protect multiple routes at once for authentication? Next.js › Authentication & Authorization in Next.js | Next.js | Authentication & Authorization in Next.js | Intermediate |
| 4 | How do you implement role based authorization, where different users see different content based on their role? Next.js › Authentication & Authorization in Next.js | Next.js | Authentication & Authorization in Next.js | Advanced |
| 5 | How would you protect a page in the App Router so only logged in users can access it? Next.js › Authentication & Authorization in Next.js | Next.js | Authentication & Authorization in Next.js | Intermediate |
| 6 | How do you read cookies in a Next.js server component? Next.js › Cookies & Session Management in Next.js | Next.js | Cookies & Session Management in Next.js | Beginner |
| 7 | How do you set a cookie in Next.js, such as after a user logs in? Next.js › Cookies & Session Management in Next.js | Next.js | Cookies & Session Management in Next.js | Intermediate |
| 8 | How would you implement a simple session management system using cookies in Next.js? Next.js › Cookies & Session Management in Next.js | Next.js | Cookies & Session Management in Next.js | Intermediate |
| 9 | What security settings should always be applied to cookies that store session or authentication information? Next.js › Cookies & Session Management in Next.js | Next.js | Cookies & Session Management in Next.js | Advanced |
| 10 | How do you programmatically navigate to a different page in response to a user action, such as after a successful form submission? Next.js › Routing (App/Pages Router) | Next.js | Routing (App/Pages Router) | Intermediate |