InterviewStack.io LogoInterviewStack.io

A and B Test Design Questions

Designing and running A and B tests and split tests to evaluate product and feature changes. Candidates should be able to form clear null and alternative hypotheses, select appropriate primary metrics and guardrail metrics that reflect both product goals and user safety, choose randomization and assignment strategies, and calculate sample size and test duration using power analysis and minimum detectable effect reasoning. They should understand applied statistical analysis concepts including p values confidence intervals one tailed and two tailed tests sequential monitoring and stopping rules and corrections for multiple comparisons. Practical abilities include diagnosing inconclusive or noisy experiments detecting and mitigating common biases such as peeking selection bias novelty effects seasonality instrumentation errors and network interference and deciding when experiments are appropriate versus alternative evaluation methods. Senior candidates should reason about trade offs between speed and statistical rigor plan safe rollouts and ramping define rollback plans and communicate uncertainty and business implications to technical and non technical stakeholders. For developer facing products candidates should also consider constraints such as small populations cross team effects ethical concerns and special instrumentation needs.

EasyTechnical
55 practiced
A product change aims to increase revenue per session but may hurt long-term retention. Explain how you would choose a primary metric and guardrail metrics for the experiment. Include time horizons, aggregation windows, and how you would weigh short-term gains against potential long-term harm.
HardTechnical
55 practiced
Design a hierarchical/Bayesian model to detect heterogeneous treatment effects across 100 geographic regions while borrowing strength. Describe priors, pooling strategy, and how to report posterior summaries to business stakeholders.
HardSystem Design
42 practiced
Your experiment platform supports many concurrent experiments. Describe how you would design treatment assignment and bucketing to minimize interference when users may be in several experiments simultaneously. Discuss trade-offs between orthogonalization and combinatorial explosion of experiment cells.
MediumTechnical
56 practiced
You must run an experiment for a developer-facing feature exposed to a small active population (e.g., enterprise beta users). Propose experimental designs and statistical techniques to get useful insights despite limited sample size and cross-team dependencies.
HardTechnical
49 practiced
You observe a small but statistically significant uplift in the A/B test for conversion rate driven entirely by a tiny subset of heavy users. Describe how you'd investigate whether the effect is real, robust, or an artifact, and how to present actionable conclusions to stakeholders.

Unlock Full Question Bank

Get access to hundreds of A and B Test Design interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.