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

Actual exam question for Linux Foundation's KCNA exam
Question #: 72
Topic #: 2
[All KCNA Questions]

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

Show Suggested Answer Hide Answer
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.


Contribute your Thoughts:

0/2000 characters
Marilynn
9 hours ago
OpenID Connect? More like OpenID Disconnect, am I right?
upvoted 0 times
...
Daryl
5 days ago
I'm just going to guess C and hope for the best.
upvoted 0 times
...
Alyssa
27 days ago
OpenID CNCF? Really? That sounds made up.
upvoted 0 times
...
Yoko
1 month ago
I thought Kubernetes used OpenID Container, but I guess that's not a thing.
upvoted 0 times
...
Lorenza
1 month ago
OpenID Connect is the correct answer.
upvoted 0 times
...
Tamekia
1 month ago
I’m leaning towards OpenID Connect too, but I wish I had reviewed more about JWTs and their frameworks before the exam.
upvoted 0 times
...
Marget
2 months ago
I’m a bit confused about the options. Are OpenID Container and OpenID Cluster even real frameworks?
upvoted 0 times
...
Reena
2 months ago
I feel like I’ve seen a question like this before, and OpenID Connect was the answer. It makes sense for authentication.
upvoted 0 times
...
Rosann
2 months ago
I think it might be OpenID Connect, but I’m not completely sure. I remember it being mentioned in a lecture.
upvoted 0 times
...
Joseph
2 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.
upvoted 0 times
...
Dalene
2 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.
upvoted 0 times
...
Valene
2 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.
upvoted 0 times
...
Denna
3 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.
upvoted 0 times
...
Felix
3 months ago
I'm pretty sure Kubernetes uses OpenID Connect for authentication, so I'll go with option A.
upvoted 0 times
...

Save Cancel