Troubleshooting and Optimization

An AWS CloudFormation deployment shows CREATE_FAILED for an IAM role with an explicit denial of iam:CreateRole and for an S3 bucket whose name already exists. Other resources report creation canceled, followed by rollback events. Which actions address the failures identified in these events? (Choose two.)

Choose 2 answers

Show the answer

Correct answersA. Choose an available name for the S3 bucket being created.B. Resolve the effective denial affecting the CloudFormation execution role.

AWhy this is right: A new general purpose S3 bucket requires an available name within its AWS partition.

BWhy this is right: CloudFormation cannot create the IAM role until the effective authorization denial is resolved.

CWhy not this: Creation was canceled because the deployment failed; these events do not establish a resource timeout.

DWhy not this: Disabling rollback preserves failed deployment resources but does not resolve either creation failure.

The authorization denial and unavailable bucket name are independent creation failures that must both be resolved. Creation-canceled and rollback events are consequences of the failed deployment, not evidence that resource timeouts or rollback caused it.