Databricks Machine Learning Associate exam dumps

Databricks Machine Learning Associate practice question 121 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 121

Select 3

You are working on a machine learning project using Databricks and have trained a model that you want to register in the MLflow Model Registry. Which of the following steps are necessary to register the model using the MLflow Client API?

  1. A

    Initialize an MLflow client instance and specify the tracking URI.

  2. B

    Use the log_model method from the MLflow Client API to register the model.

  3. C

    Provide a model name when calling the create_registered_model method.

  4. D

    Use the create_model_version method to associate a model artifact with the registered model.

  5. E

    Call the transition_model_version_stage method to register the model.

Show answer and explanation

Correct answers: A, C, D

Explanation

To register a model using the MLflow Client API, you must initialize the MLflow client and specify a tracking URI to interact with the Model Registry. Then, you must create a registered model using create_registered_model and associate the model artifact with this registered model using the create_model_version method. The transition_model_version_stage method is not needed for initial registration but is used to transition a model version to a specific stage.

  • A. Correct.

    Correct. The MLflow Client API requires initializing the MLflow client and specifying the tracking URI to interact with the MLflow Model Registry.

  • B. Incorrect.

    Incorrect. The log_model method is used to log a model artifact, not to register it in the Model Registry.

  • C. Correct.

    Correct. A model name must be provided when creating a registered model using the create_registered_model method.

  • D. Correct.

    Correct. The create_model_version method is required to link the model artifact to the registered model and create a version of it.

  • E. Incorrect.

    Incorrect. The transition_model_version_stage method is used for transitioning a model version to a specific stage (e.g., Staging or Production) but is not required for model registration.

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