Home / ML Associate practice test / Model Deployment / Question

Databricks Machine Learning Associate · free practice question

A team has written custom Python inference logic that is not covered by a built-in MLflow flavor. They want to deploy it with Databricks Model Serving. Which…

Exam-style question on Model Deployment from the free ML Associate practice test, with the answer and a full explanation below.

Updated November 10, 2026

Model Deployment

A team has written custom Python inference logic that is not covered by a built-in MLflow flavor. They want to deploy it with Databricks Model Serving. Which preparation path is correct?

  1. AZip the notebook source and upload it directly to a serving endpoint without using MLflow model packaging
  2. BSave only the fitted weights to DBFS, because endpoints infer the rest of the Python environment automatically
  3. CLog the model in MLflow format, typically with pyfunc for custom code, register it, and then create a serving endpoint
  4. DRegister a Delta table as a model version, because serving endpoints can execute SQL tables as Python models
  5. EExport the model to CSV and point the endpoint at the file path so Databricks can discover the predict function
Answer & explanation

Correct answer: C

WHY C: Databricks custom model serving expects an MLflow-packaged model, often via pyfunc for arbitrary Python logic, followed by registration and endpoint creation. WHY NOT A: A raw notebook is not the required serving artifact. WHY NOT B: Dependencies and model packaging must be captured properly. WHY NOT D: Delta tables are not model artifacts. WHY NOT E: CSV files do not define deployable MLflow model logic.

Take the full ML Associate practice test free →

Would you pass today?

This question is one of 45 in the free, timed Databricks Machine Learning Associate practice test. Take it and get a section-by-section score.

Start the free test →