A company recently deployed a new auditing system to centralize information about operating system versions, patching, and installed software for Amazon EC2 instances. A solutions architect must ensure all instances provisioned through EC2 Auto Scaling groups successfully send reports to the auditing system as soon as they are launched and terminated. Which solution achieves these goals MOST efficiently?
A) Use a scheduled AWS Lambda function and execute a script remotely on all EC2 instances to send data to the audit system.
B) Use EC2 Auto Scaling lifecycle hooks to execute a custom script to send data to the audit system when instances are launched and terminated.
C) Use an EC2 Auto Scaling launch configuration to execute a custom script through user data to send data to the audit system when instances are launched and terminated.
D) Execute a custom script on the instance operating system to send data to the audit system. Configure the script to be executed by the EC2 Auto Scaling group when the instance starts and is terminated.
Correct Answer:
Verified
Q40: A company is running an ecommerce application
Q41: A company built an application that lets
Q42: A company is looking for a solution
Q43: A company recently implemented hybrid cloud connectivity
Q44: A solutions architect observes that a nightly
Q46: An application runs on Amazon EC2 instances
Q47: A company's web application is running on
Q48: A company has 150 TB of archived
Q49: A Solutions Architect must design a web
Q50: A company's operations team has an existing
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