Courseiva
Deployment →hardMultiple Choice

CV0-004 Deployment Practice Question

A cloud engineer is designing a CI/CD pipeline using Azure DevOps. They need to ensure that code changes are automatically built, tested, and deployed to a staging environment, and then after manual approval, deployed to production. Which pipeline configuration should they use?

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

✓

Multi-stage pipeline with environment approvals on the production stage

Azure DevOps multi-stage pipelines allow defining stages such as build, test, and deploy, with gates and approvals. An approval gate on the production stage ensures manual review before deployment.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Multi-stage pipeline with environment approvals on the production stage

    Why this is correct

    A multi-stage pipeline separates build, test, staging and production into discrete stages, and environment approvals gate the production stage so deployment waits for manual sign-off. This satisfies both the automated staging deployment and the approval-before-production constraint.

  • ✗

    Single stage pipeline with conditional deployment

    Why it's wrong here

    A single stage pipeline with conditional deployment cannot model separate staging and production environments with an approval gate between them. It is tempting because conditional logic does control task execution, and would be correct for branching within one environment, not for gated cross-environment promotion.

  • ✗

    Release pipeline with continuous deployment trigger

    Why it's wrong here

    A release pipeline with a continuous deployment trigger fires on every successful build, so code reaches production without the required manual approval gate. It is tempting because release pipelines do handle multi-stage promotion, and would be correct if the production stage had a pre-deployment approval configured.

  • ✗

    Build pipeline only

    Why it's wrong here

    A build pipeline only compiles and tests code; it performs no deployment to staging or production. It is tempting because build pipelines do run automated builds and tests, and would be correct if the requirement stopped at continuous integration without any release or approval stages.

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 →

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.