Databricks Machine Learning Professional exam dumps

Databricks Machine Learning Professional practice question 123 of 280

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

Databricks Machine Learning Professional Question 123

Select 4

You are managing webhooks in a Databricks workspace for an MLflow tracking server. You want to list all existing webhooks and delete a specific webhook by its ID. Which of the following steps should you take to achieve this?

  1. A

    Use the mlflow webhooks list command to retrieve all webhooks associated with the tracking server.

  2. B

    Use the MlflowClient class in the MLflow Python API and call the list_webhooks method to fetch all registered webhooks.

  3. C

    Utilize the REST API endpoint GET /api/2.0/mlflow/webhooks/list to retrieve all webhooks.

  4. D

    Use the MlflowClient class in the MLflow Python API and call the delete_webhook method with the webhook ID to delete a specific webhook.

  5. E

    Use the REST API endpoint DELETE /api/2.0/mlflow/webhooks/delete and provide the webhook ID as a parameter to delete a specific webhook.

Show answer and explanation

Correct answers: B, C, D, E

Explanation

To manage webhooks in Databricks for an MLflow tracking server, you can list all webhooks using either the list_webhooks method from the MlflowClient class or the REST API endpoint GET /api/2.0/mlflow/webhooks/list. To delete a webhook, you can use the delete_webhook method from the MlflowClient class or the REST API endpoint DELETE /api/2.0/mlflow/webhooks/delete. These are the supported approaches for managing webhooks in Databricks.

  • A. Incorrect.

    The mlflow webhooks list command does not exist in the MLflow CLI, so this option is incorrect.

  • B. Correct.

    The MlflowClient class provides a list_webhooks method in the MLflow Python API, which can be used to retrieve all registered webhooks. This is a valid approach.

  • C. Correct.

    The REST API endpoint GET /api/2.0/mlflow/webhooks/list is a valid method to list all webhooks associated with a tracking server.

  • D. Correct.

    The delete_webhook method of the MlflowClient class allows you to delete a webhook by providing its unique ID, making this a correct choice.

  • E. Correct.

    The REST API endpoint DELETE /api/2.0/mlflow/webhooks/delete is another valid method to delete a specific webhook by its ID.

Timed practice exam

Take a Databricks Machine Learning Professional practice test under exam conditions

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

Start timed exam