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

Lesson 3 of 8 · 15 min

x
3/8

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

This lesson covers 5 exam topics: Experiment Tracking with MLflow, Automated ML and Notebooks, Hyperparameter Tuning with Sweep Jobs, Training Scripts and Distributed Training, Training Pipelines. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.

1. Experiment Tracking with MLflow

Video lesson: AI-300 08/31: Experiment Tracking with MLflow

Central question: How do you record and compare training runs?

Facts

  • Azure ML workspaces are MLflow-compatible: use mlflow.log_param, mlflow.log_metric, mlflow.log_artifact; autologging (mlflow.autolog()) captures parameters, metrics and models for common frameworks.
  • Runs are organized in experiments; query and compare runs, metrics, parameters and artifacts with MLflow APIs or in the studio.
  • Child runs support hyperparameter searches (nested runs).

Exam traps

  • Print statements instead of logged metrics.
  • No autologging when the framework supports it.
  • Comparing runs by memory instead of experiment queries.

2. Automated ML and Notebooks

Video lesson: AI-300 09/31: Automated ML and Notebooks

Central question: How do you explore models quickly?

Facts

  • AutoML trains many pipelines in parallel, trying algorithms with feature selection and hyperparameters, ranked by a primary metric.
  • Tasks: classification, regression, forecasting, computer vision, NLP.
  • Code-first (SDK v2/CLI v2) or no-code studio; configure iterations, featurization and exit criteria.
  • Notebooks in the studio run on compute instances for exploration and experimentation.

Design guidance

Use AutoML for a strong baseline fast; use notebooks to explore data; move proven code into scripts, components and pipelines for production.

Exam traps

  • Notebooks as production pipelines.
  • Wrong task type (forecasting vs regression for time series).
  • No primary metric aligned to the business goal.

3. Hyperparameter Tuning with Sweep Jobs

Video lesson: AI-300 10/31: Hyperparameter Tuning with Sweep Jobs

Central question: How do you search hyperparameters efficiently?

Facts

  • Sweep job: search space, sampling algorithm, primary_metric with goal (maximize/minimize), limits (max trials, concurrency, timeouts).
  • Sampling: random (incl. Sobol), grid (all combinations of choice values), Bayesian (uses prior results; supports choice, uniform, quniform).
  • Early termination: Bandit (slack factor/amount + evaluation interval), Median stopping, Truncation selection (cancel lowest X%), or none.
  • Training script must log the primary metric with MLflow.

Exam traps

  • Grid search over continuous ranges.
  • Primary metric not logged by the script.
  • No early termination for long, costly sweeps.

4. Training Scripts and Distributed Training

Video lesson: AI-300 11/31: Training Scripts and Distributed Training

Central question: How do you run training at scale?

Facts

  • Command jobs run a training script with code, environment, compute, inputs and outputs.
  • Distributed training: distribution types PyTorch, MPI, TensorFlow; set instance_count and process_count_per_instance; DeepSpeed supported.
  • Data parallelism (distributed data parallel) is right more than 90% of the time; model parallelism when the model doesn't fit one GPU. PyTorch recommends DistributedDataParallel over DataParallel.
  • GPU clusters with InfiniBand speed multinode training (general background).

Exam traps

  • Model parallelism by default. Data parallelism is usually right.
  • DataParallel instead of DDP for multinode.
  • One huge VM when a cluster with multiple nodes fits better.

5. Training Pipelines

Video lesson: AI-300 12/31: Training Pipelines

Central question: How do you automate the full training workflow?

Facts

  • A pipeline automates a complete ML task by breaking it into steps, each a component; Azure ML manages dependencies between steps.
  • Teams own their steps independently (data prep, training, evaluation, registration).
  • Steps can run on different compute, and unchanged steps can reuse previous outputs (general background on caching).
  • Pipelines can be scheduled or triggered from CI/CD.

Typical pipeline (design guidance)

prep data → train → evaluate (compare with current model) → register if better → deploy (separate, gated).

Exam traps

  • One script for everything.
  • Registering every model without an evaluation gate.
  • Hard-coded data paths instead of pipeline inputs.

References

  1. AI-300 study guide — checked Oct 22, 2026
  2. MLflow and Azure ML — checked Oct 22, 2026
  3. Track runs with MLflow — checked Oct 22, 2026
  4. What is AutoML? — checked Oct 22, 2026
  5. Hyperparameter tuning — checked Oct 22, 2026
  6. Distributed GPU training — checked Oct 22, 2026
  7. Distributed training concepts — checked Oct 22, 2026
  8. What are Azure ML pipelines? — checked Oct 22, 2026

Check your understanding

  • Log a metric?Show answer

    Answer

    mlflow.log_metric.
  • Predict sales next quarter by date?Show answer

    Answer

    AutoML forecasting.
  • Stop trials far behind the best?Show answer

    Answer

    Bandit policy.
  • Usual parallelism type?Show answer

    Answer

    Distributed data parallelism.
  • Building block of a pipeline step?Show answer

    Answer

    Component.
Previous

Progress is saved in this browser.

Next Lesson