What's changed: In-scope service coverage (axis B): added Athena/OpenSearch Service large-scale log-analysis definitions, roles, and selection criteria to s1 (CloudWatch).
5.1Observability with CloudWatch
Understand observability basics: CloudWatch Logs / Logs Insights, metrics and alarms, and custom metrics. The starting point for "Troubleshooting and Optimization" in DVA-C02.
To find and fix problems fast, you must see your app’s logs, metrics, and traces. The AWS core is Amazon CloudWatch.
5.1.1Logs, metrics, and traces
- Logs: CloudWatch Logs aggregates app/Lambda output; query/analyze with Logs Insights.
- Metrics/alarms: collect numeric time-series and alarm on threshold breaches (notify, autoscale).
- Custom metrics: send app-specific metrics (e.g., order count) to monitor.
Common on DVA: aggregate/query logs = CloudWatch Logs / Logs Insights, notify/auto-respond on thresholds = CloudWatch alarms, app-specific = custom metrics. Lambda logs go to CloudWatch Logs automatically.
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.

