A CloudFormation stack update failed with the error: "both the deployment and the CloudFormation stack rollback failed. The deployment failed because the following resource(s) failed to update: [AutoScalingGroup]." The stack is now in UPDATE_ROLLBACK_FAILED. Which action will resolve the problem?
Choose an answer
Tap an option to check your answer.
Correct answer: Grant the IAM role the missing permissions required to update the stack. Then run aws cloudformation continue-update-rollback..
Why this is the answer
The stack is in UPDATEROLLBACKFAILED, meaning the rollback itself failed, preventing further operations. To recover, you must first address the underlying issue that caused the update to fail. The error message implies a resource update failure, often due to insufficient permissions for the CloudFormation service role to modify resources like an Auto Scaling Group. After fixing the permissions, aws cloudformation continue-update-rollback is the correct command to resume the interrupted rollback process, bringing the stack to a stable state (either its previous state or a fully rolled-back state). Incorrect options: Adjusting subnet mappings is speculative and doesn't address the core permission issue or the UPDATEROLLBACKFAILED state. update-stack-set is for stack sets, not individual stacks. Requesting a quota increase is speculative and cancel-update-stack is not a valid command for a stack in UPDATEROLLBACKFAILED. Manually deleting resources outside CloudFormation can lead to state drift and rollback-stack is not a valid command.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed