Courseiva
DeploymenteasyMultiple ChoiceObjective-mapped

CV0-004 Deployment Practice Question

A cloud administrator is automating the deployment of a web application on AWS. The administrator wants to define the infrastructure as code using a declarative language that supports drift detection. Which tool should the administrator 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

CloudFormation

CloudFormation is a declarative AWS service for infrastructure as code that supports drift detection, which identifies changes made to resources outside of template management.

Answer analysis

Option-by-option breakdown

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

  • AWS CodeDeploy

    Why it's wrong here

    CodeDeploy is a deployment service, not an IaC tool, and does not manage infrastructure drift.

  • Ansible

    Why it's wrong here

    Ansible is imperative and agentless, but does not natively support drift detection.

  • Terraform

    Why it's wrong here

    Terraform supports drift detection only with paid plan or via state comparisons; not native like CloudFormation.

  • CloudFormation

    Why this is correct

    CloudFormation provides built-in drift detection to compare stack resources with template.

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 →

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.