KCNA Kubernetes Fundamentals Practice Question
A team wants to run a batch job that must complete successfully exactly once and then stop. The job processes a queue and should not be restarted after successful completion. Which Kubernetes resource is most appropriate for this requirement?
⚠ Common exam trap
The trap here is assuming any workload controller can run a one-off task, when only Job and CronJob are built around completion rather than continuous availability.
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
✓
Job
Job is the controller designed for run-to-completion workloads. It tracks successful Pod completions and stops creating new Pods once the required count is reached. Deployments, DaemonSets, and StatefulSets all maintain long-running Pods and would not naturally terminate after a single successful execution, making them inappropriate for this batch processing requirement.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
DaemonSet
Why it's wrong here
A DaemonSet ensures that a copy of a Pod runs on every node, or a subset of nodes, for cluster-wide services such as log collectors or node agents. It is not designed for a single completion-oriented task and does not track successful termination. The batch job requirement is fundamentally different from per-node daemon workloads.
- ✓
Job
Why this is correct
A Job creates one or more Pods and ensures that a specified number complete successfully. With a default completions and parallelism of 1, it runs a single Pod to completion and does not restart it after success. This matches the requirement for a one-time batch task that terminates when finished, unlike long-running workload controllers.
- ✗
StatefulSet
Why it's wrong here
A StatefulSet provides stable network identities and persistent storage for stateful applications such as databases. It maintains ordered, long-running Pods and does not model one-time completion semantics. While it can run a single replica, it lacks the Job controller's completion tracking and is therefore unsuitable for a batch task that must finish and stop.
- ✗
Deployment
Why it's wrong here
A Deployment manages long-running stateless applications and maintains a desired replica count indefinitely. If a Pod completes, the ReplicaSet controller creates a replacement to satisfy the replica count, so the workload never naturally stops. Using a Deployment for a one-time batch task would cause repeated restarts and is not the intended pattern.
Go deeper
Related to this question
About these practice questions
This KCNA question is part of Courseiva's 930-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official CNCF exam blueprint
This KCNA 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 KCNA exam.