Practice Questions

Amazon CloudWatch

CloudWatch is AWS's monitoring and observability service. It collects metrics, logs, and events from AWS resources and custom applications, and enables alarms and automated responses.

Metrics

CloudWatch Agent

The CloudWatch Agent runs on EC2 instances (or on-premises servers) to collect system-level metrics (RAM, disk usage) and send application logs to CloudWatch Logs. Required for any memory or disk metric.

CloudWatch Alarms

Alarms monitor a metric and trigger actions when the metric crosses a threshold for a specified number of evaluation periods.

CloudWatch Logs

CloudWatch Logs stores log data from Lambda, EC2, API Gateway, CloudTrail, and custom sources.