Databricks Machine Learning Associate Question 127
Single answerYou are managing a machine learning model in Databricks Model Registry. The model has completed testing in the 'Staging' stage and is now ready for production deployment. Using the Model Registry UI, what steps should you take to transition the model to the 'Production' stage?
- A
Select the model version, click 'Transition to Stage', and choose 'Production' from the dropdown menu.
- B
Delete the model version in the 'Staging' stage and create a new version in the 'Production' stage.
- C
Select the model version, add a comment about the transition, and choose 'Production' from the dropdown menu.
- D
Use the Databricks CLI to transition the model to the 'Production' stage instead of using the UI.
Show answer and explanation
Correct answer: A
Explanation
To transition a model's stage in the Databricks Model Registry UI, you need to select the appropriate model version, click 'Transition to Stage', and select the desired stage (in this case, 'Production'). This process ensures proper tracking of the model's lifecycle without requiring deletion or recreation of the model.
- A. Correct.
Correct. Using the Model Registry UI, you can select the model version, click 'Transition to Stage', and choose 'Production' to move the model to the 'Production' stage.
- B. Incorrect.
Incorrect. Deleting and recreating the model version is unnecessary and not a best practice when transitioning stages in the Model Registry.
- C. Incorrect.
Incorrect. While adding a comment is optional and can provide context, it is not required to transition the model to 'Production'.
- D. Incorrect.
Incorrect. The Databricks CLI can be used for model transitions, but this question specifically asks about using the UI.