Databricks Machine Learning Professional Question 98
Select 3You are a machine learning engineer managing the deployment of models using Databricks. Your team wants to automate the process of transitioning a model from staging to production when it passes specific test criteria. Which steps should you take to achieve this using the Model Registry Webhooks and Databricks Jobs?
- A
Create a Databricks Job that runs validation tests on newly registered models in the staging environment.
- B
Configure a Model Registry Webhook that triggers when a model is transitioned to the staging stage.
- C
Manually trigger the Databricks Job after a model is registered to the staging environment.
- D
Set up the Databricks Job to promote the model to production if validation tests pass.
- E
Use a Model Registry Webhook to automatically transition a model to production without additional validation.
Show answer and explanation
Correct answers: A, B, D
Explanation
To automate the model lifecycle using Model Registry Webhooks and Databricks Jobs, you need to configure a webhook to trigger a Databricks Job whenever a model is transitioned to the staging stage. The Databricks Job should include logic to validate the model and promote it to production if it meets the predefined criteria. This approach ensures that the entire process is automated and adheres to best practices for model deployment.
- A. Correct.
Correct: Creating a Databricks Job to perform validation tests is essential for automating the model lifecycle.
- B. Correct.
Correct: A Model Registry Webhook can trigger the job when a model is transitioned to staging, enabling automation.
- C. Incorrect.
Incorrect: Manually triggering the job would not automate the process, which is the goal of this task.
- D. Correct.
Correct: The Databricks Job should include logic to promote the model to production if it satisfies validation criteria.
- E. Incorrect.
Incorrect: Transitioning a model to production directly without validation is not a recommended practice for managing model lifecycle automation.