Which practice best reflects an MLOps strategy on Databricks?
- 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: Identify the best practices of an MLOps strategy
MLOps best practices are named.
Why B is the answer
Separate environments, version code, track runs, govern models
MLOps on Databricks separates environments, versions code, tracks experiments and governs data and models centrally, so changes are reproducible and reviewed.
Remember: Separate, version, track, govern.
How it works
MLOps applies software discipline to models: environments, versioning, tracking and governance.
In detail
- Separate environments.
- Track, version and govern.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Keep one workspace for everything so dev, staging and prod data mix freelyWrong
Mixed environments risk prod data and stability.
B. Separate environments, version code, track runs, govern modelsRight
Separate, version, track, govern.
C. Skip tracking until the model is in productionWrong
Tracking late loses lineage.
D. Train in a personal notebook and copy the pickle file to production by hand whenever results look goodWrongMost tempting
Manual copies are not reproducible or auditable.
Why it tempts: It works once, so it feels good enough.
Use case
An illustrative scenario, not a real incident.
Illustrative: a churn model moves from dev to prod through Git pull requests, with every run logged in MLflow.
See it in different ways
flowchart LR S0["Features in Unity Catalog"] --> S1["Train and track in MLflow"] --> S2["Register in Unity Catalog"] --> S3["Alias champion"] --> S4["Serve and monitor"]
How to read this chart
- Read it in order: Features in Unity Catalog, then Train and track in MLflow, then Register in Unity Catalog, then Alias champion, then Serve and monitor.
mindmap
root(("MLOps"))
n1["Code"]
n2["Git"]
n3["CI"]
n4["Experiments"]
n5["MLflow"]
n6["Models"]
n7["Unity Catalog"]
n8["Environments"]
n9["Dev"]
n10["Staging"]
n11["Prod"]How to read this chart
- The centre is "MLOps".
- "Code" covers "Git", "CI".
- "Experiments" covers "MLflow".
- "Models" covers "Unity Catalog".
- "Environments" covers "Dev", "Staging", "Prod".