Topic 1 Question 362
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?
Run cfn-signal at the completion of the user data script.
Modify the EC2 instances’ security group to allow outgoing traffic on port 443.
Reduce the Auto Scaling group's DesiredCapacity value in the CloudFormation template.
Set the AssociatePublicIpAddress property to True in the Auto Scaling group launch template.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: 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.
👍 3Christina6662023/07/28 - 正解だと思う選択肢: A
must be A
👍 2kevino812023/06/28 A. Run cfn-signal at the completion of the user data script.
👍 1[Removed]2023/07/09
シャッフルモード