You are building an AWS CloudFormation template for a multi-tier web application. The user data of your Linux web server resource contains a complex script that can take a long time to run. Which techniques could you use to ensure that these servers are fully configured and running before attaching them to the load balancer? (Choose two.)
A) Launch your Linux servers from a nested stack that is called from within the load balancer resource in your AWS CloudFormation template.
B) Add an AWS CloudFormation Wait Condition that depends on the web server resource. When the UserData script finishes on the web servers, use curl to send a signal the Wait Condition at http://169.254.169.254/waithandle/.
C) Add an AWS CloudFormation wait Condition that depends on the web server resource. When the UserData script finishes on the web servers, use curl to signal to the Wait Condition pre-signed URL that they are ready.
D) In your AWS CloudFormation template, position the load balancer resource JSON block directly below your Linux server resource.
E) Add an AWS CloudFormation Wait Condition that depends on the web server resource. When the UserData script finishes on the web servers, use the command "cfn-signal" to signal that they are ready.
Correct Answer:
Verified
Q516: A company is deploying a new application
Q517: A company's application is running on Amazon
Q518: A company manages an application that stores
Q519: A company maintains a stateless web application
Q520: Which of the following Dockerfile commands cannot
Q522: If you want CloudFormation stack status updates
Q523: Which services can be used as optional
Q524: Your company develops a variety of web
Q525: A company wants to migrate a legacy
Q526: A user is creating a new EBS
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents