CV0-004 Deployment Practice Question
A cloud engineer is designing a deployment strategy for a web application that requires zero downtime. The engineer has set up two identical production environments, one active and one idle. After deploying the new version to the idle environment, the engineer switches the DNS record to point to the idle environment. This deployment method is known as:
⚠ Common exam trap
CV0-004 often tests the distinction between deployment strategies that provide zero downtime versus those that reduce risk; candidates confuse blue/green with canary or rolling because all aim to minimize downtime, but only blue/green uses two identical environments with an atomic traffic switch.
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
✓
Blue/green deployment
Blue/green deployment maintains two identical environments: one live (blue) and one idle (green). After deploying the new version to the idle environment and testing it, traffic is switched from the active to the idle environment, typically via DNS or a load balancer. This provides zero downtime and instant rollback because the previous environment remains intact until the switch is validated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Blue/green deployment
Why this is correct
Blue/green deployment maintains two identical environments, routing traffic via DNS cutover from the active (blue) to the idle (green) once the new version is verified. This satisfies the zero-downtime constraint, since the switch is near-instantaneous and rollback simply reverts DNS to the original environment.
- ✗
Rolling deployment
Why it's wrong here
Rolling deployment replaces instances in batches within one environment, so both versions run concurrently during the update; this scenario deploys to a separate idle environment then switches DNS. It is tempting as a zero-downtime method, but it lacks the distinct blue and green environments.
- ✗
A/B testing deployment
Why it's wrong here
A/B testing splits a subset of live traffic between two versions to compare metrics, whereas this scenario swaps all traffic to a fully prepared idle environment via DNS. It is tempting because both involve two versions, but A/B testing does not provide the blue/green cutover described.
- ✗
Canary deployment
Why it's wrong here
Canary deployment shifts a small percentage of traffic to the new version while the old version still serves the rest, enabling gradual validation. Here the engineer flips the entire DNS record from one full environment to another, which is blue/green. Canary suits progressive rollout to a subset of users.
Visual reference
Go deeper
Related to this question
About these practice questions
This CV0-004 question is part of Courseiva's 834-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 CompTIA exam blueprint
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.