exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 362 discussion

A SysOps administrator is creating resources from an AWS. CloudFbrmation template that defines an Auto Scaling group of Amazon EC2 instances. The Auto Scaling group launch template provisions each EC2 instance by using a user data script. The creation of the Auto Scaling group resource is failing because of an error. The wait condition is not receiving the required number of signals.

How should the SysOps administrator resolve this error?

  • A. Run cfn-signal at the completion of the user data script.
  • B. Modify the EC2 instances’ security group to allow outgoing traffic on port 443.
  • C. Reduce the Auto Scaling group's DesiredCapacity value in the CloudFormation template.
  • D. Set the AssociatePublicIpAddress property to True in the Auto Scaling group launch template.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Christina666
Highly Voted 1 year, 9 months ago
Selected Answer: A
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-waitcondition.html For Amazon EC2 and Auto Scaling resources, we recommend that you use a CreationPolicy attribute instead of wait conditions. Add a CreationPolicy attribute to those resources, and use the cfn-signal helper script to signal when an instance creation process has completed successfully.
upvoted 6 times
...
james2033
Most Recent 10 months ago
Selected Answer: A
AWS CloudFormation cfn-signal . Quote 'cfn-signal helper script signals CloudFormation to indicate whether Amazon EC2 instances have been successfully created or updated.' at https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-signal.html
upvoted 1 times
...
[Removed]
1 year, 9 months ago
A. Run cfn-signal at the completion of the user data script.
upvoted 2 times
...
kevino81
1 year, 10 months ago
Selected Answer: A
must be A
upvoted 4 times
jlmadvig
1 year, 10 months ago
By running cfn-signal at the completion of the user data script, the EC2 instance will send a signal to the wait condition, indicating that it has finished its initialization
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