When an Auto Scaling group is running in Amazon Elastic Compute Cloud (EC2) , your application rapidly scales up and down in response to load within a 10-minute window; however, after the load peaks, you begin to see problems in your configuration management system where previously terminated Amazon EC2 resources are still showing as active. What would be a reliable and efficient way to handle the cleanup of Amazon EC2 resources within your configuration management system? (Choose two.)
A) Write a script that is run by a daily cron job on an Amazon EC2 instance and that executes API Describe calls of the EC2 Auto Scaling group and removes terminated instances from the configuration management system.
B) Configure an Amazon Simple Queue Service (SQS) queue for Auto Scaling actions that has a script that listens for new messages and removes terminated instances from the configuration management system.
C) Use your existing configuration management system to control the launching and bootstrapping of instances to reduce the number of moving parts in the automation.
D) Write a small script that is run during Amazon EC2 instance shutdown to de-register the resource from the configuration management system.
E) Use Amazon Simple Workflow Service (SWF) to maintain an Amazon DynamoDB database that contains a whitelist of instances that have been previously launched, and allow the Amazon SWF worker to remove information from the configuration management system.
Correct Answer:
Verified
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,
Q271: You have an application running on Amazon
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
Q277: Your mobile application includes a photo-sharing service
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