Q58 — AWS SOA-C02 Ch.1
Question 58 of 100 | ← Chapter 1
A SysOps administrator needs to delete an AWS CloudFormation stack that is no longer in use. The CloudFormation stack is in the DELETE_FAILED state. The SysOps administrator has validated the permissions that are required to delete the CloudFormation stack. Which of the following are possible causes of the DELETE_FAILED state? (Choose two.)
- A. The configured timeout to delete the stack was too low for the delete operation to complete.
- B. The stack contains nested stacks that must be manually deleted first.
- C. The stack was deployed with the --disable-rollback option.
- D. There are additional resources associated with a security group in the stack. ✓
- E. There are Amazon S3 buckets that still contain objects in the stack. ✓
Correct Answer: D. There are additional resources associated with a security group in the stack., E. There are Amazon S3 buckets that still contain objects in the stack.
Explanation
AWS CloudFormation堆栈处于DELETE_FAILED状态时,主要与资源依赖或残留有关。AWS文档指出,删除操作失败通常由于资源无法被正确清理。选项D对应安全组仍被其他资源(如EC2实例、网络接口)引用,导致无法删除;选项E涉及S3桶未清空,必须手动移除所有对象才能删除。其他选项中,超时设置(A)、嵌套堆栈(B)和禁用回滚(C)通常不与DELETE_FAILED直接相关。根据AWS最佳实践,残留依赖或存储桶对象是常见原因。