Which AWS service collects metrics, logs, and events from AWS resources and lets you set alarms and dashboards?
A.AWS CloudTrail
CloudTrail logs API activity — audit, not metrics.
B.Amazon CloudWatch
Correct. CloudWatch is the metrics/logs/alarms service.
C.AWS Config
Config tracks resource configuration history.
D.AWS X-Ray
X-Ray traces requests through distributed apps — a different tool.
Why this answer
CloudWatch is the monitoring and observability service — metrics, logs, alarms, dashboards for AWS resources and applications. CloudTrail is API auditing; X-Ray is distributed tracing.
Correct answer: B · Last reviewed 2026-10-26
Official AWS references
Practice this interactively
Answer without seeing the solution first in the Core AWS Services practice session.
Practice Core AWS Services