AWS Certified SysOps Administrator – Associate — Question 175
A SysOps administrator needs to create alerts that are based on the read and write metrics of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to an Amazon EC2 instance. The SysOps administrator creates and enables Amazon CloudWatch alarms for the DiskReadBytes metric and the DiskWriteBytes metric.
A custom monitoring tool that is installed on the EC2 instance with the same alarm configuration indicates that the volume metrics have exceeded the threshold. However, the CloudWatch alarms were not in ALARM state.
Which action will ensure that the CloudWatch alarms function correctly?
Answer options
- A. Install and configure the CloudWatch agent on the EC2 instance to capture the desired metrics.
- B. Install and configure AWS Systems Manager Agent on the EC2 instance to capture the desired metrics.
- C. Reconfigure the CloudWatch alarms to use the VolumeReadBytes metric and the VolumeWriteBytes metric for the EBS volumes.
- D. Reconfigure the CloudWatch alarms to use the VolumeReadBytes metric and the VolumeWriteBytes metric for the EC2 instance.
Correct answer: C
Explanation
The correct answer is C because the DiskReadBytes and DiskWriteBytes metrics are not the appropriate metrics for EBS volumes; instead, VolumeReadBytes and VolumeWriteBytes should be used. Options A and B involve installing agents that would not directly resolve the issue with the alarm metrics. Option D incorrectly suggests using EC2 instance metrics instead of EBS volume metrics.