You are attempting to delete an AWS CloudFormation stack but its status is DELETE_FAILED. You have verified you have the required permissions. Which of the following could cause the DELETE_FAILED status? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: A security group in the stack has other resources still associated with it., An Amazon S3 bucket defined in the stack still contains objects..
Why this is the answer
A DELETEFAILED status in CloudFormation often indicates that a resource within the stack cannot be deleted because it has dependencies outside the stack's direct control or has content that prevents automatic deletion. A security group in the stack having other resources still associated with it (e.g., an EC2 instance not managed by the same stack) will prevent the security group from being deleted, causing the stack deletion to fail. Similarly, an Amazon S3 bucket defined in the stack that still contains objects cannot be deleted by CloudFormation unless the deletion policy is set to Retain or Delete with an empty bucket. The timeout for stack deletion is not a configurable option that would cause DELETEFAILED. Nested stacks are typically deleted automatically with the parent stack unless specific deletion policies are applied. The --disable-rollback option applies to stack creation failures, not deletion failures.
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