Databricks ML Associate · Topic Deep Dive

MLflow for the Databricks Machine Learning Associate Exam, Explained

MLflow appears on the Databricks Certified Machine Learning Associate exam through seven of the exam guide's 48 objectives, roughly 15% of the scored questions. They cover three jobs: logging runs with MLflow Tracking, finding the best run with the MLflow Client API, and managing registered models in Unity Catalog with versions, aliases, and tags.

Last updated August 2026.

What the exam actually asks about MLflow

The exam guide lists exactly 48 objectives against 48 scored questions, so each objective is worth about one question. The MLflow objectives sit in Section 1, Databricks Machine Learning, and they are specific:

Notice what is absent: nothing about self-hosting an MLflow tracking server, model flavors internals, or the old workspace-registry stage transitions. The exam tests MLflow as Databricks ships it, managed and integrated with Unity Catalog.

Objectives from the official exam guide PDF (1 Mar 2025 edition) linked from the Databricks ML Associate certification page.

Tracking: manual logging versus autologging

An MLflow run is one execution of training code, grouped under an experiment. The exam expects you to know both ways a run gets its contents:

The distinction questions test is param versus metric versus artifact: a learning rate is a param, a validation RMSE is a metric, a confusion-matrix PNG is an artifact. The MLflow UI shows all of them per run, side by side across runs, which is the substance of the "information available in the UI" objective: parameters, metrics, artifacts, source, and run comparison.

Finding the best run with the Client API

The scenario the exam likes: a tuning job produced dozens of runs, and you need the best one programmatically, not by eyeballing the UI. The pattern is search_runs with an ordering:

The trap answer in these questions is sorting in the wrong direction for the metric named. Lower is better for RMSE and log loss; higher is better for accuracy, F1, and R-squared. Read which metric the scenario optimises before picking the ordering.

The registry lives in Unity Catalog, and promotion means aliases

Registering a model turns the best run's artifact into a versioned, governed object: each registration under the same three-level name (catalog.schema.model) creates a new version. Two exam objectives sit right here:

Terminology check: if your study material talks about transitioning models between Staging and Production stages, it describes the older workspace registry. On the current exam, promotion is expressed with Unity Catalog aliases, champion and challenger, not stage transitions.

FAQ

How much MLflow is on the Databricks Machine Learning Associate exam?

Seven of the exam guide's 48 objectives name MLflow directly, which at roughly one question per objective is about 15% of the scored exam. They cover manual logging, the MLflow UI, finding the best run with the Client API, and the Unity Catalog registry with versions, aliases, and tags.

What is the difference between a param, a metric, and an artifact in MLflow?

A param is an input you chose, such as a learning rate. A metric is a measured number, such as validation RMSE. An artifact is a file attached to the run, such as a plot or the model itself. The exam tests logging each with the matching call: log_param, log_metric, and log_artifact.

How do you find the best run with the MLflow Client API?

Call search_runs with order_by set to the target metric and max_results=1. Sort ascending for loss-like metrics such as RMSE and descending for accuracy-like metrics, which is the detail exam distractors most often get wrong.

Does the exam use model stages like Staging and Production?

No. Those stage transitions belong to the older workspace registry. The current exam expects models registered in Unity Catalog and promoted by moving an alias, such as champion, to a new version with set_registered_model_alias.

Why does Databricks recommend registering models in Unity Catalog?

The Unity Catalog registry gives centralised governance and access control, makes models available across workspaces instead of one, and keeps lineage with the data and features they were trained on. The workspace registry offers none of that, which is exactly the contrast the exam objective asks for.

Study the MLflow chapters

Chapters 8 to 11 cover Tracking, Models, the Unity Catalog registry, and the best-run Client API pattern, in the same order the objectives list them. Free, and it works on a phone.

Start Chapter 8: MLflow Tracking →