What's changed: In-scope coverage (fix): added a Trusted Advisor best-practice-checks block to §4.3 (closes an Axis-B textbook gap)
4.1Metrics and Alarms
Understand metric monitoring—CloudWatch metrics (standard/custom), alarms, composite alarms, dashboards, and EventBridge. Detect anomalies and drive notifications/automation.
Monitoring starts with metrics and alarms. CloudWatch collects metrics and triggers notifications/automation on threshold breach.
4.1.1CloudWatch metrics and alarms
- Standard/custom metrics: standard are auto-collected; send custom (e.g., memory) via PutMetricData.
- Alarms: transition OK/ALARM/INSUFFICIENT_DATA on thresholds and trigger actions.
- Composite alarms: logically combine alarms to reduce false positives (noise).
- EventBridge: react to alarms/events to trigger SNS/Lambda/Auto Scaling automatically.
Common on DOP-C02: capture memory etc. = custom metrics (PutMetricData / CloudWatch Agent), combine conditions = composite alarms, alarm → notify/automate = SNS/EventBridge/Lambda. EC2 memory/disk are not standard metrics—use the CloudWatch Agent.
Continue reading — free sign-up
You're reading the free preview. Sign up free to read this section in full, plus every chapter (including 4+) and all questions.

