Questions for the DATABRICKS MACHINE LEARNING PROFESSIONAL were updated on : Dec 01 ,2025
A machine learning engineer has created a webhook with the following code block:
Which of the following code blocks will trigger this webhook to run the associate job?
A)
B)
C)
D)
E)
C
A machine learning engineer wants to view all of the active MLflow Model Registry Webhooks for a
specific model.
They are using the following code block:
Which of the following changes does the machine learning engineer need to make to this code block
so it will successfully accomplish the task?
D
A machine learning engineer wants to programmatically create a new Databricks Job whose schedule
depends on the result of some automated tests in a machine learning pipeline.
Which of the following Databricks tools can be used to programmatically create the Job?
E
Which of the following MLflow operations can be used to delete a model from the MLflow Model
Registry?
E
A machine learning engineer is attempting to create a webhook that will trigger a Databricks Job
job_id when a model version for model model transitions into any MLflow Model Registry stage.
They have the following incomplete code block:
Which of the following lines of code can be used to fill in the blank so that the code block
accomplishes the task?
C
Which of the following Databricks-managed MLflow capabilities is a centralized model store?
C
A machine learning engineer wants to move their model version model_version for the MLflow
Model Registry model model from the Staging stage to the Production stage using MLflow Client
client. At the same time, they would like to archive any model versions that are already in the
Production stage.
Which of the following code blocks can they use to accomplish the task?
A)
B)
C)
D)
C
A machine learning engineering manager has asked all of the engineers on their team to add text
descriptions to each of the model projects in the MLflow Model Registry. They are starting with the
model project "model" and they'd like to add the text in the model_description variable.
The team is using the following line of code:
Which of the following changes does the team need to make to the above code block to accomplish
the task?
B
A machine learning engineer wants to log and deploy a model as an MLflow pyfunc model. They
have custom preprocessing that needs to be completed on feature variables prior to fitting the model
or computing predictions using that model. They decide to wrap this preprocessing in a custom
model class ModelWithPreprocess, where the preprocessing is performed when calling fit and when
calling predict. They then log the fitted model of the ModelWithPreprocess class as a pyfunc model.
Which of the following is a benefit of this approach when loading the logged pyfunc model for
downstream deployment?
E
Which of the following MLflow Model Registry use cases requires the use of an HTTP Webhook?
B
Which of the following lists all of the model stages are available in the MLflow Model Registry?
A
Which of the following is an advantage of using the python_function(pyfunc) model flavor over the
built-in library-specific model flavors?
B
A machine learning engineer is manually refreshing a model in an existing machine learning pipeline.
The pipeline uses the MLflow Model Registry model "project". The machine learning engineer would
like to add a new version of the model to "project".
Which of the following MLflow operations can the machine learning engineer use to accomplish this
task?
B
A machine learning engineer wants to move their model version model_version for the MLflow
Model Registry model model from the Staging stage to the Production stage using MLflow Client
client.
Which of the following code blocks can they use to accomplish the task?
A)
B)
C)
D)
E)
A
A machine learning engineer is migrating a machine learning pipeline to use Databricks Machine
Learning. They have programmatically identified the best run from an MLflow Experiment and stored
its URI in the model_uri variable and its Run ID in the run_id variable. They have also determined
that the model was logged with the name "model". Now, the machine learning engineer wants to
register that model in the MLflow Model Registry with the name "best_model".
Which of the following lines of code can they use to register the model to the MLflow Model
Registry?
D