Courseiva
Deployment →hardMultiple Choice

CV0-004 Deployment Practice Question

A company uses Azure DevOps to deploy a critical application. They need to implement a deployment strategy that ensures zero downtime by directing all traffic to the new environment after validation, while keeping the old environment as a fallback. Which deployment strategy should be configured in the Azure Pipelines release pipeline?

⚠ Common exam trap

CompTIA often tests the distinction between canary and blue/green by emphasizing 'gradual traffic shift' versus 'instant full cutover with fallback,' leading candidates to confuse canary's incremental rollout with the zero-downtime fallback requirement.

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 is the correct strategy because it maintains two identical environments (blue and green) and switches the router or load balancer to direct all traffic to the new (green) environment only after validation is complete. The old (blue) environment remains untouched and can serve as an immediate fallback if issues arise, ensuring zero downtime during the cutover.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Canary deployment

    Why it's wrong here

    Canary routes a small percentage of traffic to the new version while the old version still serves the remainder, so it never directs all traffic to the validated environment. It is tempting because canary also limits blast radius, and would be correct for gradual risk-controlled rollout rather than full cutover.

  • ✗

    In-place deployment

    Why it's wrong here

    In-place deployment updates the existing environment's instances, so the old version is overwritten and cannot serve as a fallback, producing downtime during the swap. It is tempting because it is the default for simple single-environment pipelines, and would be correct where no rollback or traffic cutover is required.

  • ✓

    Blue/green deployment

    Why this is correct

    Blue/green deployment keeps the existing environment live while the new one is validated, then switches all traffic at once. The old environment remains available for rollback, delivering the zero-downtime cutover with fallback that the release pipeline requires.

  • ✗

    Rolling deployment

    Why it's wrong here

    Rolling deployment replaces instances in batches within one environment, so both versions serve traffic simultaneously and no validated cutover with a retained fallback exists. It suits gradual in-place updates where capacity is constrained. The stem requires blue-green, which swaps traffic only after validation and preserves the old environment.

Visual reference

Client DHCP Server 1 Discover (broadcast) 2 Offer (IP: 192.168.1.10) 3 Request (I accept) 4 Acknowledge (lease confirmed) DORA — the four-step DHCP lease process

About these practice questions

Courseiva writes every CV0-004 question from scratch — 834 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 →

How Courseiva writes practice questions · Editorial policy

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.