How would you decide whether a model is good enough to ship to production?

Quick Overview

Asks how you would judge whether a trained machine learning model is ready for production. Tests your ability to set a baseline and success metric, validate offline without leakage, weigh engineering and risk constraints, and plan an online test, rollout and rollback.

How would you decide whether a model is good enough to ship to production?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

How would you decide whether a model is good enough to ship to production? ```hint Compared with what "Good enough" only has meaning against a reference point. Decide what the model is measured against, and on which metric, before you talk about numbers. ``` ```hint What the test set cannot tell you List what an offline evaluation cannot reveal about production behavior, then think about how you would check each of those before a full rollout. ``` ### Clarifying Questions to Ask - What is the model replacing: an existing model, a rules system, a manual process, or nothing? - What does a wrong prediction cost, and do false positives and false negatives cost different amounts? - How quickly do labels arrive after a prediction, and is there enough traffic to run an online test? - What latency, serving cost and regulatory constraints apply to the serving path? ### What a Strong Answer Covers - Defining success up front: a metric tied to business value and a baseline to beat - Offline validation that mirrors production, including leakage checks, slices, calibration and the choice of operating threshold - Engineering readiness: latency, cost, handling of bad inputs and consistency between training and serving features - Failure modes, fallbacks and domain requirements such as fairness or compliance - Online confirmation with pre-set criteria and guardrails, then a staged rollout with monitoring and rollback ### Follow-up Questions - The new model beats the old one offline but loses in the A/B test. What do you check first? - How would you decide when an A/B test is not possible, for example with low traffic or labels that arrive months later? - The model improves the overall metric but is worse for one user segment. How do you decide whether to ship? - What would you monitor in the first weeks after launch, and what would trigger a rollback?

Overview: Asks how you would judge whether a trained machine learning model is ready for production. Tests your ability to set a baseline and success metric, validate offline without leakage, weigh engineering and risk constraints, and plan an online test, rollout and rollback.

General logo
General
Nov 24, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

How would you decide whether a model is good enough to ship to production?

Clarifying Questions to Ask Guidance

  • What is the model replacing: an existing model, a rules system, a manual process, or nothing?
  • What does a wrong prediction cost, and do false positives and false negatives cost different amounts?
  • How quickly do labels arrive after a prediction, and is there enough traffic to run an online test?
  • What latency, serving cost and regulatory constraints apply to the serving path?

What a Strong Answer Covers Guidance

  • Defining success up front: a metric tied to business value and a baseline to beat
  • Offline validation that mirrors production, including leakage checks, slices, calibration and the choice of operating threshold
  • Engineering readiness: latency, cost, handling of bad inputs and consistency between training and serving features
  • Failure modes, fallbacks and domain requirements such as fairness or compliance
  • Online confirmation with pre-set criteria and guardrails, then a staged rollout with monitoring and rollback

Follow-up Questions Guidance

  • The new model beats the old one offline but loses in the A/B test. What do you check first?
  • How would you decide when an A/B test is not possible, for example with low traffic or labels that arrive months later?
  • The model improves the overall metric but is worse for one user segment. How do you decide whether to ship?
  • What would you monitor in the first weeks after launch, and what would trigger a rollback?