Skip to content
Microsoft Certified: Machine Learning Operations Engineer Associate (AI-300) Exam Prep

Lesson 4 of 8 · 16 min

x
4/8

Domain 2: Implement Machine Learning Model Lifecycle and Operations (Part 2 of 2)

This lesson covers 5 exam topics: Registering MLflow Models and Feature Specs, Responsible AI Evaluation and Model Lifecycle, Online and Batch Endpoints, Safe Rollout and Endpoint Troubleshooting, Model Monitoring, Drift and Retraining. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.

1. Registering MLflow Models and Feature Specs

Video lesson: AI-300 13/31: Registering MLflow Models and Feature Specs

Central question: How do you register models so they deploy cleanly?

Facts

  • Model types: mlflow_model, custom_model, triton_model; MLflow models carry an MLmodel file (flavor, signature) and enable no-code deployment.
  • Registering creates versions; use tags and descriptions; MLflow APIs load models:/<name>/<version>.
  • Deployment from a model stage isn't supported in Azure ML (stages exist in MLflow APIs).
  • Feature retrieval specification: lists the features (from a managed feature store) used as model input; used at training and inference; package it with the model artifact to avoid training/serving skew.

Exam traps

  • custom_model when MLflow would allow no-code deployment.
  • Deploying by stage in Azure ML.
  • Recomputing features differently at inference. Package the retrieval spec.

2. Responsible AI Evaluation and Model Lifecycle

Video lesson: AI-300 14/31: Responsible AI Evaluation and Model Lifecycle

Central question: How do you assess a model responsibly and retire old versions?

Facts

  • Responsible AI dashboard components: model performance and fairness assessment, interpretability, error analysis, counterfactual analysis and perturbations, causal inference, data analysis; a scorecard summarizes for stakeholders.
  • Use it to identify errors and fairness issues, diagnose why, and inform mitigations.
  • Archive models or versions: hidden from default list queries but still usable and referenceable; archive all versions or a specific one.

Exam traps

  • Accuracy only, ignoring cohorts and fairness.
  • Deleting old versions still referenced by deployments. Archive instead.
  • No stakeholder summary. Use the scorecard.

3. Online and Batch Endpoints

Video lesson: AI-300 15/31: Online and Batch Endpoints

Central question: Real-time or batch inference, and how is it hosted?

Facts

Online endpointBatch endpoint
UseLow-latency, real-time requestsLarge data across many files, long-running
ExecutionSynchronous HTTPAsynchronous jobs on compute clusters, parallelized
OutputResponseWritten to a datastore
  • An endpoint has one or more deployments; traffic rules route between them (enables safe rollout).
  • Managed online endpoints (Azure-managed infrastructure, monitoring, model data collection, mirroring) vs Kubernetes online endpoints.
  • MLflow models deploy without a scoring script; custom models need a scoring script and environment.
  • Monitoring through Azure Monitor and Log Analytics.

Exam traps

  • Online endpoint for nightly scoring of millions of rows.
  • Batch endpoint for an interactive app.
  • Writing a scoring script for an MLflow model unnecessarily.

4. Safe Rollout and Endpoint Troubleshooting

Video lesson: AI-300 16/31: Safe Rollout and Endpoint Troubleshooting

Central question: How do you release new models without risk, and fix failing endpoints?

Safe rollout

  • Blue/green: deploy green beside blue in one endpoint; test green directly; mirror a percentage of live traffic to green (copied; users still get blue's responses); then shift traffic percentages gradually; delete blue when done; rollback = set traffic back.
  • Use at least three instances for high availability (20% extra quota reserved for upgrades).

Troubleshooting

  • Deploy locally (Docker) to debug; get-logs for container logs.
  • Errors: ImageBuildFailure (environment build), OutOfQuota, BadArgument, ResourceNotReady (score.py/init failure), DeploymentCrashLoopBackOff.
  • 429 = too many requests; 504 = timeout (default 5 seconds, set request_timeout_ms).

Exam traps

  • Replacing blue in place.
  • Expecting mirrored traffic responses to reach users.
  • Raising quota for a crash loop caused by score.py.

5. Model Monitoring, Drift and Retraining

Video lesson: AI-300 17/31: Model Monitoring, Drift and Retraining

Central question: How do you know a production model is degrading, and react?

Facts

  • Monitoring compares production inference data with reference data (e.g. training data as baseline) using statistical tests or distance scores.
  • Signals: data drift, prediction drift, data quality, feature attribution drift (preview), model performance (classification/regression, preview), custom.
  • Enable model data collection on online endpoints; for batch or external deployments you collect production data yourself.
  • Set thresholds per metric; alerts via Azure ML or Azure Event Grid (events can trigger retraining pipelines).
  • Monitoring runs on a schedule.

Exam traps

  • No production data collection, so nothing to monitor.
  • Retraining on a calendar only instead of signal-driven.
  • Drift without performance context (ground truth when available).

References

  1. AI-300 study guide — checked Oct 22, 2026
  2. Manage models with MLflow — checked Oct 22, 2026
  3. Manage models — checked Oct 22, 2026
  4. Feature retrieval specification — checked Oct 22, 2026
  5. Responsible AI dashboard — checked Oct 22, 2026
  6. Endpoints — checked Oct 22, 2026
  7. Online endpoints — checked Oct 22, 2026
  8. Batch endpoints — checked Oct 22, 2026
  9. Safe rollout — checked Oct 22, 2026
  10. Troubleshoot online endpoints — checked Oct 22, 2026
  11. Model monitoring — checked Oct 22, 2026
  12. Monitor model performance — checked Oct 22, 2026

Check your understanding

  • Model type for no-code deployment?Show answer

    Answer

    mlflow_model.
  • Where errors concentrate?Show answer

    Answer

    Error analysis.
  • Score 50 million rows nightly?Show answer

    Answer

    Batch endpoint.
  • Test with real traffic, no user impact?Show answer

    Answer

    Mirror traffic.
  • Input distribution shifted?Show answer

    Answer

    Data drift.
Previous

Progress is saved in this browser.

Next Lesson