Question #895
A development team is preparing to modify an existing AWS CloudFormation stack to adjust resource configurations. They want to preview the changes to understand how the update will affect their current resources. Which method should they use to assess the impact before applying the updates?
Review the change sets.
Review the stack policies.
Review the Metadata section.
Review the Resources section.
Explanation
Answer A is correct because AWS CloudFormation change sets are specifically designed to preview the impact of stack updates. They show what resources will be added, modified, or deleted without executing the changes, enabling teams to assess risks.
Why other options are incorrect:
- B. Stack policies control update actions (e.g., preventing accidental resource deletion) but do not provide a preview.
- C. Metadata contains template descriptions for tools or UI hints, unrelated to change impact.
- D. Resources section defines resources in the template but does not compare current vs. proposed states.
Key Points:
- Use change sets to safely review stack updates.
- Change sets avoid unintended disruptions by showing a diff of changes.
- Stack policies protect resources but do not preview changes.
Answer
The correct answer is: A