A challenger version beat the champion in evaluation. How do you make it the production model in Unity Catalog?
- Exam domain
- Databricks Machine Learning36% of the exam
- Difficulty
- Medium
- In this mock
- 18 questions on this domainPractise this domain
Why the exam asks this
Databricks Machine Learning (36% of the exam)
Objective in the exam guide: Promote a challenger model to a champion model using aliases
Champion and challenger aliases are named.
Why B is the answer
Move the champion alias to the challenger version with set_registered_model_alias
Unity Catalog uses aliases. Serving and jobs load models@champion, so moving the alias promotes the new version without code changes.
Remember: Move the champion alias.
How it works
Aliases decouple consumers from version numbers.
In detail
- Aliases point to versions.
- Consumers load @champion.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Rename the model to include "prod"Wrong
Renaming breaks consumers.
B. Move the champion alias to the challenger version with set_registered_model_aliasRight
Move the champion alias.
C. Transition the challenger to the Production stage in the workspace registry with a requestWrongMost tempting
Stages are not used in Unity Catalog.
Why it tempts: Stages are the familiar older pattern.
D. Delete the old version so the new one becomes defaultWrong
Deleting loses rollback.
Use case
An illustrative scenario, not a real incident.
Illustrative: moving @champion from version 3 to 4 switches the nightly scoring job instantly.
See it in different ways
stateDiagram-v2 state "Version 3 is champion" as s0 state "Version 4 is challenger" as s1 state "Version 4 is champion" as s2 [*] --> s0 s0 --> s1: new model registered s1 --> s2: wins evaluation, alias moved s2 --> [*]
How to read this chart
- It starts at "Version 3 is champion".
- From "Version 3 is champion", "new model registered" moves it to "Version 4 is challenger".
- From "Version 4 is challenger", "wins evaluation, alias moved" moves it to "Version 4 is champion".
- It ends at "Version 4 is champion".
sequenceDiagram participant P0 as Evaluator participant P1 as MlflowClient participant P2 as Scoring job P0->>P1: set_registered_model_alias champion 4 P2-->>P1: load models/main.ml.churn@champion P1->>P2: version 4
How to read this chart
- 1. Evaluator sends "set_registered_model_alias champion 4" to MlflowClient.
- 2. MlflowClient gets a reply from Scoring job: "load models/main.ml.churn@champion".
- 3. MlflowClient sends "version 4" to Scoring job.