AWS Certified DevOps Engineer – Professional — Question 173
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 AWSCIoudFormationFullAccess 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. By issuing a ContinueUpdateRollback command, the engineer can prompt AWS CloudFormation to proceed with the rollback process. Additionally, manually adjusting the resources ensures that they are in the expected state, allowing the rollback to complete. Options A, B, and E do not directly resolve the UPDATE_ROLLBACK_FAILED state.