exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 310 discussion

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?

  • A. 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.
  • B. 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.
  • C. 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.
  • D. 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.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Gomer
Highly Voted 1 year, 5 months ago
Selected Answer: 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
upvoted 12 times
...
tts1234
Highly Voted 1 year, 5 months ago
Selected Answer: D
Voting for D, same result simpler solution
upvoted 5 times
...
March2023
Most Recent 8 months, 1 week ago
Selected Answer: D
C is not the answer. the ec2.stop_instances API call does not terminate instances. Answer is D
upvoted 2 times
...
r2c3po
10 months, 2 weeks ago
Selected Answer: C
Options A, B, and D do not utilize AWS Trusted Advisor and introduce additional complexities that might not be necessary for this specific requirement. Trusted Advisor provides specific checks and recommendations for cost optimization, making it a suitable tool for identifying underutilized instances.
upvoted 1 times
...
TwinSpark
1 year, 1 month ago
Selected Answer: D
A. No, Guarduty is more focused on security monitoring and thread detection B. No, Healthcheck doesn't have CPU utilization data C. Trusted adviso desn't provide automated check on CPU D. it is correct. Another solution coul be to trigger with an Event Bridge Rule from a CW Alarm to trigger an SSM Document that run a script that can chec if CPU is still under the threshold and in case delete the EC2 (could be even 2 script)
upvoted 3 times
...
trvtrinh
1 year, 3 months ago
Option C , this is answer of chatGPT
upvoted 1 times
trvtrinh
1 year, 3 months ago
sorry, C is incorrect D is solution
upvoted 1 times
TwinSpark
1 year, 1 month ago
sorry reason for why C is wrong is incorrect, C is wrong because the ec2.stopinstance will stop the istance but not terminated it
upvoted 3 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago