Databricks ML Associate practice test

Updated September 20, 2026

Twenty questions across the four sections of the Databricks Machine Learning Associate exam, weighted roughly as the real exam is. The platform section carries the largest share, so it gets the most questions here.

Databricks Machine Learning

Question 1. What is the primary purpose of experiment tracking in an ML workflow?

  • A. To schedule training jobs
  • B. To reduce storage costs
  • C. To record parameters, metrics and artefacts so runs are comparable and reproducible
  • D. To encrypt the training data
Show answer

Answer: C

Tracking records parameters, metrics and artefacts per run so results are comparable and reproducible. It is not a scheduler or a storage optimisation.

Question 2. Which problem does a feature store primarily solve?

  • A. Inconsistent feature computation between training and serving
  • B. Slow cluster startup
  • C. Insufficient GPU memory
  • D. Dashboard rendering performance
Show answer

Answer: A

A feature store provides consistent feature definitions shared between training and serving, which is the direct remedy for training-serving skew.

Question 3. A model must be promoted from staging to production with an auditable record of who approved it. Which capability supports this?

  • A. Copying the model file to a production folder
  • B. A model registry with versioned stage transitions
  • C. Renaming the notebook
  • D. A comment in the training code
Show answer

Answer: B

A model registry records versions, stage transitions and approvals. Copying files between folders records nothing.

Question 4. Which statement about AutoML in a professional workflow is most accurate?

  • A. It removes the need to understand the data
  • B. It always outperforms hand-tuned models
  • C. It should be used as the final model without review
  • D. It quickly establishes a baseline and produces code you can review and extend
Show answer

Answer: D

AutoML is best used to establish a baseline quickly and to generate reviewable code, not as an unexamined final answer.

Question 5. Training data must be reproducible for an audit two years later. What should be recorded with the run?

  • A. The table version or snapshot identifier of the training data
  • B. The number of rows only
  • C. The date the job ran
  • D. The cluster’s instance type
Show answer

Answer: A

The table version or snapshot identifier pins the exact data used. Row counts and dates are not sufficient to reconstruct the dataset.

Question 6. A team runs dozens of training variants and cannot tell which produced the best result. What is missing?

  • A. A larger cluster
  • B. More training variants
  • C. Consistent logging of parameters and metrics for every run
  • D. A faster storage tier
Show answer

Answer: C

Consistent logging of parameters and metrics per run makes comparison possible. Larger clusters and more variants worsen the problem.

Question 7. Which is the correct reason to use a managed cluster runtime designed for machine learning?

  • A. It is always cheaper
  • B. It ships compatible ML libraries and drivers, avoiding dependency conflicts
  • C. It disables logging by default
  • D. It prevents the use of custom libraries
Show answer

Answer: B

It ships with compatible ML libraries and drivers pre-installed, removing dependency conflicts that consume time on general-purpose runtimes.

Question 8. An experiment run cannot be reproduced because a library version changed. What should have been captured?

  • A. The notebook’s author
  • B. The cluster’s uptime
  • C. The dashboard used to view results
  • D. The environment specification, including library versions
Show answer

Answer: D

The environment specification, including library versions, must be recorded with the run for reproducibility.

ML Workflows

Question 9. A dataset is split randomly into train and test, but the data is a time series. What is the problem?

  • A. Random splitting leaks future information into training
  • B. The test set will be too small
  • C. Random splitting is slower
  • D. There is no problem
Show answer

Answer: A

Random splitting leaks future information into training, producing optimistic results that collapse in production. Time series require chronological splits.

Question 10. A feature is computed from the target variable. What is the likely outcome?

  • A. Training will fail
  • B. The model will underfit
  • C. Validation scores will look excellent and production performance will be poor
  • D. Training will be slower
Show answer

Answer: C

Target leakage produces excellent validation scores and poor production performance, because the feature is unavailable at inference.

Question 11. Categorical features must be encoded consistently in training and serving. What is the safest approach?

  • A. Re-fit the encoder on each serving batch
  • B. Fit the encoder during training and persist it for reuse at serving
  • C. Use random integers for categories
  • D. Drop categorical features
Show answer

Answer: B

Fitting the encoder on training data and persisting it for reuse at serving keeps the mapping identical. Re-fitting at serving time produces different encodings.

Question 12. Cross-validation scores vary widely across folds. What does this suggest?

  • A. The model is ready for production
  • B. The learning rate is too high
  • C. The dataset is too large
  • D. The performance estimate is unstable and should not be relied on as-is
Show answer

Answer: D

High variance across folds means the estimate is unstable, usually due to limited or heterogeneous data, and the headline score should not be trusted.

Model Development

Question 13. A binary classifier for rare events achieves 99% accuracy but never predicts the positive class. Which metric should replace accuracy?

  • A. Precision, recall or area under the precision-recall curve
  • B. Accuracy on a larger sample
  • C. Training loss
  • D. Mean squared error
Show answer

Answer: A

Precision, recall or area under the precision-recall curve reflect performance on the rare class. Accuracy is dominated by the majority class.

Question 14. Training loss keeps falling while validation loss rises. What is happening and what helps?

  • A. Underfitting; train longer
  • B. Overfitting; apply regularisation, early stopping or more data
  • C. Data leakage; remove the target
  • D. Class imbalance; resample
Show answer

Answer: B

This is overfitting; regularisation, early stopping or more data address it. Training longer makes it worse.

Question 15. Hyperparameter search must cover a large space within a limited budget. Which strategy is most efficient?

  • A. Exhaustive grid search
  • B. A single run with defaults
  • C. Adaptive or Bayesian search with early stopping of unpromising trials
  • D. Manual tuning by intuition
Show answer

Answer: C

Adaptive or Bayesian search concentrates evaluations in promising regions and prunes poor trials, using the budget better than exhaustive search.

Question 16. A regression model must be evaluated where large errors are disproportionately costly. Which metric fits?

  • A. Root mean squared error
  • B. Mean absolute error
  • C. Accuracy
  • D. F1 score
Show answer

Answer: A

Root mean squared error penalises large errors more heavily than mean absolute error, matching the stated cost structure.

Question 17. Two models perform within half a percentage point of each other; one is far simpler. Which should usually be chosen?

  • A. The complex one, because it scores higher
  • B. The simpler one
  • C. Neither, until a third is built
  • D. Both, deployed in parallel permanently
Show answer

Answer: B

When performance is effectively equal, the simpler model is cheaper to operate, easier to explain and less likely to break. Marginal gains rarely justify complexity.

Question 18. A stakeholder asks which features drove a specific prediction. What supports this?

  • A. The model’s overall accuracy
  • B. The training duration
  • C. Global feature importance only
  • D. Per-prediction feature attribution
Show answer

Answer: D

Per-prediction feature attribution explains an individual outcome. Global importance describes the model overall, not one decision.

Model Deployment

Question 19. Predictions are required for 60 million records overnight, with no latency constraint. Which serving mode fits?

  • A. A real-time endpoint running continuously
  • B. An interactive notebook run by hand
  • C. A scheduled batch inference job
  • D. A streaming endpoint per record
Show answer

Answer: C

Batch inference processes large volumes efficiently and costs nothing between runs. A live endpoint would run continuously for no benefit.

Question 20. A deployed model's accuracy declines over a year with no code change. What should monitoring detect?

  • A. Data and concept drift against the training baseline
  • B. Increased inference latency
  • C. Rising storage costs
  • D. A larger number of API callers
Show answer

Answer: A

Drift between production inputs and the training distribution, or a change in the target relationship, explains gradual decline. Latency and cost would not reveal it.

How did you do?

Sixteen or more correct suggests you are close. Below fourteen, the section guides here are the fastest route back. Databricks does not publish a passing score for this exam, so treat specific numbers quoted elsewhere with caution.