Certified Machine Learning Associate

Here you have the best Databricks Certified Machine Learning Associate practice exam questions

  • You have 140 total questions across 28 pages (5 per page)
  • These questions were last updated on February 4, 2026
  • This site is not affiliated with or endorsed by Databricks.
Question 1 of 140
A machine learning engineer has created a Feature Table new_table using Feature Store Client fs. When creating the table, they specified a metadata description with key information about the Feature Table. They now want to retrieve that metadata programmatically.
Which of the following lines of code will return the metadata description?
Suggested Answer: C

To retrieve the metadata description of a Feature Table that was created using the Feature Store Client, you can access the description attribute of the table object. Therefore, the line of code 'fs.get_table("new_table").description' will return the metadata description.

Community votes

No votes yet

Question 2 of 140
A data scientist has a Spark DataFrame spark_df. They want to create a new Spark DataFrame that contains only the rows from spark_df where the value in column price is greater than 0.
Which of the following code blocks will accomplish this task?
Suggested Answer: B

To filter rows in a Spark DataFrame where the value in a specific column meets a certain condition, the `filter` method is used. The correct way to reference a column within this method is by using the `col` function from `pyspark.sql.functions`. Therefore, the correct code block to create a new DataFrame containing only rows where the 'price' column is greater than 0 is `spark_df.filter(col('price') > 0)`. Other provided options either use incorrect syntax or methods not suitable for a Spark DataFrame.

Community votes

No votes yet

Question 3 of 140
A health organization is developing a classification model to determine whether or not a patient currently has a specific type of infection. The organization's leaders want to maximize the number of positive cases identified by the model.
Which of the following classification metrics should be used to evaluate the model?
Suggested Answer: E

Recall should be used to evaluate the model since it measures the proportion of actual positive cases that were correctly identified. This is particularly important for the health organization because they want to maximize the number of positive cases detected, thereby ensuring fewer positive cases are missed.

Community votes

No votes yet

Question 4 of 140
In which of the following situations is it preferable to impute missing feature values with their median value over the mean value?
Suggested Answer: C

When features contain a lot of extreme outliers, imputing missing values with the median is preferable over the mean because the median is less affected by extreme values. The mean can be skewed by these outliers, which would not provide an accurate central tendency of the data.

Community votes

No votes yet

Question 5 of 140
A data scientist has replaced missing values in their feature set with each respective feature variable’s median value. A colleague suggests that the data scientist is throwing away valuable information by doing this.
Which of the following approaches can they take to include as much information as possible in the feature set?
Suggested Answer: D

Creating a binary feature variable for each feature that contained missing values allows the model to identify whether any missing value was imputed. This retains the information about the missing values, which can sometimes hold predictive power and improve model performance.

Community votes

No votes yet

About the Databricks Certified Machine Learning Associate Certification Exam

About the Exam

The Databricks Certified Machine Learning Associate (Certified Machine Learning Associate) validates your knowledge and skills. Passing demonstrates proficiency and can boost your career prospects in the field.

How to Prepare

Work through all 140 practice questions across 28 pages. Focus on understanding the reasoning behind each answer rather than memorizing responses to be ready for any variation on the real exam.

Why Practice Exams?

Practice exams help you familiarize yourself with the question format, manage your time, and reduce anxiety on the test day. Our Certified Machine Learning Associate questions are regularly updated to reflect the latest exam objectives.