Databricks Certified Machine Learning Professional - Databricks-Machine-Learning-Professional Exam Practice Test

A machine learning engineer has developed a model and registered it using the FeatureStoreClient fs. The model has model URI model_uri. The engineer now needs to perform batch inference on customer-level Spark DataFrame spark_df, but it is missing a few of the static features that were used when training the model. The customer_id column is the primary key of spark_df and the training set used when training and logging the model.
Which of the following code blocks can be used to compute predictions for spark_df when the missing feature values can be found in the Feature Store by searching for features by customer_id?
Correct Answer: D
A Data Scientist is tasked with developing models to forecast product demand. The company offers 5000 different product types, and the Data Scientist must generate weekly forecasts for each type. They have access to two years of historical purchase data and are given ample project budget.
For their next project, they want to build 5000 separate Random Forest models, one for each product type. They aim to train all the models as quickly as possible with minimal setup.
Which approach meets these requirements?
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which of the following describes label drift?
Correct Answer: A
A Data Scientist at a company with rapidly increasing sales has deployed a scikit-learn model in production, which is retrained weekly on a single-node cluster. During the most recent retraining, the job failed due to an out-of-memory error. Upon investigation, the Data Scientist discovered that the training data had increased to 700GB as a result of the company's expanding customer base. Which approach will reliably resolve this issue in the long term?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A machine learning engineer has a machine learning pipeline where predictions are updated annually. The final prediction dataset contains millions of rows, and that dataset is irregularly accessed. Which solution should the machine learning engineer use to maintain cost efficiency?
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A Machine Learning Engineer has a computer vision model in Databricks Model Serving that obscures sensitive data from images. Internal teams use the model throughout the work week when they request access to new files. Recently model users complained that the model takes much longer in the morning. This coincides with when people arrive at work and request files for the day. When the engineer reviews the endpoint health metrics, they see P50 model latency peaks around 9AM at 20 seconds. Request rate also peaks at 9AM at 15 requests/second. The GPU utilization is over 60%, GPU memory usage over 50%, and provisioned concurrency at 4 throughout the day. What can the engineer do to reduce user wait time when request rate peaks at 9AM each morning?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A data scientist set up a machine learning pipeline to automatically log feature importance data from a CSV with each run. They now want to view the feature importance data in Databricks.
Which location in Databricks will show this data?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which component manages model versions?
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A machine learning engineer has detected that concept drift is occurring in a production machine learning application. Which result is the impact of concept drift?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).