hiexam
databricks · Certified-Machine-Learning-Professional · Q426 · multiple_choice · topic_1

A data scientist is utilizing MLflow to track their machine learning experiments. After completing a series of runs for…

A data scientist is utilizing MLflow to track their machine learning experiments. After completing a series of runs for the experiment with experiment ID exp_id, the data scientist wants to programmatically work with the experiment run data in a Spark DataFrame. They have an active MLflow Client client and an active Spark session spark. Which of the following lines of code can be used to obtain run-level results for exp_id in a Spark DataFrame?
  • A.client.list_run_infos(exp_id)
  • B.spark.read.format("delta").load(exp_id)
  • C.There is no way to programmatically return row-level results from an MLflow Experiment.
  • D.mlflow.search_runs(exp_id)
  • E.spark.read.format("mlflow-experiment").load(exp_id)
Explanation
Selected Answer: E Doc: https://docs.databricks.com/en/query/formats/mlflow-experiment.html#load-data-using-experiment-ids

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.