🎙 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 6 of 10

What are the three parts of a JWT, separated by dots?

What are the three parts of a JWT, separated by dots?

  1. A.Username, password and expiry
  2. B.Header, payload and signature
  3. C.Key, value and checksum
  4. D.Algorithm, salt and hash
Answer & explanation

Correct answer: Header, payload and signature

Header and payload are Base64URL-encoded JSON; the signature protects them.

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 →