Which TWO actions should be taken to ensure reproducibility of a Databricks ML model experiment?
Logging the Git commit hash allows developers to link the model artifact to the exact version of the source code that produced it. This is essential for auditing and reproducing experiments months later, as it provides a clear record of the code changes that led to specific model performance.
Why this answer
Reproducibility in Databricks is achieved by capturing the state of the code, the environment, and the data. By utilizing Git integration and MLflow tracking, data scientists can point to the exact version of the code and environment used for an experiment. Using versioned Delta tables ensures that the data state can also be reconstructed, preventing 'data drift' from invalidating the results of historical experiments as underlying data tables change.
Exam trap
Candidates often forget that code and environment versioning are insufficient without capturing the exact historical state of the underlying data.