CKA Practice Question: Cluster Architecture, Installation & Configuration
Network Topology
Refer to the exhibit. An administrator creates a token with TTL 0. What is the effect on the token?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The token will never expire.
Setting TTL to 0 means the token never expires (unless manually deleted). It will persist indefinitely.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The token will never expire.
Why this is correct
When a token is created with a TTL (time-to-live) value of 0, Kubernetes treats that as an explicit request to disable expiration. The resulting token contains no `exp` claim or has an `exp` value far in the future, so the API server will not reject it based on time. It remains valid indefinitely until manually revoked, for example by deleting the Secret or Service Account.
- ✗
The token will expire after the default TTL.
Why it's wrong here
The default TTL is only relevant when no TTL flag is provided to the token creation command. Since the administrator explicitly passed `--ttl=0`, that value overrides the cluster default, and the default duration is never applied. Consequently, the token does not inherit the standard expiration period and therefore will not expire after the default interval.
- ✗
The token expires immediately.
Why it's wrong here
A TTL of 0 is a sentinel meaning 'no expiration', not a duration of zero seconds. Immediate expiration would require a very small positive TTL (e.g., 1 nanosecond) or immediate revocation, and the API server would still reject tokens with an `exp` in the past. Because 0 is interpreted as 'never expire', the token remains valid and does not become instantly unusable.
- ✗
The token is invalid and cannot be used.
Why it's wrong here
TTL=0 does not affect the validity of the token at creation time; the token is signed and registered normally. The zero TTL only influences the token’s expiry behavior, so the token is fully usable for authentication and authorization. Invalid tokens would result from bad signatures, missing audiences, or nonexistent service accounts, not from a zero TTL.
About these practice questions
Courseiva writes every CKA question from scratch — 726 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CKA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CKA exam.