CertKeen

AWS Developer Associate (DVA-C03) · Free practice question 8 of 12

Previewing stack updates with change sets

Before updating a production CloudFormation stack at Holloway Freight, the team wants to see exactly which resources will be added, modified or replaced, and only then decide whether to proceed. What should they use?

  1. A.Enable termination protection, which shows a preview of each update before it is applied
  2. B.Run drift detection, which lists the changes that the new template will make to the stack
  3. C.Create a change set, review the proposed changes including replacements, and then execute it
  4. D.Run the update with rollback disabled so that the changes can be inspected after they are made
Show answer and explanation

Correct answer: C. Create a change set, review the proposed changes including replacements, and then execute it

Why: Change sets show how a template or parameter change will affect running resources, including whether a resource will be replaced, before anything is changed; the team then executes or deletes the change set. Drift detection compares current resources with the last deployed template. Termination protection prevents deletion only. Disabling rollback still applies changes immediately.

More free AWS Developer Associate (DVA-C03) questions