A/B Testing & Experimentation Interview Questions
120 questions on experiment design, statistical significance, causal inference. The first 20 are free, no account needed.
Practice free βWhat this topic covers
Experimentation is how product teams decide whether a change, including a new model, actually helped. Data scientists are tested on it in nearly every loop, and ML engineers are increasingly expected to know how their models will be judged after launch. This topic covers A/B testing fundamentals, advanced experimentation and causal inference.
The fundamentals questions follow the life of an experiment. You choose a hypothesis and a primary metric, add guardrail metrics, pick the randomization unit, and compute the sample size from the baseline rate, the minimum detectable effect, the significance level and the power. Then you run the test for a fixed duration and interpret the result with a confidence interval rather than a bare p-value. Questions probe each of these steps and the reasoning behind it.
Advanced questions deal with what goes wrong. Peeking at results inflates false positives unless you use sequential methods. Testing many metrics or variants calls for multiple comparison corrections. Novelty and primacy effects distort early data. A sample ratio mismatch signals a broken assignment. Network effects and marketplaces violate the assumption that users do not affect each other, which leads to cluster or switchback designs. Variance reduction techniques such as CUPED and stratification help you reach a conclusion sooner.
Causal inference questions cover the cases where you cannot randomize: difference-in-differences, regression discontinuity, instrumental variables, propensity score methods and synthetic controls, together with the assumptions each one depends on.
How to answer experimentation questions
Most interview questions in this area are scenarios. A test shows a lift in clicks and a drop in revenue; what do you do? A result is significant after three days; can you ship? The best answers are structured: restate the goal, check the validity of the experiment, examine the metrics, consider segments carefully and make a recommendation that includes the risk.
Precision matters here as much as it does in statistics questions. Be exact about what statistical significance means, keep statistical and practical significance apart, and be open about the limits of the data. Interviewers are checking whether a team could trust your readout.
The sample questions below are free and come with full explanations. If the statistics feel shaky, review the Probability and Statistics topic first, then return here and work through the practice list.
Sample A/B Testing interview questions
- What is a p-value? Common misconceptions?π’ beginner Β· A/B Testing Fundamentals
- What is the difference between statistical significance and practical significance?π‘ intermediate Β· A/B Testing Fundamentals
- What is CUPED and how does it reduce variance in A/B tests?π΄ advanced Β· Advanced Experimentation
- Explain A/B testing and multi-armed bandit approaches for comparing LLM versions or prompts.π‘ intermediate Β· A/B Testing Fundamentals
- How do you ensure reproducible experiments with LLMs?π‘ intermediate Β· Advanced Experimentation
- What is experiment tracking (MLflow, W&B) and why is it important for LLM projects?π‘ intermediate Β· Advanced Experimentation
- How do you approach hyperparameter tuning for large LLMs given the huge training cost?π΄ advanced Β· Advanced Experimentation
- How do you design an A/B test for a new ranking model?π’ beginner Β· A/B Testing
- What is a guardrail metric?π’ beginner Β· A/B Testing
- Why is randomization unit important?π’ beginner Β· A/B Testing
- What is sample ratio mismatch?π’ beginner Β· A/B Testing
- How do you calculate required sample size?π’ beginner Β· A/B Testing
- What is power in A/B testing?π’ beginner Β· A/B Testing
- What is multiple testing problem?π’ beginner Β· A/B Testing
- Why use pre-period metrics?π’ beginner Β· A/B Testing