Home / ML Associate practice test / Databricks Machine Learning / Question

Databricks Machine Learning Associate · free practice question

A regression experiment evaluates models with RMSE, and lower values are better. The engineer wants the single best active run using the MLflow API rather than…

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

Updated November 10, 2026

Databricks Machine Learning

A regression experiment evaluates models with RMSE, and lower values are better. The engineer wants the single best active run using the MLflow API rather than the UI. Which option reflects the correct logic?

  1. ACall MlflowClient.search_registered_models and order by model version number ascending, because lower version numbers in Unity Catalog correspond to earlier and better training results
  2. BSearch the experiment runs with a filter for active runs and order by the RMSE metric ascending, because the first result is then the run with the lowest error for that objective
  3. CUse MlflowClient.restore_experiment to make deleted runs visible and then select the last created run, because the newest run is the one MLflow treats as best after metric logging
  4. DUse MlflowClient.set_terminated on poorly performing runs first, because terminated runs are the ones the search API includes in metric comparisons and active runs are skipped
  5. ERead the artifact directory directly from DBFS and choose the run with the largest model file, because a larger saved model indicates lower regression error and better feature use
Answer & explanation

Correct answer: B

WHY B: For metrics where lower is better, the correct approach is to search runs and order the metric ascending (optionally filtered to active runs), then take the top result.

WHY NOT A: Model registry search is not how experiment runs are ranked, and version numbers say nothing about quality.

WHY NOT C: Newest is not equal to best; MLflow does not treat the last created run as the winner.

WHY NOT D: Active runs can still be searched and compared; set_terminated only changes run status.

WHY NOT E: Artifact file size is not a valid model-quality criterion.

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 →