Topic 1 Question 310
A SysOps administrator manages an AWS account where developers run CPU-intensive tasks on Amazon EC2 instances. The tasks can take several days to finish running and sometimes need to be repeated several times. The developers often forget to terminate the instances when the tasks are complete.
The SysOps administrator needs to implement a solution to monitor EC2 CPU utilization and automatically terminate underutilized instances.
Which solution will meet these requirements?
Configure an Amazon GuardDuty finding that is based on EC2 CPU utilization. Associate an AWS Lambda function with the GuardDuty finding to terminate any instances that are identified as idle.
Configure an Amazon Simple Notification Service (Amazon SNS) topic to receive EC2 utilization messages from the AWS Health Dashboard. Create an AWS Lambda function. Subscribe the Lambda function to the SNS topic. Use the ec2.stop_instances operation to terminate idle instances.
Configure a Low Utilization Amazon EC2 Instances check in AWS Trusted Advisor to publish status changes to an Amazon Simple Notification Service (Amazon SNS) topic. Create an AWS Lambda function. Subscribe the Lambda function to the SNS topic. Use the ec2.stop_instances operation to terminate idle instances.
Configure an Amazon EventBridge rule for the Low Utilization Amazon EC2 Instances check in AWS Trusted Advisor. Select the EC2 Terminatelnstances API call as the target.
ユーザの投票
コメント(5)
- 正解だと思う選択肢: D
I concur with D based on the link. I know there other/better ways to do this without trusted advisor, but they are not listed in the choices. The other choices are essentially convoluted gibberish. https://docs.aws.amazon.com/awssupport/latest/user/cloudwatch-events-ta.html
👍 9Gomer2023/06/12 - 正解だと思う選択肢: D
Voting for D, same result simpler solution
👍 4tts12342023/06/07 Option C , this is answer of chatGPT
👍 1trvtrinh2023/07/20
シャッフルモード