Databricks Machine Learning Associate exam dumps

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

Select 3

You are working on deploying a machine learning model for real-time inference using Databricks. After deploying your model as a REST API endpoint, you want to query the endpoint to ensure it responds correctly. Which of the following steps are required to successfully query the model endpoint for predictions?

  1. A

    Send an HTTP POST request to the model endpoint with the input data in JSON format.

  2. B

    Authenticate the request using the Databricks personal access token.

  3. C

    Package the model as a Python wheel file and upload it to the model endpoint.

  4. D

    Parse the JSON-formatted prediction response returned by the endpoint.

  5. E

    Ensure the cluster running the model endpoint has GPU support enabled.

Show answer and explanation

Correct answers: A, B, D

Explanation

To query a model endpoint deployed on Databricks for real-time inference, you need to send an authenticated HTTP POST request with input data in JSON format and parse the JSON-formatted prediction response. Authentication ensures secure access to the endpoint. Packaging the model or enabling GPU support is not relevant to querying the endpoint.

  • A. Correct.

    Correct: Sending an HTTP POST request with input data in JSON format is a standard step for querying a REST API, including Databricks model endpoints.

  • B. Correct.

    Correct: Databricks model endpoints require authentication, typically using a personal access token, to ensure secure access.

  • C. Incorrect.

    Incorrect: Packaging the model as a Python wheel file is generally required for deployment, but it is not a step for querying the model endpoint.

  • D. Correct.

    Correct: The prediction returned by the endpoint is in JSON format, so parsing the response is necessary to interpret the results.

  • E. Incorrect.

    Incorrect: While GPU support may improve training or inference speed for certain models, it is not a requirement for querying a model endpoint.

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