exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 183 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 183
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A DevOps engineer has created an AWS CloudFormation template. The template includes the following snippet:



When the template is launched, CloudFormation performs a rollback and reports the following error message: Received 0 SUCCESS signal(s) cut of 1.

Which combination of steps should the DevOps engineer take to resolve this error? (Choose two.)

  • A. Update the UserData attribute to use the cfn-signal helper script.
  • B. Update the AutoScalingGroup resource with a DependsOn LaunchConfig.
  • C. Update the LaunchConfig resource type to AWS::EC2::LaunchTemplate.
  • D. Increase the CreationPolicy ResourceSignal Timeout.
  • E. Remove the CreationPolicy attribute. Create new WaitHandle and WaitCondition resources.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
CloudFloater
Highly Voted 2 years, 2 months ago
Selected Answer: AD
By increasing the Timeout, AWS CloudFormation will wait longer for the ResourceSignal, giving the resource more time to become available and signaling that it is ready. This can help prevent the stack creation from failing due to a premature timeout. PT5M -> 5 minutes also add, cfn-signal with exit code etc. in userdata /opt/aws/bin/cfn-signal -e $? --stack <stack name> --resource <resource name>
upvoted 5 times
...
bgc1
Most Recent 2 years, 2 months ago
AD sounds right
upvoted 1 times
...
andy_sds
2 years, 2 months ago
Selected Answer: AD
https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-failed-signal/?nc1=h_ls
upvoted 2 times
...
saeidp
2 years, 2 months ago
Selected Answer: AD
https://aws.amazon.com/blogs/devops/use-a-creationpolicy-to-wait-for-on-instance-configurations/
upvoted 1 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