Let’s Get Certified
Module 21 / 22 · Operational Excellence and Automation

Measure the user outcome across services and models

Correlate container signals, traces, cross-account logs, model quality and customer-facing error-budget burn.

Task 5.3 · Measure the user outcome across services and models

A fast model makes checkout worse

CPU is flat, the model returns HTTP 200, yet the assistant repeatedly calls a tool and some mobile browsers cannot complete checkout. The monthly objective is 99.9% successful eligible checkouts. Design evidence that distinguishes each failure.

Compare your design with the worked answer

Propagate trace context from a user journey to model and tool calls, record task completion and tool loops by release, inspect pod throttling and placement by AZ, and compare RUM cohorts with synthetics. Define good/eligible checkout events. At 1% bad events the service burns its 0.1% allowance at 10×. Route an actionable alarm and check central log delivery per account.

Separate private identifiers from low-cardinality metrics. Retain the authorized drilldown path in controlled logs/traces so the same incident can be reconstructed without exposing user data broadly.

5.3.1 · Carry one trace across boundaries

Use OpenTelemetry instrumentation with compatible collectors and backends for traces, metrics and logs. Inject and propagate trace context across HTTP and message boundaries, correlate request IDs and use bounded metric labels. Apply appropriate sampling and avoid sensitive contents in telemetry. Verify one slow request across all services.

5.3.2 · Observe service, task and node separately

Container Insights and workload metrics can show desired versus running tasks, CPU throttling, memory pressure and restarts. Check scheduling failures and AZ placement alongside application latency. Aggregate by workload and use task-level drilldown for investigation. A healthy cluster average can hide an unhealthy deployment.

5.3.3 · Design a log delivery path with failure signals

Use supported CloudWatch Logs subscriptions, an authorized central destination and protected archive storage. Track account/Region/source, delivery lag, throttling, duplication and failures. Apply lifecycle and queryable partitions without losing mandatory retention. Prevent a logging pipeline from subscribing to its own output recursively.

5.3.4 · Route an alarm to an accountable response

Set alarm thresholds and evaluation periods from customer impact and action time. Configure missing-data behavior, composite alarms where appropriate, SNS or incident routing, and a clear owner with a runbook. Test the delivery channel. A dashboard can display a failure without waking anyone capable of fixing it.

5.3.5 · Observe quality alongside availability

Instrument model version, inference latency percentiles, errors, tokens and outcome quality by cohort. For agents, measure tool failures, loops, approvals and task completion. Monitor input or output distribution changes against a baseline and validate with labeled or reviewed outcomes. Fast healthy endpoints can still give poor answers.

5.3.6 · Compare active probes with real sessions

CloudWatch Synthetics can exercise a controlled journey from selected locations even when traffic is low. Real user monitoring captures actual client devices, networks and timings subject to privacy and consent. Use both to isolate a regional or browser-specific problem. A synthetic success may use a much simpler client path.

5.3.7 · Connect the alert to a service-level objective

Define the eligible events and the good-event criterion, then set a target and time window. At 99.9% success, one million eligible requests allow 1,000 bad requests. Burn rate compares the observed bad fraction with the allowed fraction. Use short and long windows to detect rapid incidents while limiting transient noise.

Apply the video example

The EKS material names telemetry backends and OpenTelemetry. Connect one browser transaction to a container span and a model/tool result, then state which measurement shows a user actually completed the task.

freeCodeCamp · 56:20:20 in EKS

Official SAP-C03 task 5.3 · CloudWatch service level objectives · Bedrock invocation logging

Return to the objective map

Knowledge check

Measure the user outcome across services and models quiz

Answer 7 questions. Check each answer for an explanation.