Skip to content
AWS Certified Machine Learning Engineer – Associate (MLA-C02) Exam Prep

Lesson 7 of 8 · 11 min

x
7/8

Domain 4: Operating, Monitoring, and Securing ML and AI Solutions (Part 1 of 2)

This lesson covers 3 exam topics: Monitoring Models, Drift and A/B Tests, Monitoring Agents and Troubleshooting Tools, Instance Selection and Purchasing Options. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.

1. Monitoring Models, Drift and A/B Tests

Video lesson: MLA-C02 30/35: Monitoring Models, Drift and A/B Tests

Central question: Is the production model still performing, and is a new version better?

What to monitor (verified where linked)

AreaTools
FM quality and usageCloudWatch generative AI observability (Model Invocations: usage, tokens, invocation logs); Bedrock evaluations run on samples
Data distribution changesDrift detection pipelines: compare live feature statistics to the training baseline (Processing jobs, Clarify for bias drift)
Pipeline and inference errorsCloudWatch metrics, logs and alarms; anomaly detection
Model qualityCompare predictions with ground truth when labels arrive

SageMaker Model Monitor provided data quality, model quality, bias drift and feature attribution drift monitoring — closed to new customers (verified).

A/B testing (skill 4.1.4)

SageMaker endpoints can host multiple production variants with traffic weights (e.g. 90/10), and you compare their metrics; shadow tests compare without user exposure (general background; shadow tests verified).

Exam traps

  • No ground-truth loop, so model quality is never measured.
  • Confusing shadow tests with A/B tests: shadow doesn't serve users; A/B does.
  • Monitoring only infrastructure for an FM application.

2. Monitoring Agents and Troubleshooting Tools

Video lesson: MLA-C02 31/35: Monitoring Agents and Troubleshooting Tools

Central question: How do you see what agents and ML systems are doing, and why they fail?

Agent monitoring (skill 4.1.5)

Watch for coordination failures between agents, truncated streaming responses, tool failures and timeouts, loops (steps per task), and resource consumption (tokens, tool calls, runtime per session). Automate responses: alarms, retries, circuit breakers (design guidance).

Tools

ToolGives
Amazon CloudWatchMetrics, logs, alarms, dashboards (skill 4.2.3), GenAI observability views
AgentCore ObservabilityStep-by-step agent traces, tool calls, OpenTelemetry-compatible
AWS X-RayRequest traces across services; find slow or failing hops

Dashboards (design guidance)

Latency (p50/p95/p99), errors, invocations, tokens, cost per request, tool error rate, steps per task, drift indicators — with baselines and alarms.

Exam traps

  • Only final-answer checks for agents, missing tool failures.
  • No tracing, so slow tools are blamed on models.
  • Averages only: p99 latency hides in the mean.

3. Instance Selection and Purchasing Options

Video lesson: MLA-C02 32/35: Instance Selection and Purchasing Options

Central question: Which instance and which way of paying gives the right performance per dollar?

Instance families for inference (general background; Inf2 verified in EC2 docs)

FamilyStrength
CPU (e.g. ml.c, ml.m)Small models, classic ML, low cost
GPU (e.g. ml.g5, ml.g6, ml.p families)Deep learning, LLMs
AWS Inferentia (Inf2)Cost-efficient inference for deep learning / LLMs
AWS Trainium (Trn)Cost-efficient training

SageMaker Inference Recommender (verified) automates load tests across instance types and recommends the best performance at the lowest cost for real-time or serverless endpoints.

Capacity (skill 4.2.4; design guidance)

Right-size from load tests; auto scaling with sensible min/max; multi-AZ for reliability; multi-model endpoints or inference components to raise utilization.

Purchasing options (skill 4.2.6)

OptionUse
On-demandVariable or unknown load
SageMaker AI Savings Plans (verified)Lower prices for committed SageMaker usage, regardless of instance family, size, component or Region
Managed Spot Training (verified)Up to 90% cheaper training; interruptions; checkpoint
Bedrock provisioned throughputCommitted FM capacity (no commitment, 1 or 6 months)

Exam traps

  • GPU instance for a small XGBoost model.
  • Spot for real-time inference endpoints. Spot is for training jobs here.
  • Guessing instance types instead of using Inference Recommender.

References

  1. MLA-C02 Domain 4 — checked Oct 19, 2026
  2. CloudWatch GenAI observability — checked Oct 19, 2026
  3. Model Monitor — checked Oct 19, 2026
  4. Shadow tests — checked Oct 19, 2026
  5. AgentCore — checked Oct 19, 2026
  6. AWS X-Ray — checked Oct 19, 2026
  7. Inference Recommender — checked Oct 19, 2026
  8. Savings Plans — checked Oct 19, 2026
  9. Managed Spot Training — checked Oct 19, 2026

Check your understanding

  • Send 10% of live traffic to a new model and compare?Show answer

    Answer

    Production variants with traffic weights (A/B).
  • See each step and tool call of an AgentCore agent?Show answer

    Answer

    AgentCore Observability.
  • Find the cheapest instance meeting a latency target?Show answer

    Answer

    Inference Recommender.
  • Token usage and invocation logs by model?Show answer

    Answer

    CloudWatch GenAI observability.
  • Trace a request across API Gateway, Lambda and Bedrock?Show answer

    Answer

    AWS X-Ray.
Previous

Progress is saved in this browser.

Next Lesson