InterviewStack.io LogoInterviewStack.io

Experiment Design and Execution Questions

Covers end to end design and execution of experiments and A B tests, including identifying high value hypotheses, defining treatment variants and control, ensuring valid randomization, defining primary and guardrail metrics, calculating sample size and statistical power, instrumenting events, running analyses and interpreting results, and deciding on rollout or rollback. Also includes building testing infrastructure, establishing organizational best practices for experimentation, communicating learnings, and discussing both successful and failed tests and their impact on product decisions.

EasyTechnical
45 practiced
For a recommender system UI change, define 3 primary metrics and 3 guardrail metrics you would set before launching an A/B experiment. Explain why each metric is appropriate and how you would instrument them. The scenario: the change shows a new 'recommended for you' carousel on the homepage for logged-in users.
HardTechnical
51 practiced
Compare sequential testing under a frequentist alpha-spending approach with a fully Bayesian decision framework for early stopping. Discuss how each controls error rates, how priors affect outcomes, and practical considerations for automated stopping in high-velocity growth experiments.
MediumTechnical
55 practiced
Your PM wants the ability to stop an experiment early if it looks promising. Describe safe ways to support early stopping without inflating Type I error. Compare alpha-spending methods, sequential hypothesis testing, and Bayesian approaches and recommend a practical approach for production experiments.
MediumTechnical
48 practiced
Explain how baseline conversion rate, variance, and targeted minimum detectable effect (MDE) interact to determine required sample size. Use a short numeric example showing how sample size changes if baseline is 1% vs 20% for the same absolute MDE.
HardTechnical
51 practiced
Case study/dataset: You have the following aggregate results from an A/B test run for 30 days: Control: users=200k, conversions=20k. Treatment: users=200k, conversions=21k. Provide a step-by-step analysis plan to determine if the treatment is truly beneficial and production-ready. Include sanity checks, significance test, uplift CI, power retrospective, metric segmentation, and pre-trend checks.

Unlock Full Question Bank

Get access to hundreds of Experiment Design and Execution interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.