What will Cloudformation do in this scenario?

A user has created a Cloudformation stack. The stack creates AWS services, such as EC2 instances, ELB,
AutoScaling, and RDS. While creating the stack it created EC2, ELB and AutoScaling but failed to create RDS.
What will Cloudformation do in this scenario?

A user has created a Cloudformation stack. The stack creates AWS services, such as EC2 instances, ELB,
AutoScaling, and RDS. While creating the stack it created EC2, ELB and AutoScaling but failed to create RDS.
What will Cloudformation do in this scenario?

A.
Cloudformation can never throw an error after launching a few services since it verifies all the steps
before launching

B.
It will warn the user about the error and ask the user to manually create RDS

C.
Rollback all the changes and terminate all the created services

D.
It will wait for the user’s input about the error and correct the mistake after the input

Explanation:

AWS Cloudformation is an application management tool which provides application modelling, deployment,
configuration, management and related activities. The AWS Cloudformation stack is a collection of AWS
resources which are created and managed as a single unit when AWS CloudFormation instantiates a template.
If any of the services fails to launch, Cloudformation will rollback all the changes and terminate or delete all
the created services.



Leave a Reply 0

Your email address will not be published. Required fields are marked *


Seth

Seth

C is correct.

viraj soni

viraj soni

it will rollback as per AWS documentation