Skip to content

Registering a model to Unity Catalog with MLflow

MLflow supports registering models directly to Unity Catalog, giving them governed, catalog.schema.model_name identity alongside centralized access control, lineage, and discoverability. This is done by setting the MLflow registry URI to 'databricks-uc' and calling mlflow.register_model() (or logging with a registered_model_name) with a three-level name. Unity Catalog model registration is the recommended approach for production GenAI applications on Databricks, replacing the legacy workspace model registry.

1 · Learn the must-know

  • You must set mlflow.set_registry_uri('databricks-uc') before registering so models are stored in Unity Catalog rather than the legacy workspace registry.
  • Registered model names must follow the three-level Unity Catalog namespace convention: catalog.schema.model_name.
  • The user or service principal registering the model needs USE CATALOG, USE SCHEMA, and CREATE MODEL (or MODIFY) privileges on the target catalog/schema.
  • Unity Catalog model versions use governed aliases (e.g., 'champion', 'challenger') instead of the legacy stage names like 'Production' or 'Staging'.
  • Models registered in Unity Catalog automatically get lineage tracking to the notebook/job/run and data sources used, visible in the Catalog Explorer UI.
  • Unity Catalog enforces model signature requirements more strictly, so logging the model with an inferred or explicit input/output signature (and example input) is a common prerequisite for successful registration.

2 · Check your understanding

Check this objectiveFree · always available

A Generative AI Engineer has built a RAG chain with LangChain and logged it using mlflow.langchain.log_model inside a Databricks notebook run. The engineer wants the chain registered under the three-level namespace prod.genai.support_bot in Unity Catalog rather than the legacy workspace model registry. Before calling mlflow.register_model, what should the engineer configure?

Your objective map0 tried · 0 answered correctly · 56 untouched

What you have tried across Databricks GenAI Engineer's objectives, not a readiness score.

Design Applications10.71% of the exam*0 of 6 tried
Data Preparation14.29% of the exam*0 of 8 tried
Application Development23.21% of the exam*0 of 13 tried
Assembling and Deploying Applications26.79% of the exam*0 of 15 tried
Governance7.14% of the exam*0 of 4 tried
Evaluation and Monitoring17.86% of the exam*0 of 10 tried

* Our estimate. Databricks publishes no section weights.

3 · Keep going