CV0-004 Deployment Practice Question
A company is deploying a new version of a microservice on Amazon EKS. The deployment must ensure that new pods are created and become healthy before old pods are terminated. The current deployment uses a ReplicaSet. Which Kubernetes resource and strategy should be used?
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 with RollingUpdate strategy
A Deployment manages ReplicaSets and supports a RollingUpdate strategy that creates new pods and waits for them to become ready before terminating old ones.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ReplicaSet with RollingUpdate strategy
Why it's wrong here
ReplicaSet does not support rolling updates; it only ensures a desired number of pods.
- ✗
DaemonSet with RollingUpdate
Why it's wrong here
DaemonSet ensures one pod per node; not ideal for microservice scaling.
- ✓
Deployment with RollingUpdate strategy
Why this is correct
Deployment provides rolling updates ensuring new pods are healthy before old ones are removed.
- ✗
StatefulSet with OnDelete strategy
Why it's wrong here
OnDelete requires manual deletion; not suitable for automatic rolling update.
Go deeper
Related to this question
About these practice questions
This CV0-004 question is part of Courseiva's 977-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 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.