Chapter quiz · Auth & Security

Test what you learned.

8 questions on Auth & Security. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Auth & Security — Chapter Quiz

Eight questions on sessions, JWT, helmet, CSRF, rate limits.

0/ 9
  1. Question 1
    1

    How should you store passwords?

  2. Question 2
    2

    Which cookie flags should be on every auth cookie?

  3. Question 3
    3

    JWTs are encrypted by default.

  4. Question 4
    4

    What does Helmet do?

  5. Question 5
    5

    Which protects against CSRF?

  6. Question 6
    6

    Compare signatures with crypto.timingSafeEqual instead of === to avoid ___ attacks.

  7. Question 7
    7

    Why apply tighter rate limits on login routes?

  8. Question 8
    8

    When should you use a hosted auth provider (Clerk, Auth0, Supabase Auth)?

    Select all that apply.

Pick an answer — instant feedback as you go.