ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 738 - SAP-C01 discussion

Report
Export

What is a circular dependency in AWS CloudFormation?

A.
When Nested Stacks depend on each other.
Answers
A.
When Nested Stacks depend on each other.
B.
When Resources form a Depend On loop.
Answers
B.
When Resources form a Depend On loop.
C.
When a Template references an earlier version of itself.
Answers
C.
When a Template references an earlier version of itself.
D.
When a Template references a region, which references the original Template.
Answers
D.
When a Template references a region, which references the original Template.
Suggested answer: B

Explanation:

To resolve a dependency error, add a Depends On attribute to resources that depend on other resources in your template. In some cases, you must explicitly declare dependencies so that AWS CloudFormation can create or delete resources in the correct order. For example, if you create an Elastic IP and a VPC with an Internet gateway in the same stack, the Elastic IP must depend on the Internet gateway attachment. For additional information, see Depends On Attribute.

Reference: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errorsdependency- error

asked 16/09/2024
Juan Bueno
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first