Amazon
SOA-C02 · Question #296
A SysOps administrator created an AWS Cloud Formation template that provisions Amazon EC2 instances, an Elastic Load Balancer (ELB), and an Amazon RDS DB instance. During stack creation, the…
The correct answer is B. CloudFormation will roll back the stack but will not delete the stack. It will delete all the resources in the stack but stack deletion will be manual.
Submitted by brentm· Mar 30, 2026Deployment, Provisioning, and Automation
Question
A SysOps administrator created an AWS Cloud Formation template that provisions Amazon EC2 instances, an Elastic Load Balancer (ELB), and an Amazon RDS DB instance. During stack creation, the creation of the EC2 instances and the creation of the ELB are successful. However, the creation of the DB instance fails. What is the default behavior of CloudFormation in this scenario?
Options
- ACloudFormation will roll back the stack and delete the stack.
- BCloudFormation will roll back the stack but will not delete the stack.
- CCloudFormation will prompt the user to roll back the stack or continue.
- DCloudFormation will successfully complete the stack but will report a failed status for the DB
How the community answered
(46 responses)- A4% (2)
- B70% (32)
- C9% (4)
- D17% (8)
Explanation
It will delete all the resources in the stack but stack deletion will be manual.
Topics
#CloudFormation rollback#stack creation failure#default rollback behavior#stack lifecycle
Community Discussion
No community discussion yet for this question.