CV0-004 Canary deployment Practice Question
A DevOps team is designing a CI/CD pipeline for a cloud-native application. They require a deployment strategy that supports traffic shifting in small increments and automatic rollback based on health checks. Which TWO strategies meet these requirements?
⚠ Common exam trap
Candidates often forget that rolling deployments can also shift traffic incrementally and support automatic rollback, making them a valid second choice.
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
✓
Rolling deployment
Canary deployment meets both requirements because it shifts traffic incrementally and can automatically roll back based on health checks. Rolling deployment also meets the requirements: it updates instances gradually, shifting traffic in small increments, and can be configured with health checks to trigger automatic rollback if the new version fails. Blue/green deployment does not shift traffic incrementally; it switches all at once. Recreate and immutable deployments do not support incremental traffic shifting or automatic rollback based on health checks.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Rolling deployment
Why this is correct
Rolling deployment updates instances one by one or in small batches, gradually shifting traffic. It can be integrated with health checks to automatically roll back if the new version fails, meeting both requirements.
- ✗
Recreate deployment
Why it's wrong here
Recreate deployment terminates all current instances and creates new ones, causing downtime and no incremental traffic shifting or automatic rollback.
- ✗
Immutable deployment
Why it's wrong here
Immutable deployment replaces the entire environment with a new one, but it does not shift traffic incrementally and rollback is manual (swap back).
- ✓
Canary deployment
Why this is correct
Canary deployment routes a small percentage of traffic to the new version and increases gradually. Health checks can trigger automatic rollback, fully meeting both requirements.
- ✗
Blue/green deployment
Why it's wrong here
Blue/green deployment switches all traffic at once from the old to the new environment. While it supports rollback by switching back, it does not shift traffic incrementally.
Go deeper
Related to this question
About these practice questions
Courseiva writes every CV0-004 question from scratch — 977 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 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.