CertLumen

Databricks Machine Learning Associate · Section 1 · 38% of the exam

Identify benefits of registering models in the Unity Catalog registry over the workspace registry

One of the objectives of the Databricks Certified Machine Learning Associate exam, in the section “Databricks Machine Learning”. Here is what it covers, the points to remember and a question to try.

What it covers

Models in Unity Catalog is the MLflow model registry governed by Unity Catalog. This lesson covers why it replaces the workspace registry, how to register versions with the fluent and Client APIs, how to set and remove tags, and how champion and challenger aliases drive promotion.

Points to remember

  • Unity Catalog models use catalog.schema.model names; the MLflow 3 default registry URI on Databricks is databricks-uc.
  • Benefits over the workspace registry: centralized Unity Catalog access control, audit logs, lineage to tables and feature tables, discovery and access from every workspace on the metastore.
  • The workspace registry is legacy (disabled for new accounts since April 2024); its stages, transition requests and webhooks are not in Unity Catalog.
  • New Unity Catalog model versions must have a signature (signature= or input_example=).
  • Register: log_model(registered_model_name=...), mlflow.register_model(uri, name), or MlflowClient create_registered_model + create_model_version(name, source, run_id).

Try a question

After validation, an ML engineer wants to mark version 3 of prod.ml.churn_model with validation_status = approved, without changing tags on other versions. Which call should they use?

  1. Aclient.set_registered_model_tag("prod.ml.churn_model", "validation_status_v3", "approved")
  2. Bclient.set_model_version_tag("prod.ml.churn_model", "3", "validation_status", "approved")
  3. Cmlflow.set_tag("validation_status", "approved")
  4. Dclient.set_registered_model_alias("prod.ml.churn_model", "approved", 3)
Show the answer

B. Unity Catalog keeps separate tags on registered models and on model versions. set_model_version_tag(name, version, key, value) tags one version; it needs ownership of the model or the APPLY TAG privilege.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Models in Unity Catalog: register, tag and alias teaches this objective (about 40 minutes), and 19 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 48 objectives · Next objective →