
Explanation:
CloudFormation wait conditions require instances to signal their readiness using the cfn-signal helper script. Including this command at the end of the user data script ensures that CloudFormation receives the success signal once provisioning is complete, allowing the stack creation to proceed.
Ultimate access to all questions.
Question 12.
A SysOps administrator is creating resources from an AWS CloudFormation 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 cf-n-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.
No comments yet.