Databricks Databricks-Machine-Learning-Professional Actual Free Exam Questions & Community Discussion
Why is Apache Spark useful for machine learning training?
Correct Answer: B
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
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 the training set logged with the model, but a few of the feature values in the column spend have since been updated and arc present in the customer-level Spark DataFrame spark_df. The customer_id column is the primary key of spark_df and the training set used when training and logging the model. Which code block can be used to compute predictions for the training set while overwriting its old spend values with the new spend values from spark_df?
Correct Answer: D
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A data scientist has computed updated rows that contain new feature values for primary keys already stored in the Feature Store table features. The updated feature values are stored in the DataFrame features_df. They want to update the rows in features if the associated primary key is in features_df. If a row's primary key is not in features_df, they want the row to remain unchanged in features. Which code block can they use to perform this task using the Feature Store Client fs?
Correct Answer: D
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A Machine Learning Engineer is implementing integration tests for an ML pipeline in Databricks.
The current integration test runs the complete workflow but takes four hours to execute due to large dataset processing and extensive model training. They need to select an approach that will be the most effective for optimizing integration test execution while maintaining test reliability. The approach should also be based on MLOps best practices. Which approach will do this?
The current integration test runs the complete workflow but takes four hours to execute due to large dataset processing and extensive model training. They need to select an approach that will be the most effective for optimizing integration test execution while maintaining test reliability. The approach should also be based on MLOps best practices. Which approach will do this?
Correct Answer: D
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A Machine Learning Engineer wants to monitor the quality and stability of their machine learning model's predictions over time. They have a Delta table, retail_inference_log, which records each model prediction along with input features, a timestamp, and (when available) the true label. They need to detect data drift and monitor model performance trends using Databricks Lakehouse Monitoring, ensuring that alerts are triggered if the distribution of predictions or input features changes significantly. Which approach will set up monitoring for this use case?
Correct Answer: A
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A Data Scientist has trained a regression model using Spark's MLlib to predict housing prices.
The model needs to be evaluated to determine how well it predicts on a testing dataset. The Data Scientist wants to use a standard regression metric for the evaluation. They also want to evaluate the model with the least processing overhead required. Which approach will suit their needs?
The model needs to be evaluated to determine how well it predicts on a testing dataset. The Data Scientist wants to use a standard regression metric for the evaluation. They also want to evaluate the model with the least processing overhead required. Which approach will suit their needs?
Correct Answer: A
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Which of the following is an obstacle related to streaming machine learning applications?
Correct Answer: D
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A Machine Learning Engineer developed a dynamic pricing model in MLflow that requires values from the company's cloud database to generate predictions. At inference time the PyFunc model uses the cloud provider's Python SDK to retrieve the latest values from the database. The inference code works well in a notebook, but when the engineer deploys the model to Databricks Model Serving, they receive 401 errors saying the user is not authenticated when trying to access the database. The engineer deploys the code via the REST API with the following payload:

Their Databricks administrators store cloud credentials under a Databricks secret scope called
"cloud_creds" with key "db_key". These credentials can be used to authenticate to the cloud provider's SDK.
Which change can the engineer make so the endpoint can authenticate to the remote database while avoiding storing the access tokens in plain text?

Their Databricks administrators store cloud credentials under a Databricks secret scope called
"cloud_creds" with key "db_key". These credentials can be used to authenticate to the cloud provider's SDK.
Which change can the engineer make so the endpoint can authenticate to the remote database while avoiding storing the access tokens in plain text?
Correct Answer: B
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Which of the following MLflow operations can be used to delete a model from the MLflow Model Registry?
Correct Answer: C
Vote an answer
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?
Which location in Databricks will show this data?
Correct Answer: C
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
0
0
0
10
