Concept · Builds on SAA-C03
Monitoring workflows for errors and anomalies
Route failures and odd metrics from pipelines, jobs and endpoints to the people who fix them.
You know from Solutions Architect Associate
- A CloudWatch alarm watches one metric and can notify through SNS.
- Logs Insights queries logs, and a metric filter turns log text into a metric.
- Composite alarms cut noise by combining alarms.
Endpoint
- Signal
- 5XX errors and latency
- Tool
- CloudWatch alarm
Traffic volume
- Signal
- No fixed normal
- Tool
- Anomaly detection
Workflow run
- Signal
- Failed or timed out
- Tool
- EventBridge rule
Input data
- Signal
- Failed quality rules
- Tool
- Glue Data Quality event
Error text in logs
- Signal
- Which line failed
- Tool
- Logs Insights
| Source | Signal | Tool |
|---|---|---|
| Endpoint | 5XX errors and latency | CloudWatch alarm |
| Traffic volume | No fixed normal | Anomaly detection |
| Workflow run | Failed or timed out | EventBridge rule |
| Input data | Failed quality rules | Glue Data Quality event |
| Error text in logs | Which line failed | Logs Insights |
1 / 2
Endpoint
- Signal
- 5XX errors and latency
- Tool
- CloudWatch alarm
Traffic volume
- Signal
- No fixed normal
- Tool
- Anomaly detection
Workflow run
- Signal
- Failed or timed out
- Tool
- EventBridge rule
| Source | Signal | Tool |
|---|---|---|
| Endpoint | 5XX errors and latency | CloudWatch alarm |
| Traffic volume | No fixed normal | Anomaly detection |
| Workflow run | Failed or timed out | EventBridge rule |
2 / 2
Input data
- Signal
- Failed quality rules
- Tool
- Glue Data Quality event
Error text in logs
- Signal
- Which line failed
- Tool
- Logs Insights
| Source | Signal | Tool |
|---|---|---|
| Input data | Failed quality rules | Glue Data Quality event |
| Error text in logs | Which line failed | Logs Insights |
What it is
Static alarms need a threshold you pick. CloudWatch anomaly detection learns the normal band of a metric from its past, including daily and weekly cycles, and alarms when the metric leaves the band. It suits traffic that is hard to give a fixed limit, such as endpoint invocations. Logs Insights finds the error lines behind an alarm.
What it is
Orchestrators publish state changes to Amazon EventBridge. An AWS Step Functions execution that fails, times out or aborts emits an event. A SageMaker Pipelines execution or step that fails does the same. AWS Glue job runs that fail or time out also emit events, and AWS Glue Data Quality sends rule results to EventBridge and CloudWatch, so bad input data raises an alert before training. An EventBridge rule matches the status and sends the event to an Amazon SNS topic, a Lambda function or another target. SNS fans one message out to email, text messages and other subscribers.
What it is
For a live endpoint, alarm on Invocation5XXErrors (the model container failed) and on ModelLatency. Invocation4XXErrors points at the caller. Add an anomaly detection alarm on Invocations to catch a sudden drop, which often means an upstream break. Amazon DevOps Guru applies machine learning to metrics and events to flag unusual behaviour and suggest fixes.
Status: Amazon DevOps Guru has been closed to new customers since October 29, 2026. Current customers can keep using it until September 30, 2027. AWS points to CloudWatch for alerting and anomaly detection.
Remember
- Anomaly detection alarms learn a normal band. Static alarms use a fixed threshold.
- Step Functions, Pipelines and Glue publish failure events to EventBridge.
- Glue Data Quality results go to EventBridge and CloudWatch.
- Endpoint 5XX means the model side failed. 4XX means a bad request.
Remember
- SNS fans an alert out to many subscribers.
- DevOps Guru: closed to new customers since October 29, 2026.
On the exam
- “Notify the team when a Step Functions execution fails” points to an EventBridge rule on the execution status, with an SNS target.
- “Alert on unusual traffic with no fixed threshold” points to a CloudWatch anomaly detection alarm.
- “Stop the pipeline when input data fails quality rules” points to Glue Data Quality results sent to EventBridge.
- “Endpoint returns server errors” points to an alarm on Invocation5XXErrors.
Do not mix it up with
- CloudWatch generative AI observability and Bedrock metricsBedrock sends runtime metrics to CloudWatch on its own. Invocation logs need setup, and the dashboards read both.
- CloudWatch metrics and dashboards for MLKnow which endpoint and training metrics exist, where they live, and how to turn them into dashboards and alarms.
- Logs and tracing to troubleshoot ML systemsRead the signal first: logs for container errors, traces for slow hops, CloudTrail for denied or failed API calls.