KCNA Container Orchestration Practice Question
An application requires stable network identities and persistent storage. Which workload type should be used?
⚠ Common exam trap
The KCNA exam often tests the misconception that Deployments can handle stateful workloads by using PersistentVolumeClaims, but they fail to account for the lack of stable network identities and ordered pod management that StatefulSet provides.
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
✓
StatefulSet
StatefulSet is the correct workload type because it provides stable, unique network identities (via headless Services and ordinal hostnames) and persistent storage (via PersistentVolumeClaims that persist across Pod rescheduling). This makes it ideal for stateful applications like databases, where each Pod requires a stable identity and dedicated storage that survives restarts.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Deployment
Why it's wrong here
A Deployment manages stateless replicas with ephemeral pod names and no per-pod storage identity, so it cannot supply stable network identities or persistent volumes. It is tempting as the default workload for long-running services, and would be correct for a stateless web front end needing replication and rolling updates.
- ✗
DaemonSet
Why it's wrong here
A DaemonSet places one pod per node for node-level functions, giving no stable per-instance identity or dedicated persistent volume. It is tempting because it runs continuously, and would be correct for agents such as log collectors or monitoring daemons that must run on every node.
- ✗
Job
Why it's wrong here
A Job runs pods to completion for batch tasks, so it provides neither stable network identities nor persistent storage across restarts. It is tempting because it manages pod lifecycle, and would be correct for one-off or scheduled processing such as data migration or report generation.
- ✓
StatefulSet
Why this is correct
StatefulSet assigns each pod a stable, ordinal hostname and its own PersistentVolumeClaim, so network identity and storage survive rescheduling. Deployments give pods random names and share or lose volumes, failing the persistence and stable-identity requirement.
Go deeper
Related to this question
About these practice questions
One of 930 original KCNA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.