← 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

Hiring now

Machine learning engineer roles are open right now

landed applies to roles like these for you, on each company’s own site, with answers written for the role.

Get 5x interviews10 free auto-applies. No card.
  • AI/ML Engineer

    Kaizen Labs · New York, NY

  • Senior ML Engineer, Perception

    Clera · San Francisco

  • Machine Learning Engineer

    Endava · Córdoba, Cordoba, Argentina

Or practice this question first

Next question