CertSafari
    Databricks Certified Machine Learning Associate· Lessons

    Domain 1 · Lesson 18/48

    Promote a Challenger to Champion with Unity Catalog model aliases

    Promote a challenger model to a champion model using aliases

    15 min read
    2.11% of exam
    4 sources
    Published 22 Oct 2026
    Docs as of 17 Oct 2026

    What you will be able to do

    • Explain why Unity Catalog uses aliases rather than stages or catalog names to show which model version is deployed
    • Describe how a model version earns the Challenger alias and then replaces the Champion
    • Promote or roll back a model version by reassigning an alias with MlflowClient or the Databricks CLI
    • Identify which principals may set, move or delete an alias, and which privileges are not enough

    Key concept

    Model alias — A named pointer on a registered model that you can move, and that points at exactly one model version at a time. Workloads load the alias instead of a version number, so you promote or roll back a model by moving the pointer, not by changing code or registering a new version.

    1.Aliases mark deployment status, catalogs mark environment

    A registered model in Unity Catalog collects many versions over time, and only one of them should answer production requests. Something has to record which one. In Unity Catalog that job belongs to the alias: a name such as Champion that you attach to one version and can later move to another. The model prod.ml_team.iris_model might have versions 1 through 7, with Champion on version 4 today and on version 7 next week.

    The catalog a version lives in does not tell you whether it is deployed. Registering into a prod catalog places the version under production governance rules. For example, only admins might be allowed to delete from that catalog. It says nothing about traffic, though. A freshly trained version in prod.ml_team can sit there unvalidated for days. So the three-level name <catalog>.<schema>.<model> answers where a model lives and who governs it. The alias answers which version is live.

    If you know the legacy workspace registry, the obvious guess is to move a version to a Production stage with transition_model_version_stage. That does not work for models in Unity Catalog, because stages do not exist there. Databricks recommends the three-level namespace for environment and aliases for promotion. An answer that promotes a Unity Catalog model through Staging, Production or Archived stages describes a mechanism that is not available.

    Three things that look like 'deployment status' and what each one actually expresses
    MechanismWhat it expressesAvailable for models in Unity Catalog?
    Catalog and schema, e.g. prod.ml_teamEnvironment and its governance rulesYes
    Alias, e.g. ChampionDeployment status: which version workloads should useYes
    Stage via transition_model_version_stageLegacy workspace-registry lifecycleNo

    Alias names are strings you choose. The Databricks docs use Champion and Challenger in their lifecycle examples, and the CLI reference sets an alias called production. Whatever the name, it is a pointer to one version, and you can set, update and remove it from MlflowClient, the Databricks CLI, or Catalog Explorer in the UI.

    Checkpoint 1 of 7· Match them up

    A team keeps the model prod.ml_team.iris_model in Unity Catalog. Match each mechanism to what it actually expresses for that model.

    Tap a term, then the definition that fits it.

    Sources1

    2.How a version earns Challenger, then Champion

    A new version earns Challenger by passing validation. In the recommended Databricks MLOps workflow, training registers a version and hands its model URI to a validation task. That task loads the model from Unity Catalog and runs checks, from basic format and metadata checks to performance on selected data slices and organizational compliance checks. The validation pipeline exists to decide one thing: whether this version may go on to deployment. If the version passes, the pipeline assigns it the Challenger alias. If it fails, the process exits, users can be notified, and no alias moves.

    Validation also leaves evidence behind, and that evidence is a tag, not an alias. A Unity Catalog model-version tag is a key-value annotation. A typical one is model_validation_status, set to PENDING while the tests run and then to PASSED or FAILED. The two do different jobs. The tag stays on its version as a permanent record of what was proven. The alias moves between versions to show what is serving now. A PASSED tag is the justification for moving an alias. It never routes traffic itself.

    A Challenger becomes Champion in the deployment pipeline. Sometimes that pipeline promotes the challenger directly with an alias update. More often it first checks that the challenger is at least as good as the current champion. The comparison can be offline, where both versions score a held-out data set and the results are logged to MLflow Tracking. It can also be online, using an A/B test or a gradual rollout through a serving endpoint that splits traffic between the two versions. If the challenger wins, it takes over the Champion alias. If no champion exists yet, you can compare the challenger against a business heuristic or threshold instead.

    Checkpoint 2 of 7· Check yourself

    Version 12 of prod.ml_team.iris_model has passed validation and holds the Challenger alias. Version 8 holds Champion. In the recommended Databricks workflow, how does version 12 typically become the new champion?

    Sources2

    3.Promoting and rolling back by reassigning the alias

    Promotion is one call. set_registered_model_alias(name, alias, version) creates the alias if it does not exist yet. If it already exists, the same call moves it to the version you name. Any registered version is a valid target, so you never copy artifacts or register a duplicate to promote something. The same client can also look up which version an alias currently points to and delete an alias.

    Set, reassign, look up and delete an alias with MlflowClientpython
    from mlflow import MlflowClient
    client = MlflowClient()
    
    # create "Champion" alias for version 1 of model "prod.ml_team.iris_model"
    client.set_registered_model_alias("prod.ml_team.iris_model", "Champion", 1)
    
    # reassign the "Champion" alias to version 2
    client.set_registered_model_alias("prod.ml_team.iris_model", "Champion", 2)
    
    # get a model version by alias
    client.get_model_version_by_alias("prod.ml_team.iris_model", "Champion")
    
    # delete the alias
    client.delete_registered_model_alias("prod.ml_team.iris_model", "Champion")

    A move pays off only because consumers load the alias rather than a version number. The URI models:/<catalog>.<schema>.<model>@<alias> is resolved each time it is loaded. A batch job that loads @Champion picks up the newly assigned version on its next run, with no edit to the job. This decouples deployment from inference. Pointing the job at @Challenger instead would throw that away: the code would need another edit at the next promotion, and the Champion alias would no longer describe what is serving.

    Batch inference that always loads whichever version currently holds Championpython
    import mlflow.pyfunc
    model_version_uri = "models:/prod.ml_team.iris_model@Champion"
    champion_version = mlflow.pyfunc.load_model(model_version_uri)
    champion_version.predict(test_x)

    Rollback is the same call pointed backwards. Suppose version 6 took Champion and monitoring shows accuracy falling within the hour. set_registered_model_alias(name, "champion", 5) sends the alias back to version 5, and loaders of @champion get version 5 on their next call. Version 6 stays registered, so it is still there to investigate. Deleting version 6, rebuilding the serving endpoint, or reaching for stage transitions all do more work and more damage than moving one pointer.

    Model Serving endpoints need one extra step. An endpoint is configured with a model name and a specific version, so a deployment workflow calls get_model_version_by_alias to resolve Champion to a version number. It then updates the endpoint through the Model Serving REST API. The alias is still the source of truth, and the workflow simply copies its current target into the endpoint configuration.

    The CLI equivalent: point an alias (here named production) at version 1bash
    databricks registered-models set-alias main.my_schema.my_model production 1

    Checkpoint 3 of 7· Fill the gap

    Monitoring shows the newest version of main.my_schema.my_model misbehaving, so you need loaders of @production to get version 1 again without registering anything new. Which subcommand completes this CLI call?

    databricks registered-models  ?  main.my_schema.my_model production 1

    Checkpoint 4 of 7· Exam question

    A data science team has been running two model versions in shadow mode against prod.forecasting.demand_model: version 3, currently aliased champion, and version 5, aliased challenger, which just cleared a validation job with better offline metrics. Production inference code loads the model via models:/prod.forecasting.demand_model@champion and the team wants that code to start serving version 5 with no code changes and no new model version created. Which action accomplishes this?

    Checkpoint 5 of 7· Exam question

    A team promotes version 6 of prod.marketing.churn_model to champion by reassigning the alias, but a downstream monitoring job flags a sudden accuracy drop within an hour. The team wants to immediately restore production traffic to version 5, the previous champion, while keeping version 6 registered for later investigation. Which action does this with the least disruption?

    Sources1

    4.Who may set or move an alias

    Moving an alias changes what production serves, so Unity Catalog reserves it for the model's owner. The owner also needs USE CATALOG and USE SCHEMA on the catalog and schema that contain the model. The registered-models set-alias and delete-alias operations also accept a metastore admin. Everyone else gets a permission error, however many other grants they hold. The usual cause of a failed set_registered_model_alias call is that the caller does not own the model, even though they have access to its catalog and schema. The privilege model itself is covered in Unity Catalog privileges on registered models. The table below lists only the grants that get confused with alias rights.

    Which privilege allows which model operation in Unity Catalog (all also need USE CATALOG and USE SCHEMA)
    OperationRequiredEnough to set an alias?
    Create a registered modelCREATE MODELNo
    Create a new model versionOwner, or CREATE MODEL VERSION on the modelNo, unless the caller is the owner
    Load or deploy a model (including by alias)EXECUTE on the registered modelNo
    Set, reassign or delete an aliasOwner of the registered modelYes

    There are two fixes, and both run through ownership. The current owner can make the alias change themselves. To let several people promote versions, Databricks recommends transferring ownership of the model to a group that includes the original creator and the collaborators, each of whom still needs USE CATALOG and USE SCHEMA. Grants on unrelated objects, such as MODIFY on a training table, have no bearing on alias rights. Neither does an account-level admin role: the CLI admits a metastore admin, not an account-console administrator.

    Checkpoint 6 of 7· Check yourself

    Three ML engineers need to promote versions of prod.ml_team.iris_model, which one of them created and owns. All three hold USE CATALOG, USE SCHEMA and EXECUTE on it. Which change lets each of them reassign the Champion alias?

    Checkpoint 7 of 7· Exam question

    A data scientist who does not own the registered model prod.risk.credit_model, but who holds USE CATALOG on prod and USE SCHEMA on prod.risk, runs client.set_registered_model_alias("prod.risk.credit_model", "champion", 4) and gets a permission error. What is the most likely cause, and what should the team grant to let this person promote model versions with aliases going forward?

    Sources314

    Practise it for real

    Promote a validated version to Champion, confirm what the alias resolves to, then roll it back, all without touching inference code.

    1. 1.As the owner of the registered model prod.ml_team.iris_model, which has at least two versions, run client.set_registered_model_alias("prod.ml_team.iris_model", "Champion", 1).

      Why: Creates the alias that inference code will load.

      You should see: The call succeeds, and Champion now points at version 1.

    2. 2.Load models:/prod.ml_team.iris_model@Champion with mlflow.pyfunc.load_model and run predict on a sample.

      Why: Inference addresses the alias, not a version number.

      You should see: Predictions come from version 1.

    3. 3.Reassign the alias with client.set_registered_model_alias("prod.ml_team.iris_model", "Champion", 2), then call client.get_model_version_by_alias for Champion.

      Why: Promotion is a pointer move to an existing version.

      You should see: The returned model version is version 2, and loading @Champion again uses version 2 with no code change.

    4. 4.Roll back by setting Champion to version 1 again, then confirm with databricks model-versions get-by-alias prod.ml_team.iris_model Champion.

      Why: Rollback is the same call pointed at the previous version, and version 2 stays registered.

      You should see: The CLI returns version 1.

    Stuck? Get a nudge

    If the set call fails with a permission error, check whether you own the registered model. USE CATALOG and USE SCHEMA alone are not enough.

    Sources

    (4)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “To manage the deployment status, use model aliases.”
      ↩︎ Aliases mark deployment status, catalogs mark environment
      “Stages are not supported for models in Unity Catalog.”
      ↩︎ Aliases mark deployment status, catalogs mark environment
      “You can set, update, and remove aliases for models in Unity Catalog using Catalog Explorer.”
      ↩︎ Aliases mark deployment status, catalogs mark environment
      “the batch inference workload automatically picks it up on its next execution.”
      ↩︎ Promoting and rolling back by reassigning the alias
      “This allows you to decouple model deployments from your batch inference workloads.”
      ↩︎ Promoting and rolling back by reassigning the alias
      “You can use aliases to indicate the deployment status of a model version.”
      ↩︎ Promoting and rolling back by reassigning the alias
      “Permissions required: Owner of the registered model, plus USE SCHEMA and USE CATALOG privileges on the schema and catalog containing the model.”
      ↩︎ Who may set or move an alias
      “you must grant ownership of the model to a group”
      ↩︎ Who may set or move an alias
      “Model aliases allow you to assign a mutable, named reference to a particular version of a registered model.”
      ↩︎ Key concept
      “Stages are not supported for models in Unity Catalog.”
      ↩︎ Exam trap 1
      “Using the prod catalog doesn't necessarily mean that the model version serves production traffic.”
      ↩︎ Exam trap 2
      “the batch inference workload automatically picks it up on its next execution.”
      ↩︎ Exam trap 3
      “Databricks recommends using the three-level namespace in Unity Catalog to express the environment a model is in, and using aliases to promote models for deployment.”
      ↩︎ Checkpoint
      “Model aliases allow you to assign a mutable, named reference to a particular version of a registered model.”
      ↩︎ Prediction
    2. 2.
      “The primary function of the model validation pipeline is to determine whether a model should proceed to the deployment step.”
      ↩︎ How a version earns Challenger, then Champion
      “You can use tags to add key-value attributes depending on the outcome of these validation checks.”
      ↩︎ How a version earns Challenger, then Champion
      “An offline comparison evaluates both models against a held-out data set and tracks results using the MLflow Tracking server.”
      ↩︎ How a version earns Challenger, then Champion
      “The model deployment pipeline typically either directly promotes the newly trained”
      ↩︎ How a version earns Challenger, then Champion
      “The model deployment pipeline typically either directly promotes the newly trained “Challenger” model to “Champion” status using an alias update, or facilitates a comparison”
      ↩︎ Checkpoint
    3. 3.
      “To set an alias on a registered model, the principal must be the owner of the registered model.”
      ↩︎ Who may set or move an alias
    4. 4.
      “The caller must be a metastore admin or an owner of the registered model.”
      ↩︎ Who may set or move an alias
      “The caller must be a metastore admin or an owner of the registered model.”
      ↩︎ Exam trap 4

    Ready to test yourself?

    Practise the 6 questions on this subdomain.

    Spotted a mistake, or was something unclear? Tell us.