InterviewStack.io LogoInterviewStack.io

Online Experimentation and Model Validation Questions

Running experiments in production to validate model changes and measure business impact. Topics include splitting traffic across model variants canary deployments and champion challenger testing selecting metrics that capture both model performance and business outcomes performing sample size and test duration calculations accounting for statistical power and multiple testing adjustments and handling instrumentation and novelty bias. Candidates should be able to analyze heterogeneous treatment effects monitor experiments in real time and design ramping plans and rollback guardrails to protect user experience and business metrics. The topic also covers decision rules for when to rely on offline evaluation versus online experiments and how to interpret differences between offline model metrics and live user outcomes as part of model validation and deployment strategy.

EasyTechnical
57 practiced
Define novelty bias in the context of online experiments and provide a concrete plan to detect and mitigate novelty effects when you release a visually different product experience driven by a new model. Include experimental groups, time windows, and analyses you would run to distinguish novelty from lasting effects.
MediumTechnical
52 practiced
Write Python code or clear pseudocode to compare two groups on a heavy-tailed metric like revenue per user using bootstrap resampling. Your implementation should: aggregate to user-level, perform R bootstrap resamples to estimate the distribution of the difference in means, return a p-value and 95% CI, and include notes on parallelization and when a bootstrap is preferred to a t-test.
MediumTechnical
60 practiced
Users sometimes see both control and treatment due to cross-device behavior or cookie clearing, causing contamination. Describe steps and analyses you would use to detect contamination in experiment logs and design randomization and assignment mechanisms to reduce contamination risk while handling privacy and device-tracking constraints.
MediumTechnical
43 practiced
Write concise Python pseudocode to compute a bootstrap confidence interval and p-value for the difference in means between treatment and control using skewed per-user spending data. Your code should aggregate at user-level, resample users, compute the statistic across B resamples, and return percentile-based CI and p-value. Mention how many resamples are typically needed for stable estimates.
MediumTechnical
57 practiced
You are deploying a new fraud-detection model. List and justify a prioritized set of metrics you would monitor in an online experiment to capture both model performance (e.g., precision, recall, FPR) and business outcomes (e.g., fraud dollars saved, false-block rate). Explain how you would translate model-level changes into financial impact and set guardrails to avoid customer friction.

Unlock Full Question Bank

Get access to hundreds of Online Experimentation and Model Validation interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.