Skip to content
RED SAGSkills
easyMLOps Engineer interview question

How do you make a model training run reproducible?

What the interviewer wants to hear

  • Version code, data and configuration
  • Pin dependencies and use containers
  • Fix random seeds and record hardware
  • Track runs with parameters, metrics and artifacts

Model answer

I make sure every input to training is recorded and fixed. Code is in Git and every run logs its commit. Data is versioned, either as snapshots with a tool like DVC, as table versions in a lakehouse, or as a query with a fixed time range, and the version is logged. Hyperparameters live in a config file, not hard-coded. The environment is fixed with a lock file and a Docker image, so library versions do not change silently. I set random seeds for Python, NumPy and the ML framework, and note the hardware type, since GPUs can still introduce tiny differences. An experiment tracker such as MLflow records all of this along with metrics and the output model. With that, anyone on the team can rerun a past experiment and get the same or nearly the same result.

Can you answer it under time pressure?

Take a timed easy round and get scored on every answer.

Start mock interview

More easy MLOps Engineer questions