Databricks Machine Learning Associate exam dumps

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

Select 3

You are managing a model registry in Databricks and want to add metadata to a registered model to categorize it by its use case. Which of the following steps are necessary to set a tag for the model?

  1. A

    Use the MLflow client and call the set_tag method with the model name and the desired tag key-value pair.

  2. B

    Navigate to the Databricks UI, find the registered model, and manually add the tag under the 'Tags' section.

  3. C

    Use the MLflow client and call the log_param method to add the tag as a parameter to the registered model.

  4. D

    Ensure you have permission to modify the model registry before setting the tag.

  5. E

    Use the MLflow client and call the delete_tag method to set a new tag for the model.

Show answer and explanation

Correct answers: A, B, D

Explanation

To set a tag for a registered model in Databricks, you can either use the MLflow client and call the set_tag method or manually add the tag through the Databricks UI. However, you need the appropriate permissions to modify the model registry. The log_param method and delete_tag method are not applicable for setting tags.

  • A. Correct.

    Correct: Using the MLflow client and calling the set_tag method is a valid way to set a tag for a registered model programmatically.

  • B. Correct.

    Correct: Tags can also be manually added through the Databricks UI by navigating to the registered model's details page.

  • C. Incorrect.

    Incorrect: The log_param method is used for logging parameters with runs, not for setting tags on a registered model.

  • D. Correct.

    Correct: Permissions to modify the model registry are required to perform actions like setting or removing tags.

  • E. Incorrect.

    Incorrect: The delete_tag method is used to remove an existing tag, not to set a new one.

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