A SysOps Administrator is managing an AWS account where Developers are authorized to launch Amazon EC2 instances to test new code. To limit costs, the Administrator must ensure that the EC2 instances in the account are terminated 24 hours after launch. How should the Administrator meet these requirements?
A) Create an Amazon CloudWatch alarm based on the CPUUtilization metric. When the metric is 0% for 24 hours, trigger an action to terminate the EC2 instance when the alarm is triggered.
B) Create an AWS Lambda function to check all EC2 instances and terminate instances running more than 24 hours. Trigger the function with an Amazon CloudWatch Events event every 15 minutes.
C) Add an action to AWS Trusted Advisor to turn off EC2 instances based on the Low Utilization Amazon EC2 Instances check, terminating instances identified by Trusted Advisor as running for more than 24 hours.
D) Install the unified Amazon CloudWatch agent on every EC2 instance. Configure the agent to terminate instances after they have been running for 24 hours.
Correct Answer:
Verified
Q664: A company has centralized all its logs
Q665: A web application runs on Amazon EC2
Q666: A SysOps Administrator has been notified that
Q667: A company hosts its website on Amazon
Q668: A SysOps Administrator manages a website running
Q670: A SysOps Administrator must secure AWS CloudTrail
Q671: A SysOps Administrator noticed that the cache
Q672: A company has created an online retail
Q673: An application running on Amazon EC2 instances
Q674: An organization stores sensitive customer in S3
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