DATABRICKS certification preparation

DATABRICKS-MACHINE-LEARNING-ASSOCIATE Practice Questions

Practice exam-style questions, check your answers, and review explanations and source references where they are available.

Exam
DATABRICKS-MACHINE-LEARNING-ASSOCIATE
Provider
DATABRICKS
Full set
74 questions
Last Update Check

If you are interested in advancing your career in data science or looking to expand your machine learning knowledge, the DATABRICKS-MACHINE-LEARNING-ASSOCIATE certification exam is a fantastic place to start. This exam tests your foundational knowledge of ML concepts and Databricks services. With the help of our real exam questions, you can prepare effectively and greatly increase your chances of passing. We design our practice questions to closely simulate the real test environment, ensuring we cover the exact same topics as the actual exam to test your understanding.

A data scientist has developed a linear regression model using Spark ML and computed the predictions in a Spark DataFrame preds_df with the following schema: prediction DOUBLE actual DOUBLE Which of the following code blocks can be used to compute the root mean-squared-error of the model according to the data in preds_df and assign it to the rmse variable? A) Databricks Machine Learning Associate question B) Databricks Machine Learning Associate question C) Databricks Machine Learning Associate question D) Databricks Machine Learning Associate question
Answer options
The implementation of linear regression in Spark ML first attempts to solve the linear regression problem using matrix decomposition, but this method does not scale well to large datasets with a large number of variables. Which of the following approaches does Spark ML use to distribute the training of a linear regression model for large data?
Answer options
A data scientist wants to parallelize the training of trees in a gradient boosted tree to speed up the training process. A colleague suggests that parallelizing a boosted tree algorithm can be difficult. Which of the following describes why?
Answer options
A machine learning engineer wants to parallelize the inference of group-specific models using the Pandas Function API. They have developed the apply_model function that will look up and load the correct model for each group, and they want to apply it to each group of DataFrame df. They have written the following incomplete code block: Databricks Machine Learning Associate question Which piece of code can be used to fill in the above blank to complete the task?
Answer options
Which of the Spark operations can be used to randomly split a Spark DataFrame into a training DataFrame and a test DataFrame for downstream use?
Answer options
A data scientist is attempting to tune a logistic regression model logistic using scikit-learn. They want to specify a search space for two hyperparameters and let the tuning process randomly select values for each evaluation. They attempt to run the following code block, but it does not accomplish the desired task: Which of the following changes can the data scientist make to accomplish the task?
Answer options
Which of the following is a benefit of using vectorized pandas UDFs instead of standard PySpark UDFs?
Answer options
A data scientist is developing a machine learning pipeline using AutoML on Databricks Machine Learning. Which of the following steps will the data scientist need to perform outside of their AutoML experiment?
Answer options
A data scientist has defined a Pandas UDF function predict to parallelize the inference process for a single-node model: They have written the following incomplete code block to use predict to score each record of Spark DataFrame spark_df: Databricks Machine Learning Associate question Which of the following lines of code can be used to complete the code block to successfully complete the task?
Answer options
Which of the following hyperparameter optimization methods automatically makes informed selections of hyperparameter values based on previous trials for each iterative model evaluation?
Answer options
Question 1 of 10

Source context

How this practice set is maintained

Maintained by the CertMage content team, this page loads questions from the exam dataset connected to its preparation resource. When an answer includes a supporting reference, it is shown with that answer so you can review the underlying vendor documentation.

Certification objectives, interfaces, and vendor services can change. Verify important details against the provider's current exam guide and documentation before your exam.

Scroll to Top