SOA-C02 Question 134
Select 3You are managing an AWS CloudFormation stack for your company's infrastructure. A recent stack update failed, and the stack is now in the 'UPDATE_ROLLBACK_FAILED' state. What steps can you take to troubleshoot and resolve this issue?
- A
Use the AWS Management Console or AWS CLI to execute the 'Continue Update Rollback' operation on the stack.
- B
Identify and fix any manual changes to stack resources that are preventing the rollback from completing, and then retry the rollback.
- C
Delete the stack and re-create it from the original template to bypass the rollback failure.
- D
Check the Events tab in the AWS CloudFormation console to identify the specific resource causing the rollback failure.
- E
Modify the stack's template to remove the failing resources and attempt an update operation.
Show answer and explanation
Correct answers: A, B, D
Explanation
When a CloudFormation stack update fails and enters the 'UPDATE_ROLLBACK_FAILED' state, you need to troubleshoot and resolve the issue to allow the rollback to complete. The 'Continue Update Rollback' operation is specifically designed to address this scenario. Checking the Events tab helps identify the root cause of the rollback failure, and resolving manual changes to resources can eliminate issues preventing the rollback. Deleting the stack or modifying the template during a rollback is not recommended as it can introduce additional risks or complexities.
- A. Correct.
This is correct. The 'Continue Update Rollback' operation allows you to continue the rollback process after resolving the issues causing the failure.
- B. Correct.
This is correct. Manual changes to stack resources outside of CloudFormation can cause rollback failures. Identifying and fixing such issues can allow the rollback to proceed.
- C. Incorrect.
This is incorrect. Deleting and re-creating the stack is not a recommended troubleshooting approach for rollback failures, as it may lead to resource loss or downtime.
- D. Correct.
This is correct. The Events tab provides detailed information about the progress of stack operations, including the specific resource or issue causing the rollback failure.
- E. Incorrect.
This is incorrect. Modifying the stack's template during a rollback failure is not supported and can lead to further complications.