How do you run a canary rollout on Databricks Model Serving?
- Exam domain
- Model Deployment12% of the exam
- Difficulty
- Medium
- In this mock
- 6 questions on this domainPractise this domain
Why the exam asks this
Model Deployment (12% of the exam)
Objective in the exam guide: Implement a model rollout strategy using Databricks Model Serving.
Rollouts with Model Serving are named.
Why D is the answer
Serve both on one endpoint and shift traffic in steps
An endpoint can serve several entities with traffic percentages. Updating the config moves traffic gradually.
Remember: Shift traffic on one endpoint.
How it works
Model Serving traffic config implements rollouts.
In detail
- Multiple served entities.
- Traffic percentages.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Turn the endpoint off during the releaseWrong
Downtime is unnecessary.
B. Create a second workspace and move users there one by oneWrongMost tempting
Workspaces are not traffic routing.
Why it tempts: Separate environments seem safer.
C. Change the model code inside the running containerWrong
Containers are immutable releases.
D. Serve both on one endpoint and shift traffic in stepsRight
Shift traffic on one endpoint.
Use case
An illustrative scenario, not a real incident.
Illustrative: config updates move v4 from 10% to 50% to 100% over a week.
See it in different ways
sequenceDiagram participant P0 as Engineer participant P1 as Endpoint config participant P2 as Traffic P0->>P1: v4 at 10% P1->>P2: split 90/10 P0->>P1: v4 at 100%
How to read this chart
- 1. Engineer sends "v4 at 10%" to Endpoint config.
- 2. Endpoint config sends "split 90/10" to Traffic.
- 3. Engineer sends "v4 at 100%" to Endpoint config.
flowchart LR S0["Add v4 at 10%"] --> S1["Watch metrics"] --> S2["Raise to 50%"] --> S3["Raise to 100%"] --> S4["Remove v3"]
How to read this chart
- Read it in order: Add v4 at 10%, then Watch metrics, then Raise to 50%, then Raise to 100%, then Remove v3.