AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 101
A company updated the AWS CloudFormation template for a critical business application. The stack update process failed due to an error in the updated template, and AWS CloudFormation automatically began the stack rollback process. Later, a DevOps engineer discovered that the application was still unavailable and that the stack was in the UPDATE_ROLLBACK_FAILED state.
Which combination of actions should the DevOps engineer perform so that the stack rollback can complete successfully? (Choose two.)
Answer options
- A. Attach the AWSCloudFormationFullAccess IAM policy to the AWS CloudFormation role.
- B. Automatically recover the stack resources by using AWS CloudFormation drift detection.
- C. Issue a ContinueUpdateRollback command from the AWS CloudFormation console or the AWS CLI.
- D. Manually adjust the resources to match the expectations of the stack.
- E. Update the existing AWS CloudFormation stack by using the original template.
Correct answer: C, D
Explanation
The correct actions are C and D. Issuing a ContinueUpdateRollback command allows the rollback process to proceed, while manually adjusting the resources ensures they meet the stack's requirements. Options A and B do not directly address the rollback issue, and option E would not resolve the UPDATE_ROLLBACK_FAILED state.