Databricks Generative AI Engineer Associate exam dumps

Databricks Generative AI Engineer Associate practice question 213 of 306

Databricks Certified Generative AI Engineer Associate. Free level, Databricks. Free question with the correct answer and a full explanation.

Databricks Generative AI Engineer Associate Question 213

Select 4

You have trained a machine learning model using Databricks and logged it with MLflow. Your organization requires all production-ready models to be registered with Unity Catalog for better governance and sharing. Which of the following steps must be performed to register the model to Unity Catalog using MLflow?

  1. A

    Ensure the Unity Catalog is enabled for your Databricks workspace.

  2. B

    Use the MLflow log_model method to log the model to the Unity Catalog.

  3. C

    Assign a Unity Catalog model registry URI before registering the model.

  4. D

    Use the MLflow register_model function and specify the Unity Catalog model registry URI.

  5. E

    Grant appropriate permissions for the model in the Unity Catalog after registration.

Show answer and explanation

Correct answers: A, C, D, E

Explanation

Registering a model to Unity Catalog using MLflow involves enabling Unity Catalog in your Databricks workspace, specifying the Unity Catalog model registry URI, registering the model using the register_model function, and finally setting up permissions for the model in Unity Catalog. The log_model function is unrelated to the registration process.

  • A. Correct.

    Correct: Unity Catalog must be enabled in your Databricks workspace to manage models and ensure governance.

  • B. Incorrect.

    Incorrect: The log_model method is used for logging a model artifact, not directly for registering it to Unity Catalog.

  • C. Correct.

    Correct: You need to specify the Unity Catalog model registry URI to integrate MLflow with Unity Catalog.

  • D. Correct.

    Correct: The register_model function in MLflow is used to register the model, and the Unity Catalog model registry URI must be specified.

  • E. Correct.

    Correct: After registering the model, appropriate permissions must be assigned within Unity Catalog to control access to the model.

Timed practice exam

Take a Databricks Generative AI Engineer Associate practice test under exam conditions

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

Start timed exam