Configuration Management and IaC

A production CloudFormation pipeline must let an engineer review whether an update will replace resources before permitting deployment. Which workflow best meets this requirement?

Show the answer

Correct answerD. Create a change set, obtain approval, and execute that change set

AWhy not this: Template validation does not preview resource modifications or replacements against an existing stack.

BWhy not this: Drift detection compares deployed resources with the current template, not with a proposed update.

CWhy not this: Stack policies restrict updates to resources but do not provide a predeployment preview of proposed changes.

DWhy this is right: A change set exposes proposed resource changes for review before the approved change set is executed.

A CloudFormation change set previews proposed resource changes, including replacement information, before execution. Template validation checks template validity but does not show how an update will affect existing resources.