You have an application running on Amazon EC2 in an Auto Scaling group. Instances are being bootstrapped dynamically, and the bootstrapping takes over 15 minutes to complete. You find that instances are reported by Auto Scaling as being In Service before bootstrapping has completed. You are receiving application alarms related to new instances before they have completed bootstrapping, which is causing confusion. You find the cause: your application monitoring tool is polling the Auto Scaling Service API for instances that are In Service, and creating alarms for new previously unknown instances. Which of the following will ensure that new instances are not added to your application monitoring tool before bootstrapping is completed?
A) Create an Auto Scaling group lifecycle hook to hold the instance in a pending: wait state until your bootstrapping is complete. Once bootstrapping is complete, notify Auto Scaling to complete the lifecycle hook and move the instance into a pending: complete state.
B) Use the default Amazon CloudWatch application metrics to monitor your application's health. Configure an Amazon SNS topic to send these CloudWatch alarms to the correct recipients.
C) Tag all instances on launch to identify that they are in a pending state. Change your application monitoring tool to look for this tag before adding new instances, and the use the Amazon API to set the instance state to 'pending' until bootstrapping is complete.
D) Increase the desired number of instances in your Auto Scaling group configuration to reduce the time it takes to bootstrap future instances.
Correct Answer:
Verified
Q266: During metric analysis, your team has determined
Q267: You have been given a business requirement
Q268: As part of your continuous deployment process,
Q269: Your company releases new features with high
Q270: After reviewing the last quarter's monthly bills,
Q272: When an Auto Scaling group is running
Q273: You have an Auto Sealing group of
Q274: Your company has multiple applications running on
Q275: The project you are working on currently
Q276: Your current log analysis application takes more
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