Which fields make up a JSON Web Token (JWT)? (Choose three.)
Choose an answer
Tap an option to check your answer.
Correct answer: Header, Payload, Signature.
Why this is the answer
A JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. It consists of three parts separated by dots: the Header, the Payload, and the Signature. The Header typically contains two parts: the type of the token (JWT) and the signing algorithm used (e.g., HMAC SHA256 or RSA). The Payload contains the claims, which are statements about an entity (typically, the user) and additional data. The Signature is created by taking the encoded header, the encoded payload, a secret, and the algorithm specified in the header, then signing that. This signature is used to verify that the sender of the JWT is who it claims to be and to ensure that the message hasn't been altered along the way. "Trailer" and "Sequence number" are not components of a JWT.
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