ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 44 - DVA-C01 discussion

Report
Export


What happens, by default, when one of the resources in a CloudFormation stack cannot be created?

A.
Previously-created resources are kept but the stack creation terminates.
Answers
A.
Previously-created resources are kept but the stack creation terminates.
B.
Previously-created resources are deleted and the stack creation terminates.
Answers
B.
Previously-created resources are deleted and the stack creation terminates.
C.
The stack creation continues, and the final results indicate which steps failed.
Answers
C.
The stack creation continues, and the final results indicate which steps failed.
D.
CloudFormation templates are parsed in advance so stack creation is guaranteed to succeed.
Answers
D.
CloudFormation templates are parsed in advance so stack creation is guaranteed to succeed.
Suggested answer: B

Explanation:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.htmlAWS CloudFormation ensures all stack resources are created or deleted as appropriate. Because AWSCloudFormation treats the stack resources as a single unit, they must all be created or deleted successfully for the stack to be created or deleted. If a resource cannot be created, AWSCloudFormation rolls the stack back and automatically deletes any resources that were created. If are source cannot be deleted, any remaining resources are retained until the stack can be successfully deleted.

asked 16/09/2024
Daniel Hernandez Villar
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first