Courseiva
Deployment →easyMultiple Choice

CV0-004 Deployment Practice Question

A company uses AWS CloudFormation to manage its infrastructure. After updating a stack, a developer notices that the actual infrastructure differs from the expected template. Which CloudFormation feature should be used to identify these differences?

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

✓

Drift detection

Drift detection allows you to detect whether a stack's actual configuration differs from its expected template configuration.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Drift detection

    Why this is correct

    Drift detection compares the actual deployed resource configuration against the expected stack template and reports any divergence. It directly identifies where live infrastructure no longer matches the template, satisfying the developer's need to locate differences after the update.

  • ✗

    Stack sets

    Why it's wrong here

    Stack sets deploy one template across multiple accounts and Regions; they do not compare live resources against the template. Drift detection performs that comparison. Stack sets would be correct for rolling out identical infrastructure at scale across an organisation.

  • ✗

    Change sets

    Why it's wrong here

    Change sets preview how proposed template changes would alter resources before execution; they do not compare a deployed stack against its template. Detecting drift requires drift detection, which reports actual versus expected configuration. Change sets suit reviewing planned updates, not auditing existing divergence.

  • ✗

    Rollback triggers

    Why it's wrong here

    Rollback triggers monitor alarms during stack operations and revert changes when thresholds breach; they do not report divergence after deployment. Drift detection identifies where actual resources differ from the template. Rollback triggers suit guarding deployments against failed updates.

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.