Practice free →
HomeAWS SysOps Associatecloudcomputingsysopsdeployment › A CloudFormation stack fails midway with an `IAM…

A CloudFormation stack fails midway with an `IAM role doesn't have permission` error and leaves the stack in `CREATE_FAILED`. What's the recommended action?

AEdit the CloudFormation template to disable error reporting
BInvestigate the missing permission, fix the deploying IAM role/policy, delete the failed stack, then redeploy
CIgnore the failure and call the app a success
DMove all the resources into Amazon Glacier
Answer & Solution
Correct answer: B. Investigate the missing permission, fix the deploying IAM role/policy, delete the failed stack, then redeploy
Root-cause the permission, fix the role/policy, clean up the failed stack, redeploy. Hiding errors or moving to Glacier defeats the purpose.
Solve this in the app — AWS SysOps Associate practice & 24k+ MCQs →
Related questions