What is the structure of a JSON Web Token?
Choose an answer
Tap an option to check your answer.
Correct answer: three parts separated by dots: header, payload, and signature.
Why this is the answer
A JSON Web Token (JWT) is structured as three Base64Url-encoded parts separated by dots: header, payload, and signature. The header specifies the token type and the signing algorithm. The payload contains claims (statements about an entity, e.g., user ID, roles, expiration time). The signature is used to verify the token's authenticity and integrity, ensuring it hasn't been tampered with. The option "three parts separated by dots: version, header, and signature" is incorrect because "version" is not a standard JWT part; it's "payload." "Header and payload" and "payload and signature" are incomplete as a JWT always consists of all three parts for proper security and functionality.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed