350-201(NEW-127Q) · Question #90
While analyzing traffic from an API authentication request, an analyst identifies the header: "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3OCIsIn...MGMONTcif…
The correct answer is C. token. Option C (token) is correct because the Authorization: Bearer header with a eyJ... value is the hallmark of JWT (JSON Web Token) authentication - a form of token-based auth where a signed, encoded token is passed with each request to prove identity. The eyJ prefix is…
Question
Options
- Abasic
- BAPI keys
- Ctoken
- Dform-based
How the community answered
(40 responses)- B3% (1)
- C93% (37)
- D5% (2)
Explanation
Option C (token) is correct because the Authorization: Bearer header with a eyJ... value is the hallmark of JWT (JSON Web Token) authentication - a form of token-based auth where a signed, encoded token is passed with each request to prove identity. The eyJ prefix is base64-encoded {" (the start of a JSON header), making JWTs instantly recognizable in traffic captures.
Why the distractors are wrong:
- A (Basic): Basic auth uses
Authorization: Basic <base64(username:password)>, notBearer. - B (API keys): API keys are typically passed as a custom header (e.g.,
X-API-Key: abc123) or query parameter, not as aBearertoken. - D (Form-based): Form-based auth submits credentials via an HTML form body (POST), not in an
Authorizationheader at all.
Memory tip: Think "Bearer = Bearer of a token" - whoever holds (bears) the token gets access. If you see Bearer eyJ..., it's always a JWT token, and JWTs are the canonical example of token-based authentication.
Topics
Community Discussion
No community discussion yet for this question.