CV0-004 Deployment Practice Question
An organization uses CloudFormation to manage infrastructure across multiple AWS accounts. The team wants to deploy a common set of resources, such as VPCs and security groups, to all accounts in a consistent manner. Which CloudFormation feature 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
✓
StackSets
StackSets allow deploying stacks across multiple accounts and regions. Change sets preview changes, drift detection checks for manual changes, and nested stacks organize templates within a single account.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Change sets
Why it's wrong here
Change sets preview how a stack update will alter existing resources before execution; they cannot replicate a template across separate AWS accounts. They are tempting because they validate modifications safely, and would be correct when reviewing pending updates to a single stack before applying them.
- ✗
Drift detection
Why it's wrong here
Drift detection only reports where deployed stack resources have diverged from their templates; it does not deploy anything across accounts. It would be correct for auditing configuration changes after deployment, whereas the requirement is consistent multi-account provisioning.
- ✓
StackSets
Why this is correct
StackSets extend a single CloudFormation template across multiple AWS accounts and regions from one administrator account, provisioning identical VPCs and security groups consistently. This directly meets the stem's requirement to deploy a common resource set to all accounts without duplicating stacks manually.
- ✗
Nested stacks
Why it's wrong here
Nested stacks reference child templates within one parent stack in a single account, so they cannot distribute resources across multiple AWS accounts. They are tempting because they promote reuse and modularity, and would be correct for composing a large application from reusable template components inside one account.
Go deeper
Related to this question
About these practice questions
One of 834 original CV0-004 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.