All jobs / Data science / ML / AI / MLOps
Data science / ML / AI interview question · 0–1 years
You are running dozens of training experiments. What do you record for each run, and why?
The strongest answer
Code commit, data version, hyperparameters, environment, seed, and the metrics and artefacts — in a tracker such as MLflow or Weights & Biases — so any run can be reproduced and compared
Why it works
Right — an experiment is code plus data plus configuration plus environment; miss any one and the number cannot be reproduced.
What a good answer covers
- Record code, data, params, env, seed.
- Log metrics and artefacts per run.
- Use a tracker, not filenames.
- Goal: reproduce and compare.
Answers that fall short
- Close, but not the strongest: The final metric and the model file for the best runs, so we can ship the winner
Keeping only winners loses what did not work, and without params and data version the winner cannot be rebuilt. - Weak: I name the model files descriptively, like model_v3_final_really.pkl, so I can tell them apart
Filenames carry no data version, parameters or metrics; a week later they are riddles. - Red flag: Tracking is overhead — I keep the best one in memory and delete the rest
Unreproducible experiments are how a team ships a number it cannot defend; interviewers hear this as a lack of rigour.
Who gets asked this
More MLOps questions
- The only artifact is a notebook that “ran once on my laptop.” What is missing?
- A junior changes the system prompt in production because a demo failed. What do you want them to learn?
- What do you monitor besides “accuracy last month” in production?
- Offline AUC went up. Product conversion did not. What do you say?
- Two of you cannot reproduce the same AUC. First place you look?
- What training-serving skew will you not tolerate as a staff default?
- What belongs next to a shipped score in the README?
- How do you tell covariate shift from concept drift in a sentence?