← All questions
MediumAI MLTechnical screen10 min to answer

What is data leakage, and how can it invalidate an evaluation?

1Give yourself 10 minutes
2Answer out loud, not in your head
3Then compare with the answer below
Stuck? Show a way to structure it+
  1. 01Clarify the objective, user, constraints, and acceptable failure modes.
  2. 02Structure the response around train-test contamination, temporal leakage, duplicate data, audit.
  3. 03Compare credible alternatives and state the decision criteria.
  4. 04Finish with validation, monitoring, and what would change the decision.

Reference answer

Then expect these follow-ups

  • What would your evaluation dataset contain?

    Tests: depth

  • What if offline and online results disagree?

    Tests: adaptability

  • How would you set the launch threshold?

    Tests: adaptability

Free to read · better with Enzo

Practice this out loud with Enzo

Enzo runs it as a mock interview, pushes back with follow-ups, and grades you on the rubric.

Next question