Databricks Machine Learning Associate Question 135
Single answerYou are a data scientist working on a machine learning project in Databricks. You have just registered a new version of a model in the MLflow Model Registry. You now want to transition this model version to the 'Staging' stage for further testing. Which of the following actions would be required to request this stage transition using the MLflow Model Registry UI?
- A
Navigate to the model version in the Model Registry, click the 'Transition Stage' button, choose 'Staging', and confirm the transition.
- B
Navigate to the model version in the Model Registry, click the 'Request Transition' button, specify 'Staging', and submit the request.
- C
Use the Databricks CLI to transition the model version to the 'Staging' stage directly.
- D
Navigate to the model version in the Model Registry, click the 'Edit Metadata' button, and change the stage to 'Staging'.
Show answer and explanation
Correct answer: B
Explanation
In the MLflow Model Registry UI, if approval workflows are enforced, you must request stage transitions for a model version. This is done by navigating to the specific model version, clicking the 'Request Transition' button, selecting the desired stage (e.g., 'Staging'), and submitting the request. Direct transitions are only possible if you have the required permissions and no approval workflow is in place.
- A. Incorrect.
This option is incorrect because the 'Transition Stage' button is used for directly transitioning a model's stage (if you have the necessary permissions). However, when a request process is required, you need to use the 'Request Transition' button instead.
- B. Correct.
This option is correct because in the MLflow Model Registry UI, you use the 'Request Transition' button to request a stage transition to 'Staging'. This action is required when approval workflows are in place.
- C. Incorrect.
This option is incorrect because the Databricks CLI is not relevant to this specific question, which focuses on using the MLflow Model Registry UI.
- D. Incorrect.
This option is incorrect because the 'Edit Metadata' button is used for modifying metadata fields, not for transitioning or requesting transitions for model stages.