CV0-004 Deployment Practice Question
A cloud architect is designing a Kubernetes deployment for a stateless web application. The application must be highly available and automatically recover from failures. Which THREE components are required to achieve this? (Select 3)
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
✓
Deployment resource
A Deployment manages replicas and supports rolling updates. A Service provides stable networking to the pods. Readiness probes ensure only healthy pods receive traffic. ConfigMaps and StatefulSets are not required for stateless HA.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ConfigMap
Why it's wrong here
ConfigMap injects configuration data into pods but provides no replication, scheduling or failure recovery, so it cannot deliver high availability. It is tempting because stateless applications typically consume externalised configuration, yet the availability requirement is met by a Deployment, ReplicaSet and Service.
- ✓
Deployment resource
Why this is correct
A Deployment manages a ReplicaSet, maintaining the desired pod count and recreating failed pods automatically. This reconciliation loop delivers the self-healing, highly available behaviour the stem demands for the stateless web application across node or pod failures.
- ✓
Service resource
Why this is correct
A Service provides a stable virtual IP and DNS name that load-balances across healthy pod replicas, decoupling clients from ephemeral pod addresses. Without it, pod churn during failures would break client connectivity, defeating the high-availability requirement in the stem.
- ✗
StatefulSet
Why it's wrong here
StatefulSet gives each pod a stable identity and persistent volume, which a stateless web tier does not need; a Deployment with a Service and ReplicaSet provides the required replication and self-healing. StatefulSet is tempting for databases or clustered workloads requiring ordered, persistent identities.
- ✓
Readiness probe
Why this is correct
A readiness probe gates traffic: Kubernetes removes a pod from Service endpoints until the probe succeeds, so requests never reach unready containers. This directly supports the stem's automatic failure recovery by ensuring only healthy replicas serve the stateless web application.
Go deeper
Related to this question
About these practice questions
One of 834 original CV0-004 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 CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.