Databricks Machine Learning Associate exam dumps

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

Select 3

You have trained a machine learning model for fraud detection using Databricks MLflow. Your team wants to deploy the model as a REST API for real-time inference. Which of the following steps are required to successfully deploy the model and query it for inference?

  1. A

    Register the model in the MLflow Model Registry.

  2. B

    Deploy the model as an MLflow REST API endpoint using Databricks Serving.

  3. C

    Run batch inference to test the model’s accuracy before deployment.

  4. D

    Obtain the REST API endpoint URL and authentication token for querying the model.

  5. E

    Write custom code to expose the model as a REST API outside of Databricks.

Show answer and explanation

Correct answers: A, B, D

Explanation

To deploy a model for real-time inference in Databricks, you must first register it in the MLflow Model Registry to version and manage the model. Next, you can use Databricks Serving to deploy the model as a REST API endpoint. After deployment, the REST API endpoint URL and authentication token are required for querying the model for inference. Writing custom code to expose the model as a REST API is unnecessary because Databricks provides native support for this functionality.

  • A. Correct.

    Correct: Registering the model in the MLflow Model Registry is a required step to manage and version the model before deployment.

  • B. Correct.

    Correct: Databricks Serving allows you to deploy a model as a REST API endpoint for real-time inference.

  • C. Incorrect.

    Incorrect: While batch inference is useful for testing, it is not a required step for deploying a model for real-time inference using Databricks Serving.

  • D. Correct.

    Correct: After deploying the model, you need the REST API endpoint URL and authentication token to query the model for inference.

  • E. Incorrect.

    Incorrect: Databricks provides native support for exposing models as REST APIs via Databricks Serving, so writing custom code is unnecessary.

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