Databricks ML Professional
Step 2 · Tier 3 — distributed training & MLflow
Step 2 · Tier 3 — Databricks Certified Machine Learning Professional
Official page: databricks.com/learn/certification/machine-learning-professional Docs: docs.databricks.com · Training: databricks.com/learn
The most operational exam in this guide
Every certification in Step 2 claims to be about production machine learning. This one means it.
There is almost no model theory here. You will not be asked which activation function to use or how backpropagation works. You will be asked how to organise unit tests for a feature engineering pipeline, how to manage environment transitions under a deploy-code strategy, how to detect drift with Lakehouse Monitoring, and how to roll out a new model version without dropping traffic. It is a platform-specific MLOps exam with a machine learning subject matter, and it is the closest thing in this guide to a job description written as a test.
That also makes it the most honest signal on the list. Nobody passes this by cramming vocabulary, because the questions are about sequences of operations on a platform.
Exam facts
| Item | Detail |
| Name | Databricks Certified Machine Learning Professional |
| Level | Professional |
| Questions | 59 scored multiple choice (unscored items may also appear) |
| Duration | 120 minutes |
| Cost | $200 USD plus applicable tax |
| Delivery | Online proctored; no test aids permitted |
| Prerequisites | None required; 1+ year hands-on Databricks experience strongly recommended |
| Validity | 2 years |
| Recertification | Retake the full current version of the exam |
| Passing score | Not published by Databricks |
| Current guide | Version live as of 30 September 2025 |
About two minutes per question, which is comfortable for this question style — the stems are shorter than Google's. The constraint is knowledge, not clock.
Watch out Databricks updates its exam guides and states the date the described version went live. The published guide and the certification page have also disagreed on delivery details at times — for example, whether test-centre delivery is available. Re-read the exam guide PDF and the live registration page within two weeks of booking, and trust the registration page for logistics.
Who this is for
Take it if your organisation runs Databricks and you own — or want to own — the production ML pipeline. Take it if you are a data engineer moving into ML, or an ML practitioner who has been handed responsibility for deployment and monitoring. Take it if MLflow, Unity Catalog, and Spark are already part of your week.
Skip it if you do not have access to a real Databricks workspace with meaningful data. The free practice environment goes a long way, as we will see, but it does not cover everything the exam scopes.
Skip it, too, if you have never written Spark ML code. This is the single most common reason strong candidates fail: modern practitioners often work entirely in pandas and scikit-learn, and Section 1 assumes fluency with Spark ML pipelines, estimators, and transformers. If that vocabulary is unfamiliar, that gap alone is two or three weeks of work.
The blueprint (version live 30 September 2025)
| Section | Weight |
| 1. Model Development | 44% |
| 2. MLOps | 44% |
| 3. Model Deployment | 12% |
The current version consolidated what used to be four sections into three — experimentation and feature engineering were folded into Model Development. The practical consequence is that 88% of the exam is development and operations, with deployment strategy a small tail.
Section 1 — Model Development (44%). Four clusters, and all four carry weight:
- Spark ML — pipelines, estimators and transformers, fitting and transforming, evaluators, cross-validation. Know why a pipeline exists rather than a sequence of manual steps.
- Scaling and tuning — distributed training, parallelising hyperparameter search, and the modern tuning stack (Optuna, and Ray for distributed workloads). Know what parallelises cleanly and what does not.
- Advanced MLflow — nested runs, custom metrics and artefact logging, autologging behaviour, and custom PyFunc models, which reappear in Section 3. If you only know
mlflow.log_metric, you are under-prepared. - Feature engineering at production quality — feature tables, point-in-time lookups and why they prevent label leakage, online tables for low-latency serving, and streaming feature pipelines.
Section 2 — MLOps (44%). The heart of the exam:
- Model lifecycle management — the architecture of lifecycle pipelines and how environments transition under a deploy-code strategy (promote the code and retrain per environment) as opposed to deploy-model. Be able to map Databricks features onto each lifecycle activity.
- Validation testing — unit tests for individual functions, integration tests across pipelines, and which test type belongs in dev, staging, and production for each of the five common pipelines: feature engineering, training, evaluation, deployment, and inference.
- Environment architecture — designing scalable workspaces, and defining ML assets as code with asset bundles: model serving endpoints, MLflow experiments, and registered models.
- Drift and monitoring — Lakehouse Monitoring for data and inference quality, drift detection, baselines, metric tables, and alerting. This is the largest single cluster of objectives in the guide.
Section 3 — Model Deployment (12%). Small but concrete. Compare blue-green and canary deployment and judge which suits high-traffic applications; implement a rollout with Model Serving. Then custom serving: register a custom PyFunc model with its artefacts in Unity Catalog, and query it through the REST API or the MLflow Deployments SDK.
Key idea Two ideas unlock a disproportionate number of questions. First, deploy code, not models — Databricks' recommended pattern promotes the pipeline through environments and retrains, rather than promoting a trained artefact. Second, point-in-time correctness — features must be as of the moment the label was generated, or you have leaked the future into training. Get both cold.
Watch out Naming is in flux. The asset-as-code feature has been known as Databricks Asset Bundles (DABs), and Databricks' certification page currently describes it as Declarative Automation Bundles. Same concept, and the exam guide and documentation may not agree on the label. Learn the mechanism, and recognise both names.
Important concepts
The blueprint bullets above are the map. The sections below are the teaching — dense enough to study with Free Edition, Academy courses, and docs.databricks.com.
Section 1 — Model Development (44%)
#### Spark ML pipelines, estimators, transformers
WHAT. In Spark ML, a Transformer maps a DataFrame to a DataFrame (for example, StringIndexer, VectorAssembler). An Estimator fits on data to produce a Transformer (for example, a LogisticRegression model). A Pipeline chains stages so fit/transform apply in order with the same wiring at train and apply time. Evaluators score predictions. CrossValidator / TrainValidationSplit tune hyperparameters with distributed trials.
WHY for this exam. 44% starts here. Pandas/sklearn muscle does not substitute — the API and the pipeline discipline are assumed.
HOW. Put feature stages and the model in one Pipeline so you never “forget” an indexer in production. fit on train; transform on val/test/prod. Use evaluators matched to the task. Prefer Pipeline + CrossValidator over ad-hoc cell order.
Example. Index categoricals → assemble vectors → classify, all inside a Pipeline. New data in production hits the same PipelineModel; no hand-copied stage list.
Analogy. A baking recipe card (Pipeline) beats a chef who “just remembers” the steps — especially when another shift has to reproduce the cake.
Exam trap. Fitting a StringIndexer on all data including test labels’ categories only, or applying stages out of order so production lacks a column the model expects.
#### Scaling and hyperparameter search
WHAT. Spark distributes data-parallel workloads. Hyperparameter search parallelises trials (grid/random; Optuna-style adaptive search; Ray for distributed trial execution where in scope). Not every step parallelises cleanly — tiny data on a huge cluster wastes overhead.
WHY for this exam. Know what scales and what to tune when time/budget are limited.
HOW. Use distributed CV when data and trial count justify it. Cap search spaces. Log trials in MLflow. Avoid massive clusters for toy frames.
Exam trap. “Add more executors” as the answer when the bottleneck is a single-node Python UDF that does not distribute.
#### Advanced MLflow and custom PyFunc
WHAT. Nested runs organise parent experiments with child trials. Log custom metrics, parameters, and artefacts (plots, vocab files). Autologging captures many frameworks automatically — know what it does and does not grab. A custom PyFunc wraps arbitrary Python inference (preprocessing + model + postprocessing) behind MLflow’s predict interface so serving stays standard.
WHY for this exam. If you only know mlflow.log_metric, you are under-prepared. PyFunc returns in Section 3 deployment.
HOW. Nest CV trials under one parent run. Log the confusion matrix artefact, not only accuracy. For non-standard inference graphs, implement PyFunc, package dependencies, register to Unity Catalog, serve later via Model Serving.
Example. A rules filter plus a sklearn model plus a threshold → one PyFunc so callers see a single predict. Nested runs: parent “exp-42”, children each hyperparameter set.
Exam trap. Assuming autolog captured your hand-computed business metric — it did not; log it yourself. Or serving a pickle with a side-car script instead of PyFunc when the exam wants a registered model.
#### Point-in-time features and Feature Store patterns
WHAT. Feature tables store versioned features keyed by entity and time. A point-in-time lookup joins features *as they existed at the timestamp of the label*, not “the latest row now.” Online tables serve low-latency features for endpoints. Streaming pipelines keep features fresh.
WHY for this exam. Point-in-time correctness prevents label leakage — the second key idea of the whole credential.
HOW. When building training sets, always specify the timestamp of the event/label and retrieve features valid at or before that time. Never join “current” customer balance onto a historical churn label. Use online stores for serving paths that need millisecond reads.
Example. Predicting default at loan application time: features must be as-of application, not including post-application payments. Without point-in-time joins, you train on the future.
Analogy. Grading a history exam with tomorrow’s newspaper on the desk — that is leakage.
Exam trap. Joining the newest dimension table onto historical events and celebrating an unbeatable AUC.
Section 2 — MLOps (44%)
#### Deploy-code versus deploy-model
WHAT. Deploy-model promotes a trained artefact (weights) across environments. Deploy-code (Databricks-recommended pattern in the guide) promotes the *pipeline code* through environments and retrains (or rebuilds) in each, so models are born from that environment’s data access, secrets, and tests.
WHY for this exam. Lifecycle questions hinge on this distinction. 44% of the paper is MLOps — this is the centrepin.
HOW. Prefer deploy-code when data access, credentials, and volume differ by environment and you want reproducible pipelines. Know when promoting a specific artefact is still required (for example, exact binary audit). Map workspace features: repos/bundles, jobs, registries, serving endpoints onto lifecycle stages.
Example. Dev → staging → prod: promote the training notebook/job definition via CI; staging retrain on staging data; only then promote serving config to prod after tests. Contrast: emailing a .bin from a laptop to prod (deploy-model gone wrong).
Exam trap. Copying a model file trained on dev sample data straight to prod serving and calling it “MLOps.”
#### Validation testing across pipelines
WHAT. Unit tests for individual functions (feature transforms). Integration tests across pipeline stages. Five common pipelines: feature engineering, training, evaluation, deployment, inference — each needs the right test *type* in dev, staging, and production.
WHY for this exam. Explicit objective cluster. “We have tests” is not enough; *which* tests *where*.
HOW. Dev: fast unit tests on transforms. Staging: integration on full pipeline with sample data and eval gates. Prod: smoke tests, monitoring, and controlled rollouts — not a 40-minute CV job on every request path. Match intensity to risk.
Exam trap. Running heavy training integration tests in the synchronous inference path, or shipping with only unit tests on a helper and no pipeline integration.
#### Environment architecture and asset bundles
WHAT. Scalable workspaces separate concerns (dev/staging/prod, maybe per team). Asset bundles (a.k.a. Databricks Asset Bundles / Declarative Automation Bundles — learn both labels) define ML assets as code: serving endpoints, MLflow experiments, registered models, jobs.
WHY for this exam. Infrastructure-as-code for ML assets is in scope; the product name may flip between guide and docs.
HOW. Encode endpoints and jobs in bundle config; deploy from CI. Do not click-ops production endpoints. Keep environment-specific values (catalogue names, cluster policies) outside hard-coded notebooks.
Exam trap. Answering with only the UI clickpath when the stem asks how to define endpoints as code.
#### Lakehouse Monitoring
WHAT. Lakehouse Monitoring profiles data and inference tables, compares to baselines, writes metric tables, detects drift, and supports alerting. Covers data quality and prediction/inference quality monitoring patterns described in the guide.
WHY for this exam. Largest single objective cluster in MLOps. Under-study this and Section 2 collapses.
HOW. Enable monitoring on inference/feature tables; set a baseline from a known-good window; alert on drift or null spikes; feed alerts into retraining or investigation playbooks. Know what Free Edition cannot demonstrate — read the docs for online tables and enterprise limits.
Example. Inference table suddenly shows a new categorical level rate and null spike on amount → drift alert → check upstream ETL before blaming the model weights.
Exam trap. Treating monitoring as “optional dashboarding,” or confusing Lakehouse Monitoring with generic cluster metrics only.
Section 3 — Model Deployment (12%)
#### Blue-green versus canary
WHAT. Blue-green: two full environments (blue=live, green=new); switch traffic atomically when green is healthy. Canary: send a *fraction* of traffic to the new version, watch metrics, then ramp. Both appear with Model Serving rollouts.
WHY for this exam. Only 12%, but concrete and easy if you match pattern to traffic risk.
HOW. Need instant rollback and can afford double capacity → blue-green. Need to limit blast radius on high traffic / uncertain model → canary. Watch error rate, latency, and business metrics during rollout.
Example. High-traffic recommender: canary 5% → 25% → 100%. Low-traffic internal model with simple swap: blue-green.
Exam trap. Canary language for a full instantaneous cutover, or blue-green when the stem emphasises gradual percentage shift.
#### Custom PyFunc serving via Unity Catalog
WHAT. Register the PyFunc (and artefacts) in Unity Catalog, deploy with Model Serving, invoke via REST API or MLflow Deployments SDK.
WHY for this exam. The standard answer for “non-standard inference graph in production.”
HOW. Package code + dependencies → log/register PyFunc → grant UC permissions → create serving endpoint → call predict. Keep artefacts (tokenisers, rule files) inside the model package.
Exam trap. Leaving custom preprocessing only in a notebook outside the registered model so serving drifts from training.
Key idea Deploy code and retrain per environment; point-in-time features or you leaked the future; Lakehouse Monitoring for drift; PyFunc + Unity Catalog for custom serve; blue-green swaps, canary ramps.
Free preparation stack
Databricks has one of the strongest free stories of any vendor in this guide.
- Databricks Free Edition — the replacement for the retired Community Edition, and perpetually free. Serverless-only and quota-limited, but it gives you a real workspace with notebooks, MLflow, Unity Catalog, model serving, and dashboards. Verifying your identity through LinkedIn raises some limits. It is for learning, not commercial use.
- Databricks Academy self-paced courses — now free to all users. This is the significant change: courses that previously sat behind a paywall are available at no cost with an account. Work the ML and MLOps role paths, especially anything on machine learning at scale and advanced MLOps.
- The exam guide PDF — free, and the only authoritative objective list. Every bullet in it is a question that could be asked. Use it as a checklist, literally.
- The official AI Prep Guide, linked from the certification page — free, and designed to be used alongside the exam guide.
- docs.databricks.com — free and unusually good. Prioritise the MLflow, Feature Engineering, Model Serving, Lakehouse Monitoring, Unity Catalog model, and asset bundle sections.
- MLflow open-source documentation — free, and the deepest source on nested runs, PyFunc, and the deployments SDK. Much of Section 1 and Section 3 is MLflow knowledge that happens to be examined on Databricks.
Watch out Free Edition does not cover everything in scope. It is serverless-only, limits concurrent jobs and pipelines, and some features — online tables among them, which appear in the Feature Store objectives — are unavailable. Read those pages in the documentation and, if you can, borrow an hour in a full workspace at your employer to see them working. Know the Free Edition limitations page so you are not surprised mid-revision.
Optional paid: instructor-led Databricks training on machine learning at scale and advanced MLOps, and third-party practice exams. The exam fee itself is $200, and recertification every two years means budgeting that again.
Five-week sprint plan
Roughly 40–50 hours. Add two weeks if Spark ML is new to you.
Week 1 — Spark ML, properly. In Free Edition, build a Spark ML pipeline from raw data to evaluated model: transformers, an estimator, a pipeline, an evaluator, cross-validation. Do it twice so the API stops being a lookup. Then read the scaling documentation and run one distributed hyperparameter search.
Week 2 — MLflow beyond the basics. Track an experiment with nested runs, log custom metrics and artefacts, then register a model in Unity Catalog. Wrap something that is *not* a standard model — a preprocessing step plus a model, or a rules-plus-model hybrid — as a custom PyFunc, register it, and query it. That single exercise covers objectives in two sections.
Week 3 — Features and lifecycle. Build a feature table and perform a point-in-time lookup, and write down in your own words what would have gone wrong without it. Then study the deploy-code lifecycle: sketch dev, staging, and production, and mark which pipelines run and which tests execute in each.
Week 4 — Testing, bundles, and monitoring. Write real unit tests for one feature engineering function and an integration test across two pipeline stages. Define your workspace ML assets as a bundle and deploy them from the CLI. Then enable Lakehouse Monitoring on an inference table, feed it deliberately shifted data, and watch drift surface. Set one alert.
Week 5 — Deployment and review. Learn blue-green versus canary well enough to argue for one under a stated traffic pattern, and implement a versioned rollout on Model Serving. Then walk the exam guide bullet by bullet and mark each one green, amber, or red. Spend the remaining time exclusively on red, reading documentation rather than watching video. Rehearse the two-hour clock once.
Memorize this
- 88% is development and operations. Model Development 44%, MLOps 44%, Model Deployment 12%. Deployment strategy is a small tail — do not over-invest in it.
- 59 scored questions, 120 minutes, $200, valid two years, no published passing score. Recertify by retaking the current exam.
- Spark ML fluency is assumed. Pipelines, estimators, transformers, evaluators. Pandas-and-scikit-learn experience does not substitute.
- Deploy code, not models. Promote the pipeline through environments and retrain; know how that differs from promoting a trained artefact.
- Point-in-time lookups prevent label leakage. If you can explain why, you can answer the Feature Store questions.
- Custom PyFunc plus Unity Catalog is the answer to most "how do I serve something non-standard" questions, queried via REST API or the MLflow Deployments SDK.
- Lakehouse Monitoring is the largest single objective cluster. Baselines, metric tables, drift detection, alerting.
- Know which tests run where: unit tests on functions, integration tests across pipelines, and the right test type for dev, staging, and production.
- Asset bundles define ML assets as code — serving endpoints, experiments, registered models. Learn the mechanism; the product name has changed and may change again.
- Blue-green swaps environments; canary shifts a fraction of traffic. Match to the traffic pattern in the question.
- Free Edition plus free Academy courses cover most preparation — but not online tables and not the enterprise limits. Read the limitations page.
Where we go next
That completes the Step 2 ladder as mapped in this guide: NCA-GENL for the concepts beneath the API, the AWS ML Engineer – Associate for cloud-native ML operations, and Google Cloud Professional ML Engineer or this Databricks credential for platform depth at the top.
A closing note on sequencing. Nobody needs all four. The pattern that actually pays is one credential per layer — concepts, then your employer's cloud, then the platform your data lives on — with a working project behind each. Two certifications and two things you have built beats four badges and nothing to show, every time.
Reflect
Before you continue: what is one idea from this chapter you can apply this week? Write it down, then mark the chapter complete.