CertLumen

Databricks Machine Learning Associate · Section 1 · 38% of the exam

Identify scenarios where promoting code is preferred over promoting models and vice versa

One of the objectives of the Databricks Certified Machine Learning Associate exam, in the section “Databricks Machine Learning”. Here is what it covers, the points to remember and a question to try.

What it covers

An MLOps strategy moves ML code, data and models from development to production in a repeatable, governed way. This lesson covers the practices Databricks recommends (separate environments, Git, Unity Catalog, MLflow, automation, aliases, monitoring) and when to deploy code versus deploy models.

Points to remember

  • MLOps = DevOps + DataOps + ModelOps: version, test and govern code, data and models.
  • Separate dev, staging and prod environments (workspaces or at least catalogs) with clear promotion steps.
  • Code in Git with branches and pull requests; CI runs unit tests on pull requests and integration tests in staging.
  • Register models in the environment's catalog; a validated model gets @challenger, the version in use holds @champion; inference loads @champion.
  • Data scientists: read-write in dev, read-only in prod; production jobs run as service principals.

Try a question

An ML platform team is setting up Unity Catalog for MLOps. Which design follows Databricks best practices?

  1. AOne shared catalog for all environments, with model stages marking which versions are in production
  2. BSeparate dev, staging and prod catalogs; data scientists read-write in dev and read-only in prod
  3. CSeparate catalogs per data scientist, each holding its own copy of production data
  4. DA production catalog where data scientists have write access, so they can fix models quickly
Show the answer

B. Databricks recommends separate environments for dev, staging and prod, typically as separate catalogs. Data scientists have read-write access to the dev catalog and read-only access to production assets, while production pipelines run under controlled identities.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson MLOps strategy: environments, deploy code vs deploy models teaches this objective (about 35 minutes), and 14 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 48 objectives · Next objective →