Courseiva

Databricks-ML-Assoc · topic practice

ML Workflows practice questions

This domain covers the end-to-end lifecycle of models on Databricks: tracking and registering with MLflow, packaging features in Feature Store, automating retraining with Jobs and Workflows, and serving models via Model Serving. Questions are scenario-based, asking you to pick the Databricks-native tool or step that fixes a described production or pipeline failure.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: ML Workflows

What the exam tests

What to know about ML Workflows

Be able to choose the right Databricks-native component for each lifecycle stage: MLflow for tracking and registry, Feature Store for reusable features, Jobs for orchestration, and Model Serving for endpoints. The key is matching the described failure or requirement to the correct service and its mandatory configuration step.

Using MLflow Tracking and the Model Registry to log, version, and promote models across stages

Building Feature Store tables and specifying online stores for low-latency inference

Configuring Databricks Jobs and Workflows, including cluster and library dependencies for ML runs

Deploying models with Databricks Model Serving and monitoring for data drift

Watch out for

Common ML Workflows exam traps

  • ▸Assuming a standalone web server matches Model Serving's autoscaling, governance, and integrated endpoint management
  • ▸Forgetting that online inference requires publishing features to an online store, not just the offline table
  • ▸Treating data drift as a code bug instead of monitoring input distributions and retraining on fresh data

Practice set

ML Workflows questions

20 questions · select your answer, then reveal the explanation

Question 1mediummulti select
Read the full ML Workflows explanation →

Which TWO of the following statements regarding the MLflow Model Registry in Databricks are true?

Question 2hardmultiple choice
Read the full ML Workflows explanation →

Refer to the exhibit. You are logging a model to the MLflow Model Registry. What is the primary purpose of providing the model signature and input example shown in the exhibit?

Exhibit

{
  "model_signature": {
    "inputs": [{"name": "feature_a", "type": "double"}, {"name": "feature_b", "type": "double"}],
    "outputs": [{"name": "prediction", "type": "double"}]
  },
  "input_example": {
    "feature_a": [1.0, 2.0],
    "feature_b": [3.0, 4.0]
  }
}
Question 3hardmultiple choice
Read the full ML Workflows explanation →

When using the Databricks Feature Store, what is the primary benefit of logging the feature table metadata when training a model?

Question 4mediummultiple choice
Read the full ML Workflows explanation →

Your organization requires that all models deployed to production are signed off by a human reviewer. Which Databricks feature should be used to enforce this workflow?

Question 5mediummultiple choice
Read the full ML Workflows explanation →

Refer to the exhibit. A data scientist is setting up a Databricks Workflow task. Which statement accurately describes the function of the 'base_parameters' field?

Exhibit

{
  "task_key": "TrainModel",
  "notebook_task": {
    "notebook_path": "/Shared/Train",
    "base_parameters": {
      "learning_rate": "0.01",
      "epochs": "10"
    }
  },
  "job_cluster_key": "ML_Cluster"
}
Question 6hardmultiple choice
Read the full ML Workflows explanation →

When using the Databricks Feature Store, why is it critical to use the 'feature_lookup' feature when training a model?

Question 7hardmultiple choice
Read the full ML Workflows explanation →

Refer to the exhibit. Why is this error occurring in the MLflow Model Registry workflow?

Exhibit

Error: Model 'MyModel' (version 1) is in the 'Staging' stage and cannot be deployed to 'Production' because the registry policy requires an 'Approved' status from a team lead.

Which TWO of the following statements are correct regarding the Databricks Model Registry?

Question 9easymultiple choice
Read the full ML Workflows explanation →

Which component of MLflow provides a centralized UI to compare runs, visualize metrics, and manage model versions?

Question 10mediummultiple choice
Read the full ML Workflows explanation →

Refer to the exhibit. What is the most likely cause of this error?

Exhibit

2023-10-27 10:00:00 [ERROR] Model deployment failed: Feature lookup for 'user_age' failed. Required feature not found in feature store.
Question 11hardmultiple choice
Read the full ML Workflows explanation →

You are training a model on a massive dataset and want to use Hyperopt to perform hyperparameter tuning across a distributed cluster. Which approach is most effective for scaling this process on Databricks?

Question 12mediummultiple choice
Read the full ML Workflows explanation →

A machine learning engineer is building a Databricks Job that trains a model and logs it with MLflow. The engineer wants to ensure that the exact library dependencies and environment used during training are captured so the model can be reliably reproduced later. Which approach should the engineer take?

A data scientist is using Databricks Feature Store to create a feature table for a model that will be served in real time. The feature table will be used both for training and for online inference. Which TWO of the following statements are correct regarding the necessary configuration? (Choose two.)

Question 14mediummultiple choice
Read the full ML Workflows explanation →

An ML engineer is building a training pipeline in Databricks that reads a large Delta table, applies a scikit-learn model, and logs parameters, metrics, and the model artifact using MLflow. The engineer notices that every run logs the full training dataset as an artifact, which is slow and unnecessary. The engineer wants to log only the model, metrics, and parameters while still enabling full reproducibility. Which MLflow feature should be used to capture the environment and code state without logging the dataset?

Question 15hardmultiple choice
Read the full ML Workflows explanation →

An ML engineer wants to ensure that a model registered in the Databricks Model Registry automatically transitions to the Production stage after passing a validation notebook that computes accuracy on a holdout set. They want this transition to be triggered from a Databricks Job. Which approach correctly implements this?

An ML engineer is using MLflow Tracking to log experiments for a model. They want to ensure that the experiment can be reproduced later and that the best model can be registered to the Databricks Model Registry. Which TWO actions should they take? (Choose two.)

A machine learning team is using Databricks Feature Store to build a training dataset for a fraud detection model. They want to ensure that the same feature computation logic is used during both training and online inference. Which TWO practices should they follow? (Choose two.)

Question 18mediummultiple choice
Read the full ML Workflows explanation →

An ML engineer is using MLflow Tracking with Databricks to log experiments for a fraud detection model. After several runs, they notice that the run's parameters, metrics, and artifacts are not appearing in the MLflow experiment UI. The engineer confirms that the code calls mlflow.start_run() and mlflow.log_param(). Which configuration is most likely missing to ensure logs are sent to the Databricks-hosted MLflow tracking server?

Question 19mediummultiple choice
Read the full ML Workflows explanation →

An ML engineer is deploying a model to production using Databricks Model Serving. The model was trained on a feature table in Databricks Feature Store. The engineer wants to ensure that the same feature transformations are applied during online inference as were used during training. Which approach correctly ensures consistency between training and inference?

Question 20mediummultiple choice
Study the full Python automation breakdown →

An ML engineer is evaluating a model with a custom Python function that logs a single numeric metric and a text summary. They want to compare this evaluation across multiple runs in the MLflow experiment UI. Which MLflow tracking function should they use to record both values in one call?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused ML Workflows sessions

Start a ML Workflows only practice session

Every question in these sessions is drawn from the ML Workflows domain — nothing else.

Related practice questions

Related Databricks-ML-Assoc topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the Databricks-ML-Assoc exam test about ML Workflows?
Be able to choose the right Databricks-native component for each lifecycle stage: MLflow for tracking and registry, Feature Store for reusable features, Jobs for orchestration, and Model Serving for endpoints. The key is matching the described failure or requirement to the correct service and its mandatory configuration step.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just ML Workflows questions in a focused session?
Yes — the session launcher on this page draws every question from the ML Workflows domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other Databricks-ML-Assoc topics?
Use the topic links above to move to related areas, or go back to the Databricks-ML-Assoc question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the Databricks-ML-Assoc exam covers. They are not copied from any real exam or dump site.