AWS Certified SysOps Administrator – Associate — Question 260

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?

Answer options

Correct answer: A

Explanation

The correct answer is A because running cfn-signal at the end of the user data script ensures that the wait condition receives the necessary signal, allowing the CloudFormation stack to proceed. The other options do not address the issue with the wait condition signals directly and may not resolve the underlying problem.