FreeExam

Production readiness

An AI/ML engineer interview on reproducing a model, the checks it must pass before launch, and how it is rolled out, served, and watched.

These prompts are original practice. They are not questions from a named employer or a live hiring loop.

  1. 1.Six months after launch, nobody can rebuild the model that is in production. Which missing record is most often the reason?

  2. 2.What should be recorded for every training run so the model can be reproduced?

  3. 3.Two training runs with the same code, data, and seed give models whose accuracy differs by 0.4 points on GPU. What is a likely reason?

  4. 4.Why pin package versions, for example with a lock file or container image, for training and serving?

  5. 5.Which seeds should be set for a reproducible run?

  6. 6.Why should the train, validation, and test split be saved as fixed IDs rather than recomputed with a random split each time?

  7. 7.What does a model registry provide?

  8. 8.What is data lineage, and why does it matter for a model?

  9. 9.What is training-serving skew?

  10. 10.Training computed 'average order value' in SQL in the warehouse. Serving computes it in Python with a slightly different rule for refunds. What is the risk, and the fix?

  11. 11.How can you detect training-serving skew after launch?

  12. 12.What is a point-in-time correct join when building training data?

  13. 13.A fraud model uses 'number of chargebacks on the account', computed from today's table, for transactions from a year ago. What is wrong?

  14. 14.A feature is available offline right away, but in production it arrives from a batch job 6 hours late. What should training do?

  15. 15.What should a pre-launch evaluation for a model include beyond one overall metric?

  16. 16.A new model is 1 point better overall but 6 points worse for users on older Android phones, who are 8 percent of traffic. What is the right response?

  17. 17.What is a validation gate in a model release pipeline?

  18. 18.A nightly retraining job produced a model with half the usual accuracy, and it was deployed automatically. What safeguard was missing?

  19. 19.What are data validation checks on a training pipeline's input?

  20. 20.An upstream team renames a category value from 'mobile' to 'Mobile'. The model's one-hot feature for mobile is now always zero. What would have caught it?

  21. 21.What kinds of unit tests make sense for ML code?

  22. 22.What is a behavioral test for a model, as opposed to a unit test?

  23. 23.Why check a model's results across groups such as age bands or regions before launch?

  24. 24.What is a model card?

  25. 25.What is a shadow deployment?

  26. 26.What can a shadow deployment not tell you?

  27. 27.What is a canary release?

  28. 28.A service handles 1 million requests a day. A canary at 5 percent receives about how many requests a day?

  29. 29.What is a blue-green deployment?

  30. 30.A new model went out, and conversions dropped. How fast should rolling back be, and what makes that possible?

  31. 31.A new model needs a new feature, and the feature pipeline was changed at the same time. Why does that make rollback harder?

  32. 32.Why use a feature flag to turn the model on and off?

  33. 33.What is a sensible fallback when the model service times out?

  34. 34.A request calls three services one after another, taking 120 ms, 80 ms, and 200 ms. What is the total latency, and what if they could run in parallel?

  35. 35.Why are latency targets usually written as p95 or p99 rather than the average?

  36. 36.A page makes 20 independent calls to a model service. What is the chance that at least one call is slower than that service's p99?

  37. 37.A model takes 50 ms per request on one worker, one request at a time. About how many workers are needed for 500 requests per second, with no batching or headroom?

  38. 38.Why does dynamic batching raise throughput on a GPU model server?

  39. 39.A model's predictions for a user only change once a day. How can you cut serving cost and latency?

  40. 40.When is online, real-time scoring worth the extra complexity over batch scoring?

  41. 41.What is an error budget, given a monthly availability target of 99.9 percent over 30 days?

  42. 42.A request depends on two services in series, each available 99.9 percent of the time, independently. What is the combined availability?

  43. 43.Why set a timeout on calls to the model service?

  44. 44.Clients retry failed model calls immediately, three times each. During a brief overload, what can happen?

  45. 45.What does a load test before launch tell you?

  46. 46.Autoscaling adds model servers when CPU is high, but GPU-bound servers stay overloaded. What is wrong?

  47. 47.Why does a large model's startup time matter for production?

  48. 48.What is the difference between a liveness check and a readiness check for a model server?

  49. 49.What is data drift?

  50. 50.What is concept drift?

  51. 51.Labels for a loan model arrive 90 days after each decision. How can you monitor the model before those labels come in?

  52. 52.The share of transactions a fraud model flags jumps from 2 percent to 9 percent overnight, with no model change. What is the first thing to check?

  53. 53.What does the population stability index (PSI) measure?

  54. 54.Drift alerts fire every day on dozens of features, and the team ignores them. What is wrong with the setup?

  55. 55.Which signals belong on a model's production dashboard?

  56. 56.When should a model be retrained?

  57. 57.A recommendation model is retrained daily on clicks from items it recommended. What long-term risk does that create?

  58. 58.Why log the model version with every prediction?

  59. 59.What should a prediction log include so problems can be investigated later?

  60. 60.A model makes credit decisions. What extra requirement often applies in production?

  61. 61.How does an engineer typically give per-prediction explanations for a tree ensemble?

  62. 62.Who should be on call for a model in production, and what should they have?

  63. 63.What should a model runbook cover?

  64. 64.After an incident where a bad model shipped, what should the follow-up focus on?

  65. 65.Before launch, how should the team estimate the model's serving cost?

  66. 66.A large model is 2 points more accurate than a small one but triples latency past the page's budget. What are reasonable options?

  67. 67.What is a cascade, or tiered, serving setup?

  68. 68.Inputs at serving time include values far outside anything seen in training, such as an age of 300. What should the service do?

  69. 69.Why check that the serving endpoint returns the same predictions as the offline model for a fixed set of inputs?

  70. 70.A model is exported to a different runtime for faster serving. What should you verify?

  71. 71.What is the main risk of a model that was only ever tested in a notebook?

  72. 72.What does continuous integration look like for an ML project?

  73. 73.An LLM feature's prompt is edited directly in production by a product manager. What is the problem?

  74. 74.An LLM-based feature depends on an external model provider. What should be in place before launch?

  75. 75.An LLM service's cost doubles in a week with no change in traffic. What is a likely cause to check?

  76. 76.Why should personal data be handled carefully in training data and prediction logs?

  77. 77.A user asks for their data to be deleted. What does that mean for a model trained on it?

  78. 78.Who should be able to call a model endpoint that returns risk scores about customers?

  79. 79.Someone sends thousands of slightly varied requests to a public model API and records the outputs. What could they be doing?

  80. 80.What is a reasonable definition of 'production-ready' for a model?

  81. 81.A model's offline gain does not show up in the online A/B test. Which explanation should you check first?

  82. 82.Why backtest a model by training on data up to several past dates and scoring each following period?

  83. 83.The production model depends on a third-party data feed. What should the team plan for?

  84. 84.A model uses 400 features, and a check shows 300 of them add almost nothing. Why consider removing them before launch?

  85. 85.Two teams' models read and write each other's outputs as features. What risk does that create?

  86. 86.A model was trained on data from the US and is about to launch in Brazil. What should happen first?

  87. 87.Why should the threshold that turns a score into an action be stored in configuration rather than in code?

  88. 88.A fraud model's flags go to a review team that can handle 500 cases a day. How should that shape the launch?

  89. 89.How should human reviewers' decisions on flagged cases be used?

  90. 90.What does it mean to monitor a model's calibration in production?

  91. 91.Why is it useful to keep the previous model running in shadow for a while after a new one launches?

  92. 92.A team wants to launch a model for a decision that is hard to reverse, such as closing accounts. What is a sensible launch plan?

  93. 93.Why should evaluation datasets be versioned just like training data?

  94. 94.A model's accuracy on a fixed test set has been stable for a year, but users complain more. What might be happening?

  95. 95.What should happen when a model is retired?

  96. 96.A new model version changes predictions for 15 percent of users, though accuracy is only slightly better. What should the team consider?

  97. 97.Why is it a good idea to write down, before launch, the metric values that would trigger a rollback?

  98. 98.Why does an ML system need an owner even after the model has been stable for months?

  99. 99.A model performs well, but nobody can explain which data sources feed its top features. What should be done before scaling its use?

  100. 100.Why test a model on deliberately corrupted inputs, such as missing fields, extra whitespace, or wrong types, before launch?

  101. 101.A model's predictions are used in a nightly report that finance reads. What production checks still matter, even without a live endpoint?

  102. 102.Why should the training pipeline be able to run from scratch on a schedule, not only by hand?

  103. 103.Before launch, a team tests only that the new model scores higher than the old one on average. What important question is left open?

  104. 104.An image model was validated on photos from one camera vendor. A new vendor's cameras are rolling out. What is the production-ready move?

  105. 105.Why include a short written description of the model's intended use and its out-of-scope uses with each release?

  106. 106.In an interview, you are asked what you would check before putting a model you built into production. Which answer covers the most ground?