Databricks Machine Learning Associate Question 118
Single answerYou are managing machine learning experiment runs in Databricks, and you want to locate the code that was executed during a specific MLflow run. Which step should you take in the MLflow UI to access the executed code?
- A
Navigate to the 'Artifacts' tab of the specific run and look for a file containing the code or script.
- B
Click on the 'Run ID' of the specific run to view the code execution details directly in a new tab.
- C
Go to the 'Source' field in the run's details to find information about the executed script or notebook.
- D
Access the 'Metrics' tab of the specific run to locate the executed code.
Show answer and explanation
Correct answer: C
Explanation
To locate the code executed during an MLflow run, you should check the 'Source' field in the run's details within the MLflow UI. This field provides the path or reference to the script or notebook used to execute the run, making it the correct choice. Other tabs, like 'Artifacts' or 'Metrics,' contain different types of information but do not directly show the executed code.
- A. Incorrect.
The 'Artifacts' tab contains files logged during the run, such as model artifacts or additional files, but it does not directly show the executed code.
- B. Incorrect.
Clicking on the 'Run ID' does not directly provide access to the executed code. It opens the run's details, but the code is not explicitly displayed here.
- C. Correct.
The 'Source' field in the run's details shows the path or link to the original script or notebook that was used to execute the run, making it the correct way to locate the executed code.
- D. Incorrect.
The 'Metrics' tab displays performance metrics logged during the run, but it does not provide information about the executed code.