Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation KCNA Exam - Topic 2 Question 72 Discussion

Posted by Nguyet on Jan 05, 2026 at 05:16 AM

What framework does Kubernetes use to authenticate users with JSON Web Tokens?

Suggested Answer: A

Kubernetes commonly authenticates users using OpenID Connect (OIDC) when JSON Web Tokens (JWTs) are involved, so A is correct. OIDC is an identity layer on top of OAuth 2.0 that standardizes how clients obtain identity information and how JWTs are issued and validated.

In Kubernetes, authentication happens at the API server. When OIDC is configured, the API server validates incoming bearer tokens (JWTs) by checking token signature and claims against the configured OIDC issuer and client settings. Kubernetes can use OIDC claims (such as sub, email, groups) to map the authenticated identity to Kubernetes RBAC subjects. This is how enterprises integrate clusters with identity providers such as Okta, Dex, Azure AD, or other OIDC-compliant IdPs.

Options B, C, and D are fabricated phrases and not real frameworks. Kubernetes documentation explicitly references OIDC as a supported method for token-based user authentication (alongside client certificates, bearer tokens, static token files, and webhook authentication). The key point is that Kubernetes does not ''invent'' JWT auth; it integrates with standard identity providers through OIDC so clusters can participate in centralized SSO and group-based authorization.

Operationally, OIDC authentication is typically paired with:

RBAC for authorization (''what you can do'')

Audit logging for traceability

Short-lived tokens and rotation practices for security

Group claim mapping to simplify permission management

So, the verified framework Kubernetes uses with JWTs for user authentication is OpenID Connect.


Get Premium KCNA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
RO
Rosendo 6 months ago
Definitely A! It’s the standard for JWT authentication.
LO
Lore 6 months ago
I was torn between A and B, but A feels right.
MA
Major 6 months ago
Agreed! OpenID Connect is widely used for authentication.
BL
Blair 6 months ago
I think it's A) OpenID Connect. Seems most common.
TA
Tawna 7 months ago
A) OpenID Connect is the standard for Kubernetes authentication!
RO
Rosendo 7 months ago
Wait, are you sure about that? Sounds too easy.
RO
Royce 7 months ago
A) OpenID Connect is the right answer, no doubt!
KR
Kristeen 7 months ago
I thought it was B) OpenID Container?
KA
Katie 7 months ago
It's definitely A) OpenID Connect!
MA
Marilynn 8 months ago
OpenID Connect? More like OpenID Disconnect, am I right?
DA
Daryl 8 months ago
I'm just going to guess C and hope for the best.
AL
Alyssa 8 months ago
OpenID CNCF? Really? That sounds made up.
YO
Yoko 9 months ago
I thought Kubernetes used OpenID Container, but I guess that's not a thing.
LO
Lorenza 9 months ago
OpenID Connect is the correct answer.
TA
Tamekia 9 months ago
I’m leaning towards OpenID Connect too, but I wish I had reviewed more about JWTs and their frameworks before the exam.
MA
Marget 9 months ago
I’m a bit confused about the options. Are OpenID Container and OpenID Cluster even real frameworks?
RE
Reena 9 months ago
I feel like I’ve seen a question like this before, and OpenID Connect was the answer. It makes sense for authentication.
RO
Rosann 9 months ago
I think it might be OpenID Connect, but I’m not completely sure. I remember it being mentioned in a lecture.
JO
Joseph 10 months ago
I'm drawing a blank on the specifics of Kubernetes authentication. I'll have to guess on this one and hope for the best.
DA
Dalene 10 months ago
The key here is understanding how Kubernetes handles authentication. I think OpenID Connect is the framework it uses, so I'll select A.
VA
Valene 10 months ago
Okay, I know Kubernetes has some kind of OpenID integration, but I'm not sure which specific one. I'll try to eliminate the options that don't sound right.
DE
Denna 10 months ago
Hmm, I'm a bit confused on the different OpenID options here. I'll need to think this through carefully before selecting an answer.
FE
Felix 10 months ago
I'm pretty sure Kubernetes uses OpenID Connect for authentication, so I'll go with option A.
JE
Jenelle 4 months ago
↳ replying to Felix
OpenID Connect makes sense for Kubernetes authentication!
SH
Shizue 4 months ago
↳ replying to Felix
Yeah, I've read that too. Option A seems solid.
SE
Serina 6 months ago
↳ replying to Felix
I think you're right, OpenID Connect is the way to go.
0/2000 characters

Save Cancel