Databricks Machine Learning Associate Question 116
Single answerYou are working on a machine learning project in Databricks using MLflow, and you want to locate the code that was executed for a specific experiment run. How can you find the executed code in the MLflow UI?
- A
Navigate to the 'Artifacts' tab of the run and search for a file containing the executed code.
- B
Go to the 'Parameters' tab of the run and look for the executed code there.
- C
Check the 'Source' section in the run's overview page for a link to the code or notebook.
- D
Locate the executed code in the 'Metrics' tab of the run.
Show answer and explanation
Correct answer: C
Explanation
In the MLflow UI, the 'Source' section of a run's overview page provides a link to the code or notebook that was executed for that run. This makes it easy to trace back to the code that generated the results, which is essential for reproducibility and debugging.
- A. Incorrect.
This is incorrect because the 'Artifacts' tab typically contains files, models, or other outputs logged during the run, not the executed code itself.
- B. Incorrect.
This is incorrect because the 'Parameters' tab displays the input parameters used in the run, not the code that was executed.
- C. Correct.
This is correct because the 'Source' section in the run's overview page provides a link to the source code or notebook associated with the run, allowing you to locate the executed code.
- D. Incorrect.
This is incorrect because the 'Metrics' tab contains performance metrics logged during the run, not the executed code.