A SysOps Administrator is managing an infrastructure stack deployed via AWS CloudFormation. The stack contains an Amazon S3 bucket, an Amazon EC2 instance, and an IAM role, and is configured to use a specific IAM service role for stack operations. During a recent update, the deployment failed and the stack is now in the UPDATE_ROLLBACK_FAILED state. Which TWO actions should the administrator take to troubleshoot and successfully complete the rollback? (Select TWO.)
- Verify that the CloudFormation service role has the required permissions to modify or delete the resources that failed during the rollback process.Answer
- Execute the Continue Update Rollback operation and choose to skip the specific resources that are preventing the rollback from succeeding.Answer
- CRun a drift detection scan on the stack to automatically apply the template's configuration back to the out-of-sync physical resources.
- DUpdate the Administrator's IAM user policy to grant the sts:AssumeRole permission on the CloudFormation service role to authorize the rollback execution.
- EChange the stack's DisableRollback parameter to true to force CloudFormation to ignore the failures and mark the stack update as complete.
Answer
Verify that the CloudFormation service role has the required permissions to modify or delete the resources that failed, and execute the Continue Update Rollback operation to skip the specific resources preventing the rollback from succeeding.
To resolve a stack in the UPDATE_ROLLBACK_FAILED state, the administrator must either fix the root cause of the rollback failure or bypass the failing resources. Verifying that the CloudFormation service role has the correct permissions addresses authorization failures. If a resource cannot be rolled back because it was deleted or modified out-of-band, the administrator must run the Continue Update Rollback operation and choose to skip the failing resources, allowing the rest of the stack to reach a stable state.
Step-by-Step Solution
Key Concept
AWS CloudFormation Update Rollback Failure Remediation