A company's website went down for several hours. The root cause was a full disk on one of the company's Amazon EC2 instances. Which steps should the SysOps Administrator take to prevent this from happening in the future?
A.
Configure Amazon CloudWatch Events to filter and forward AWS Health events for disk space utilization to an Amazon SNS topic to notify the Administrator.
B.
Create an AWS Lambda function to describe the volume status for each EC2 instance. Post a notification to an Amazon SNS topic when a volume status is impaired.
C.
Enable detailed monitoring for the EC2 instances. Create an Amazon CloudWatch alarm to notify the Administrator when disk space is running low.
D.
Use the Amazon CloudWatch agent on the EC2 instances to collect disk metrics. Create a CloudWatch alarm to notify the Administrator when disk space is running low.
D. Use the Amazon CloudWatch agent on the EC2 instances to collect disk metrics. Create a CloudWatch alarm to notify the Administrator when disk space is running low.
Option D is the most appropriate choice to prevent a disk space issue from causing website downtime in the future.
By using the Amazon CloudWatch agent on the EC2 instances, you can collect detailed disk metrics, including disk space utilization. The CloudWatch agent enables you to monitor both the root volume and any additional volumes attached to the EC2 instance.
D. Use the Amazon CloudWatch agent on the EC2 instances to collect disk metrics. Create a CloudWatch alarm to notify the Administrator when disk space is running low.
Seem correct
D. Use the Amazon CloudWatch agent on the EC2 instances to collect disk metrics. Create a CloudWatch alarm to notify the Administrator when disk space is running low.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/metrics-collected-by-CloudWatch-agent.html
Metric Description
disk_free Free space on the disks.
Unit: Bytes
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.
nicat
Highly Voted 2 years, 9 months agoalbert_kuo
Most Recent 11 months, 2 weeks agoRicardoD
2 years, 8 months agoabhishek_m_86
2 years, 8 months agojackdryan
2 years, 9 months agoMFDOOM
2 years, 9 months agoCL
2 years, 9 months agokopper2019
2 years, 9 months ago