A company wants to collect metrics such as Amazon EC2 CPU utilization, visualize them on a dashboard, and automatically trigger alarms with notifications or actions when a threshold is exceeded. Which AWS service BEST meets these requirements?

1 / 1
Select an answer
CorrectD

Explanation

A question asking to select the service for metric monitoring and alarms.

  • 1collect metricsGathering resource indicators = CloudWatch
  • 2trigger alarms when a threshold is exceededCloudWatch alarms for notifications and automated actions
  • 3visualize them on a dashboardOperational visibility through dashboards
AIncorrect

AWS CloudTrail

CloudTrail is an audit service that records API operation history.

It does not collect performance metrics and trigger alarms when thresholds are exceeded, so this is incorrect.

BIncorrect

AWS Config

AWS Config is a service that records resource configuration changes and continuously evaluates compliance against rules.

Its scope is tracking configuration changes, not collecting performance metrics such as CPU utilization and triggering alarms. That is the role of CloudWatch. This is incorrect.

CIncorrect

AWS X-Ray

AWS X-Ray is a distributed tracing service that tracks how requests flow across services.

Its role is to analyze the path and latency of individual requests, not to collect metrics such as CPU utilization, visualize them on a dashboard, and trigger alarms. That is the role of CloudWatch. This is incorrect.

DCorrect

Amazon CloudWatch

This is correct. Amazon CloudWatch is a service that collects, visualizes, and monitors metrics and logs from AWS resources and applications. When a threshold is exceeded, CloudWatch alarms can automatically send notifications (via SNS) or trigger actions such as Auto Scaling. It is the central service for operational monitoring.

Key Takeaway

'Metrics,' 'monitoring,' and 'alarms' all point to Amazon CloudWatch (performance monitoring). Recording 'who performed which API action' is CloudTrail (audit). Distinguishing monitoring (CloudWatch) from auditing (CloudTrail) is a frequently tested concept.