🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Security and JWT: all 10 questions

Quiz: Security and JWT · Question 5 of 10

Where should the enrolling student's identity come from?

Where should the enrolling student's identity come from?

  1. A.A studentId field in the JSON body
  2. B.A query parameter
  3. C.The verified JWT (its subject claim)
  4. D.The client's IP address
Answer & explanation

Correct answer: The verified JWT (its subject claim)

Only the signed token can be trusted.

Can you get the rest right without peeking?

Take the timed Quiz: Security and JWT quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →