exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 547 discussion

Exam question from Amazon's AWS-SysOps
Question #: 547
Topic #: 1
[All AWS-SysOps Questions]

While creating the wait condition resource in AWS CloudFormation, a SysOps Administrator receives the error `received 0 signals out of the 1 expected from the
EC2 instance`.
What steps should be taken to troubleshoot this issue? (Choose two.)

  • A. Confirm from the cfn logs that the cfn-signal command was successfully run on the instance.
  • B. Try to re-create the stack with a different IAM user.
  • C. Check that the instance has a route to the Internet through a NAT device.
  • D. Update the AWS CloudFormation stack service role to have iam:PassRole permission.
  • E. Delete the existing stack and attempt to create a new once.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
waterzhong
11 months, 1 week ago
AC.. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-dependency-error:~:text=your%20stack%20unrecoverable.-,Wait%20condition%20didn%27t%20receive%20the%20required%20number%20of%20signals%20from%20an,NAT%20device%2C%20see%20NAT%20in%20the%20Amazon%20VPC%20User%20Guide.,-Resource%20removed%20from
upvoted 1 times
...
Finger41
11 months, 2 weeks ago
Selected Answer: AC
A & C - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-dependency-error
upvoted 1 times
...
Vishya
1 year ago
Selected Answer: AC
Due to lack of internet connection.
upvoted 1 times
...
ablazleon
1 year, 2 months ago
Selected Answer: AC
At first, I agreed with wshyang, who said D might be correct. But then (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-servicerole.html) I understood that is not the cloudformation stack the one that should have the IAM:PassRole but the user that give the roles to the Cloudformation stack, according to the docu. Then I agreed with the other ones, to solve the situation: A or C
upvoted 1 times
...
FHU
1 year, 3 months ago
Difficult question, but it is A and C according to this page: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-dependency-error
upvoted 1 times
...
yfwang
1 year, 5 months ago
Selected Answer: AC
A and C.
upvoted 2 times
...
narayanan010
1 year, 6 months ago
https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-failed-signal/
upvoted 1 times
...
narayanan010
1 year, 6 months ago
"Last updated: 2020-03-05 In AWS CloudFormation, I receive the following error message: "Failed to receive X resource signal(s) within the specified duration." How can I resolve this error? Short Description You get this error when an Amazon Elastic Compute Cloud (Amazon EC2) instance, Auto Scaling group, or a WaitCondition doesn't receive success signals from one or more instances in the time period specified by the CreationPolicy attribute. This error can occur in one of the following scenarios: Scenario 1: The cfn-signal script isn't installed on one or more instances of the AWS CloudFormation stack. Scenario 2: There are syntax errors or incorrect values in the AWS CloudFormation template. Scenario 3: The value of the Timeout property for the CreationPolicy attribute is too low. Scenario 4: The cfn-signal isn't sent from the Amazon EC2 instance. Note: The troubleshooting scenarios for this error apply only to AWS CloudFormation stacks created with Linux instances. The scenarios don't apply to Windows instances."
upvoted 1 times
...
winmacman
1 year, 6 months ago
A and C. See the exact description of CloudFormation dependency error section in https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-dependency-error
upvoted 1 times
...
HaroldFinch
1 year, 7 months ago
A and C are correct. You can refer to section "Wait Condition Didn't Receive the Required Number of Signals from an Amazon EC2 Instance" in below link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html
upvoted 4 times
...
pleasespammelater
1 year, 7 months ago
An Internet route used to be required. This changed in Sept. 2018: https://aws.amazon.com/blogs/mt/signaling-aws-cloudformation-waitconditions-using-aws-privatelink/
upvoted 1 times
...
wshyang
1 year, 7 months ago
I don't think C is right, D might be correct. If C is indeed correct then cloudformation won't be able to provision any private subnet ASG instances ever, which is quite a lousy bug.
upvoted 1 times
...
Moon
1 year, 7 months ago
A & C... others are not correct/relevant! Internet is required to talk to cloudformation.
upvoted 2 times
...
AbhishekGupta
1 year, 7 months ago
Correct answer is A & C A - obvious C - If instance don't have connectivity to internet then instance wont be able to talk to Cloud foramation (tricky to understand)
upvoted 4 times
karmaah
1 year, 7 months ago
Good catch. (c)
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago