Detect and Respond to Feature Drift During Prime Day Traffic
Last updated: November 29, 2026
Quick Overview
During Prime Day, traffic mix, prices, and customer behavior shift sharply. How would you detect whether a production model's inputs or predictions have drifted, and how would you decide whether to act?
Amazon
November 29, 20260
0
0 solved
During Prime Day, traffic mix, prices, and customer behavior shift sharply. How would you detect whether a production model's inputs or predictions have drifted, and how would you decide whether to act?
Amazon models face predictable but extreme distribution shifts during peak events. The interviewer checks whether you monitor drift with appropriate statistics, distinguish benign shift from harmful shift, and have a plan beyond 'retrain the model'.
What the Interviewer Expects
- Distinguish covariate shift, label shift, and concept drift
- Choose drift metrics such as PSI or KS per feature
- Monitor prediction distributions and delayed outcome metrics
- Separate expected seasonal shift from data bugs
- Mitigation options: peak-trained models, fallbacks, thresholds
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- How would you set alarm thresholds without paging on every shift?
- What if labels arrive two weeks later?
- How would you prepare before Prime Day rather than react during it?
- How do you detect an upstream data pipeline bug versus real shift?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
- Which model? Say a purchase-propensity model used to rank deals.
- How fast do labels arrive? Purchases within hours, so performance can be measured near real time; for returns it takes weeks.
- Wha...
Approach
Three kinds of shift:
- Covariate shift: changes (more new customers, deeper discounts), stable.
- Label shift: changes (everyone buys more).
- Concept drift: $P...