exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 325 discussion

What is a circular dependency in AWS CloudFormation?

  • A. When Nested Stacks depend on each other.
  • B. When Resources form a Depend On loop.
  • C. When a Template references an earlier version of itself.
  • D. When a Template references a region, which references the original Template.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
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-errors-dependency-error

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
acloudguru
Highly Voted 3 years, 8 months ago
B, "A circular dependency, as the name implies, means that two resources are dependent on each other or that a resource is dependent on itself:"
upvoted 11 times
AnonymousJhb
3 years, 4 months ago
https://aws.amazon.com/blogs/infrastructure-and-automation/handling-circular-dependency-errors-in-aws-cloudformation/
upvoted 1 times
...
acloudguru
3 years, 8 months ago
this is the same question in Devops?
upvoted 1 times
...
...
SkyZeroZx
Most Recent 2 years, 1 month ago
Selected Answer: B
When Resources form a Depend On loop.
upvoted 1 times
...
jelefunk
3 years, 1 month ago
Answer B http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-dependency-error
upvoted 1 times
...
missionml
3 years, 4 months ago
It is B
upvoted 1 times
...
cale
3 years, 4 months ago
It's B
upvoted 1 times
...
Bukowski
3 years, 4 months ago
clearly B
upvoted 1 times
...
cldy
3 years, 7 months ago
B. When Resources form a Depend On loop.
upvoted 1 times
...
m_y_s
3 years, 8 months ago
It seems that A
upvoted 1 times
m_y_s
3 years, 8 months ago
Sorry, I'm wrong. I can't delete my comment
upvoted 1 times
...
...
01037
3 years, 8 months ago
https://aws.amazon.com/cn/blogs/infrastructure-and-automation/handling-circular-dependency-errors-in-aws-cloudformation/
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...