Comparison lab
Amazon CloudWatch vs AWS CloudTrail vs AWS Config
Watch performance, Trail actions, Config state.
Picture the difference
How is it running? → CloudWatch | Who made the call? → CloudTrail | How is it configured? → Config
| Option | What it does | Exam clue | When not to use it |
|---|---|---|---|
| Amazon CloudWatch | Operational observability service for metrics, logs, alarms, and dashboards. | metrics, logs, alarms, dashboards, observability | Do not use operational graphs as proof of which IAM principal changed infrastructure or whether a resource complies with a configuration rule. |
| AWS CloudTrail | Audit service that records AWS account activity, including supported API and non-API events. | API activity, audit, principal, management events, data events | It is not the source of CPU utilization alarms or a substitute for checking resource configuration against a desired rule. |
| AWS Config | Configuration recording and rule evaluation for supported AWS resources. | configuration history, configuration item, rules, compliance, remediation | A detective rule detects rather than necessarily prevents a change; use audit events to identify the caller. |
Decision tree
- Monitor metrics or logs and alarm on operational symptoms Amazon CloudWatch
- Attribute an AWS API call to an identity and time AWS CloudTrail
- Track resource configuration history and evaluate compliance rules AWS Config
If none of these clues fit, check the exact requirement before choosing.