Databricks Machine Learning Associate exam dumps

Databricks Machine Learning Associate practice question 132 of 656

Databricks Certified Machine Learning Associate. Associate level, Databricks. Free question with the correct answer and a full explanation.

Databricks Machine Learning Associate Question 132

Select 3

You are managing models in a Databricks MLflow registry and need to programmatically transition a specific model version from the 'Staging' stage to the 'Production' stage using the MLflow Client API. Which of the following steps are required to successfully perform this operation?

  1. A

    Instantiate an MLflowClient object to interact with the model registry.

  2. B

    Retrieve the model's artifact location using the MLflowClient API.

  3. C

    Use the MLflowClient's transition_model_version_stage method to update the model's stage.

  4. D

    Set the model's new stage using the MLflowClient's set_model_version_tag method.

  5. E

    Provide the model name, version, and destination stage as arguments when transitioning the model's stage.

Show answer and explanation

Correct answers: A, C, E

Explanation

To transition a model's stage programmatically using the MLflow Client API, you need to instantiate an MLflowClient object, use the transition_model_version_stage method, and provide the necessary arguments such as the model name, version, and destination stage. Other operations like retrieving artifact locations or setting tags are not relevant to transitioning a model's stage.

  • A. Correct.

    Correct. To interact with the MLflow model registry programmatically, you first need to instantiate an MLflowClient object.

  • B. Incorrect.

    Incorrect. Retrieving the model's artifact location is not required to transition its stage.

  • C. Correct.

    Correct. The transition_model_version_stage method is used to update the stage of a model version in the MLflow model registry.

  • D. Incorrect.

    Incorrect. The set_model_version_tag method is used to add tags to a model version, not to transition its stage.

  • E. Correct.

    Correct. When transitioning a model's stage, you must specify the model's name, version, and the target stage (e.g., 'Production').

Timed practice exam

Take a Databricks Machine Learning Associate practice test under exam conditions

48 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam