How to Preview Changes Before Updating a CloudFormation Stack
A company is using AWS CloudFormation templates to deploy AWS resources. The company needs to update one of its AWS CloudFormation stacks. What can the company do to find out how the changes will impact the resources that are running?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
Change sets are the key CloudFormation feature for understanding the impact of stack updates, and the exam tests your ability to distinguish them from unrelated stack settings like policies, metadata, and resource definitions.
To safely update AWS CloudFormation resources, you must preview the impact on existing infrastructure. The correct approach is to use change sets, which provide a summary of proposed changes before you execute them.
Choosing 'Stack policies' because it sounds like a guard mechanism. Stack policies only protect resources from accidental updates, not provide a preview of planned changes.
Community Discussion (3 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
AWS CloudFormation change sets allow you to submit a stack update and then review the list of changes before actually applying them. As one community comment notes, 'Change sets provide a summary of proposed changes to your stack that allows you to see how those changes might impact existing resources before implementing them.' This preview is exactly what the question asks for.
Why the Other Options Are Wrong
- Stack policies are JSON documents that define which update actions are permitted or denied for specific resources. They do not show a preview of changes.
- Metadata section in a CloudFormation template is used to provide additional, non-functional information about the template or resources; it does not affect how updates impact running resources.
- Resources section simply declares the resources to be created or updated; it is the template itself, not a tool for assessing impact of changes.
Community Comment Notes
All voters selected A, and the comments cite the official AWS documentation on change sets. Comment [1] provides the direct link to AWS docs, and comment [2] reinforces the explanation. There is no dissenting opinion in the community discussion.
Official Reference
Exam Strategy
When a question asks about previewing or assessing the impact of a CloudFormation stack update, immediately think 'change sets' — not stack policies, metadata, or resource lists. Remember that change sets are the only option here that provides a pre-execution summary of changes.
Related Analysis
Practice All DVA-C02 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DVA-C02 Practice Test →