ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

392 / 500

Question 392:

The Trusted Advisor in your AWS account raises the “Low Utilization Amazon EC2 Instances” alerts. You check the EC2 instances and find that some instances should be stopped as they are no longer used. You want to automate this process so that whenever Trusted Advisor discovers a low utilization EC2 instance, the instance will be stopped and you will get an email notification. Which of the following methods is the most appropriate?

Answer options:

A.Use CloudFormation to create an Amazon Cloudwatch Event. Register the SSM Run Command as its target to shut down the low utilization EC2 instances.
B.Configure Amazon Cloudwatch Event and AWS Lambda to monitor the Low Utilization EC2 Instances Trusted Advisor check. Use the Lambda to stop the instances.
C.Create an AWS Config rule to check the Trusted Advisor Low Utilization warning status. Configure the remediation action that automatically stops the instances.
D.Use CloudFormation to set up a Lambda function that gets the Low Utilization EC2 Instances status in Trusted Advisor and stops the instances. Trigger the Lambda function periodically.