SOA-C02 Exam QuestionsBrowse all questions from this exam

SOA-C02 Exam - Question 226


A SysOps administrator wants to monitor the free disk space that is available on a set of Amazon EC2 instances that have Amazon Elastic Block Store (Amazon EBS) volumes attached. The SysOps administrator wants to receive a notification when the used disk space of the EBS volumes exceeds a threshold value, but only when the DiskReadOps metric also exceeds a threshold value. The SysOps administrator has set up an Amazon Simple Notification Service (Amazon SNS) topic.

How can the SysOps administrator receive notification only when both metrics exceed their threshold values?

Show Answer
Correct Answer: A

To receive a notification only when both the free disk space and DiskReadOps metrics exceed their threshold values, the SysOps administrator should install the Amazon CloudWatch agent on the EC2 instances to monitor disk space usage. Then, they need to create individual metric alarms for both the disk space and DiskReadOps metrics. By creating a composite alarm that includes these two metric alarms, the administrator can ensure that the notification to the SNS topic is sent only when both conditions are met. This approach allows for precise monitoring and alerting based on multiple metrics.

Discussion

7 comments
Sign in to comment
VivecOption: A
Mar 10, 2023

To receive a notification only when both metrics exceed their threshold values, the SysOps administrator should follow these steps: Install the Amazon CloudWatch agent on the EC2 instances. Configure detailed monitoring for the EC2 instances. Create a metric alarm for the DiskReadOps metric and set a threshold value for it. Create a metric alarm for the free disk space and set a threshold value for it. Create a composite alarm that includes the two metric alarms, and set a threshold value for it. Configure the composite alarm to publish a notification to the SNS topic when it is triggered. Therefore, option A is the correct answer.

Gil80Option: A
Feb 8, 2023

As far as reading the documentation, I believe A is the right answer. D seems close but I don't understand what's the meaning of detailed monitoring vs. what answer A offers.

grka25
Feb 8, 2023

This should be A. You have to install cloudwatch agent as you don't have disk usage metrics by default. Ref https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html

jiparkOption: A
Aug 17, 2023

English is hard. EBS volume exceed + DiskReadOps exceed = composite alarm

braveheart22
Mar 4, 2023

A is the right answer https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html

Agil09Option: A
Mar 15, 2023

A is the right answer

eesa
Jun 30, 2024

A. Install the Amazon CloudWatch agent on the EC2 instances. Create a metric alarm for the disk space and a metric alarm for the DiskReadOps metric. Create a composite alarm that includes the two metric alarms to publish a notification to the SNS topic. Here's why: Install the Amazon CloudWatch agent: The CloudWatch agent collects detailed metrics such as disk space utilization from the EC2 instances. Create individual metric alarms: Create one alarm for the disk space metric and another for the DiskReadOps metric. Create a composite alarm: Combine the two individual metric alarms into a composite alarm. The composite alarm will trigger only when both of the individual alarms are in the ALARM state. Publish to SNS topic: Configure the composite alarm to publish a notification to the SNS topic when it goes into the ALARM state. This approach ensures that you receive notifications only when both specified metrics exceed their respective threshold values, aligning with your requirement.