Databricks Certified Machine Learning Associate · Domain 1 · 38% of exam

Databricks Machine Learning

Drill 20 practice questions focused entirely on Databricks Machine Learning for the Databricks Databricks-ML-Associate exam. Tap an answer for instant feedback and a full explanation — no sign-up, always free.

Verified answer20 questions
Question 1 of 20

A data scientist runs an AutoML classification experiment through the Databricks AutoML UI to predict customer churn. After the experiment completes, they want to understand and customize the feature engineering and hyperparameters used by the top-performing model. What is the most direct way to accomplish this in Databricks AutoML?

Reviewed for accuracy · Report an issue
Question 2 of 20

A data scientist runs a Databricks AutoML classification experiment on a highly imbalanced dataset where only 4% of records belong to the positive (fraud) class. After the experiment completes, they open the AutoML UI to evaluate the trained models. Which behavior should they expect from AutoML regarding how it handles this imbalanced dataset and reports its results?

Reviewed for accuracy · Report an issue
Question 3 of 20

A data scientist launches a Databricks AutoML classification experiment through the UI on a customer churn dataset. Before reviewing model results, they want to understand data quality issues such as missing values, high-cardinality columns, and column correlations that AutoML detected during preprocessing. Which artifact should they open to find this information?

Reviewed for accuracy · Report an issue
Question 4 of 20

A data scientist launches an AutoML classification experiment through the Databricks AutoML UI on a customer-churn dataset. After the experiment completes, they want to understand exactly what AutoML produced automatically before doing any manual work. Which two artifacts does every completed AutoML experiment generate and expose in the experiment UI?

Reviewed for accuracy · Report an issue
Question 5 of 20

A data scientist wants to launch an AutoML classification experiment directly from a notebook using the Python API rather than the AutoML UI. They have a Spark DataFrame named `churn_df`, the target column is `churned`, and they want AutoML to stop after 30 minutes. Which code snippet correctly starts the experiment?

Reviewed for accuracy · Report an issue
Question 6 of 20

A data scientist launches a Databricks AutoML forecasting experiment through the UI. They notice that AutoML asks them to select a 'time column' but does not offer options to manually configure a random train/validation/test split percentage the way they expect from a classification experiment. Why does AutoML handle the data split differently for this forecasting experiment?

Reviewed for accuracy · Report an issue
Question 7 of 20

A data scientist launches a Databricks AutoML classification experiment through the UI and sets the 'Timeout (minutes)' field to 30. After 30 minutes the experiment stops while several trial runs are still queued. What happens to the results the experiment has produced so far?

Reviewed for accuracy · Report an issue
Question 8 of 20

A data analyst wants to quickly benchmark several models for a customer churn classification problem using the Databricks AutoML UI. They have a Delta table registered in Unity Catalog and want AutoML to automatically try multiple algorithms and generate reproducible notebooks. When configuring the AutoML experiment through the UI, which combination of settings must they specify for the experiment to run correctly?

Reviewed for accuracy · Report an issue
Question 9 of 20

A demand-planning team wants to use Databricks AutoML through the UI to forecast weekly product sales for the next 12 weeks. Their Delta table contains a 'sales_date' column, a numeric 'units_sold' column, and a 'store_id' column identifying 40 different stores, each with its own time series. Which configuration is required for the AutoML forecasting experiment to produce separate forecasts per store?

Reviewed for accuracy · Report an issue
Question 10 of 20

A data scientist launches a Databricks AutoML forecasting experiment through the UI on a table of daily retail sales. After the experiment completes, they want to understand how far into the future the best model can predict and how AutoML determined the number of future periods to generate. Which combination of AutoML forecasting configuration settings controls the number of future time steps produced by the resulting model?

Reviewed for accuracy · Report an issue
Question 11 of 20

A data scientist runs a Databricks AutoML classification experiment. After it completes, they want to improve on the best model by manually adjusting a preprocessing step and re-tuning some hyperparameters, while keeping AutoML's automatically generated feature engineering as a starting point. What is the recommended way to do this within the AutoML workflow?

Reviewed for accuracy · Report an issue
Question 12 of 20

A data scientist launches an AutoML regression experiment through the Databricks UI to predict housing prices. After the experiment starts, they want to review how AutoML profiled the input dataset — including missing value counts, feature distributions, and detected column types — before any models were trained. Which AutoML-generated artifact should they open?

Reviewed for accuracy · Report an issue
Question 13 of 20

A data scientist launches a Databricks AutoML regression experiment through the UI to predict house prices. They want AutoML to rank and select the best trial based on how well predictions match actual values on a scale that penalizes larger errors more heavily, expressed in the same units as the target. Which primary evaluation metric should they configure for the experiment?

Reviewed for accuracy · Report an issue
Question 14 of 20

A data scientist wants to start a new interactive cluster to train a scikit-learn model and track it with MLflow autologging, using libraries like TensorFlow and XGBoost without manually installing them. When creating the cluster, which choice ensures these ML libraries and MLflow come preinstalled?

Reviewed for accuracy · Report an issue
Question 15 of 20

A data scientist working in a Databricks notebook on a Databricks Runtime for ML cluster wants to reuse a set of helper functions that are defined in a separate notebook named 'utils' located in the same workspace folder. They want the functions to become directly callable in their current notebook's Python session. Which approach accomplishes this?

Reviewed for accuracy · Report an issue
Question 16 of 20

A data scientist is setting up a new cluster to train a deep learning model with TensorFlow and track experiments with MLflow. They want an environment where common ML libraries and MLflow are preinstalled and GPU support is available without manual pip installs or configuration. Which cluster configuration best satisfies these requirements?

Reviewed for accuracy · Report an issue
Question 17 of 20

A data scientist is using a Databricks Feature Engineering client to build a training dataset. They call fe.create_training_set() with a DataFrame containing a 'customer_id' column and several FeatureLookup objects that pull columns from a feature table keyed on 'customer_id'. When they later call fe.log_model() and score new data with fe.score_batch(), they want the model to automatically retrieve the looked-up features at inference time using only the raw input containing 'customer_id'. Which behavior of the returned TrainingSet supports this workflow?

Reviewed for accuracy · Report an issue
Question 18 of 20

A data scientist has created a feature table in Unity Catalog named prod.retail.customer_features with primary key customer_id. They build a FeatureLookup to join these features onto a labeled training DataFrame using FeatureEngineeringClient.create_training_set(). When they call training_set.load_df(), the resulting DataFrame contains null values for all feature columns even though the feature table is fully populated. What is the most likely cause?

Reviewed for accuracy · Report an issue
Question 19 of 20

A data scientist is building a training dataset using a Databricks Feature Store feature table that stores time-varying customer metrics (e.g., rolling 30-day spend) with a timestamp column. Each training label event also has its own event timestamp. When creating the training set with FeatureLookup, the scientist wants to ensure that each label row is joined only with feature values that were known at or before the label's event time, preventing data leakage from future feature updates. Which approach correctly achieves this?

Reviewed for accuracy · Report an issue
Question 20 of 20

A data scientist creates a feature table in Unity Catalog containing customer aggregates keyed by customer_id. They train a model using a FeatureLookup so that the training set joins these features automatically. When the model is later deployed for batch inference, the inference DataFrame only contains customer_id and a few raw request columns. Which behavior should the data scientist expect when using score_batch (or the equivalent Feature Engineering scoring API) with this logged model?

Reviewed for accuracy · Report an issue

More Databricks-ML-Associate practice

Keep going with the other Databricks Certified Machine Learning Associate domains, or take a full timed mock exam.

← Back to Databricks-ML-Associate overview