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 329 discussion

A company has multiple Amazon EC2 instances that run a resource-intensive application in a development environment. A SysOps administrator is implementing a solution to stop these EC2 instances when they are not in use.

Which solution will meet this requirement?

  • A. Assess AWS CloudTrail logs to verify that there is no EC2 API activity. Invoke an AWS Lambda function to stop the EC2 instances.
  • B. Create an Amazon CloudWatch alarm to stop the EC2 instances when the average CPU utilization is lower than 5% for a 30-minute period.
  • C. Create an Amazon CloudWatch metric to stop the EC2 instances when the VolumeReadBytes metric is lower than 500 for a 30-minute period.
  • D. Use AWS Config to invoke an AWS Lambda function to stop the EC2 instances based on resource configuration changes.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Pete987
Highly Voted 10 months ago
Selected Answer: B
Option B, creating an Amazon CloudWatch alarm based on CPU utilization, is a suitable solution for stopping EC2 instances when they are not in use. Here's how it works: Create a CloudWatch alarm: Set up a CloudWatch alarm with the desired configuration, specifying the metric to monitor (CPU utilization) and the threshold to trigger the alarm (average CPU utilization lower than 5% for a 30-minute period). Define the action: Configure the alarm to stop the EC2 instances when the threshold is breached. This can be done by specifying an Amazon EC2 action to stop the instances associated with the alarm. By implementing this solution, the EC2 instances will be automatically stopped when their average CPU utilization falls below 5% for a continuous 30-minute period. This indicates that the instances are not being actively utilized and can be safely stopped to save costs and resources.
upvoted 7 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