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?
- ARun cfn-signal at the completion of the user data script. (correct answer)
- BModify the EC2 instancesβ security group to allow outgoing traffic on port 443.
- CReduce the Auto Scaling group's DesiredCapacity value in the CloudFormation template.
- DSet the AssociatePublicIpAddress property to True in the Auto Scaling group launch template.
Reveal answer & explanationHide answer
The correct answer is A. Option A: Run cfn-signal at the completion of the user data script.