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

Quiz: JWT and API Security · Question 1 of 10

What does the signature of a JWT guarantee?

What does the signature of a JWT guarantee?

  1. A.That nobody can read the payload
  2. B.That the header and payload weren't changed by someone without the key
  3. C.That the user is online
  4. D.That the token never expires
Answer & explanation

Correct answer: That the header and payload weren't changed by someone without the key

The signature gives integrity. The payload is only Base64URL-encoded and readable by anyone.

Can you get the rest right without peeking?

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

Start the quiz →