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

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?

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

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
csG13
Highly Voted 2 years, 1 month ago
Selected Answer: C
For starters, I believe it's a very tricky question and unclear. Although A looks plausible, I believe the right answer is C. In the question it says "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 key take away here is "EBS volumes". DiskReadBytes, DiskWriteBytes refer to instance store volumes (see, https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html). Instance store volumes are physically attached disks and not EBS volumes (which are network attached drives). Thus, the metrics we monitor look wrong to me. Also, looks like that the metrics we want to monitor are VolumeReadBytes & VolumeWriteBytes. These metrics are included in the AWS/EBS namespace (so it's definitely not D) by default and the CloudWatch agent is not required to monitor them. Finally, SSM agent is irrelevant in this case.
upvoted 12 times
IndiAWS
10 months, 1 week ago
Thank you for explanation. Thai helps me a lot.
upvoted 1 times
...
AgboolaKun
1 year, 2 months ago
I agree with you totally. Thank you with your thorough explanation!!
upvoted 2 times
...
...
TareDHakim
Most Recent 1 year, 3 months ago
I vote (A) - Installing the Cloudwatch Agent, allows us to collect custom metrics that are not collected by default. Why not D ? Because the "DiskReadBytes" and "DiskWriteBytes" metrics already exist in Cloudwatch and do not require any reconfiguration. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html
upvoted 1 times
...
wh1t4k3r
1 year, 7 months ago
https://aws.amazon.com/pt/blogs/mt/how-to-set-up-amazon-cloudwatch-alarms-to-monitor-io-metrics-of-aws-ebs-volumes-performance-using-metric-math/ C
upvoted 1 times
TareDHakim
1 year, 3 months ago
This is using a metric called "VolumeReadOps" which is different to the Metric in C.
upvoted 1 times
...
...
Gomer
2 years ago
Selected Answer: C
CloudWatch can monitor I/O based on an entire EBS volume without the agent using the VolumeWriteBytes metric. The question is asking about "volume metrics". If the question were asking about alerting for used or free space in a file system on a volume, then you'd need the CloudWatch agent running on the OS to analyze things from the OS perspective, including I/O with the DiskWriteBytes metric. The VolumeWriteBytes and DiskWriteBytes metrics are basically looking for the same thing. It's like looking at a bucket from the inside or the outside to see what size it is. Both work. If you want to see inside of the bucket or what else is inside the bucket, then you, you need CloudWatch agent running on OS.
upvoted 4 times
...
Vivec
2 years, 1 month ago
Selected Answer: C
The CloudWatch alarms are based on the DiskReadBytes metric and the DiskWriteBytes metric, which are not valid metrics for EBS volumes. The correct metrics for monitoring EBS volumes are the VolumeReadBytes metric and the VolumeWriteBytes metric. Therefore, option C is the correct solution. Option A is incorrect because installing and configuring the CloudWatch agent will not fix the issue. The CloudWatch agent only captures EC2 instance metrics, not EBS volume metrics.
upvoted 4 times
Vivec
2 years, 1 month ago
https://aws.amazon.com/premiumsupport/knowledge-center/ebs-cloudwatch-metrics-throughput-iops/
upvoted 1 times
...
Debugs_Bunny
1 year, 4 months ago
wrong, CloudWatch agent does collect EBS volume metrics.
upvoted 1 times
...
...
Domdom120
2 years, 1 month ago
Selected Answer: A
A. The question states "a custom monitoring tool has been installed", therefore the Cloudwatch agent has not been installed and is required to send the metrics.
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