Databricks Machine Learning Associate exam dumps

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

Select 3

You are tasked with registering a trained machine learning model to the Unity Catalog registry using the MLflow Client API. Which of the following steps are necessary to successfully register the model?

  1. A

    Use the MLflow log_model() method to log the model to a specified tracking URI.

  2. B

    Ensure that the Unity Catalog feature is enabled and the workspace is properly configured to use it.

  3. C

    Use the MLflow set_registry_uri() method to point to the Unity Catalog registry URI.

  4. D

    Call the create_registered_model() method from the MLflow Client API to register the model in Unity Catalog.

  5. E

    Call the register_model() method from the MLflow Client API with the appropriate model URI and model name.

Show answer and explanation

Correct answers: B, C, E

Explanation

To register a model in the Unity Catalog registry using the MLflow Client API, Unity Catalog must be properly enabled and configured. The MLflow Client API must then point to the Unity Catalog registry using set_registry_uri(). Finally, the register_model() method must be used with the appropriate model URI and target model name to complete the registration process.

  • A. Incorrect.

    This step is related to logging the model to MLflow but does not directly address registering the model in the Unity Catalog registry.

  • B. Correct.

    Unity Catalog must be enabled and properly configured to use it as the registry for MLflow models. Without this setup, the Unity Catalog registry cannot be used.

  • C. Correct.

    The set_registry_uri() method ensures that the MLflow Client API interacts with the Unity Catalog as the model registry. This is a necessary step to utilize Unity Catalog.

  • D. Incorrect.

    The create_registered_model() method is used to create a new model registry entry in certain situations, but it is not required for registering a model in Unity Catalog specifically. The register_model() method is the correct choice for this purpose.

  • E. Correct.

    The register_model() method is the correct API call to register a logged model in the Unity Catalog registry. This method requires the model URI and the target model name.

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