InterviewStack.io LogoInterviewStack.io

A/B Testing and Optimization Methodology Questions

Discuss your approach to designing, running, and analyzing A/B tests (randomized controlled experiments) to optimize a product or business metric. Cover experiment design fundamentals: forming a testable hypothesis, choosing the unit of randomization, selecting a primary metric plus guardrail and secondary metrics, and estimating sample size and statistical power. Explain how you interpret results (p-values, confidence intervals, statistical versus practical significance) and avoid common pitfalls (novelty effects, peeking, SUTVA violations, confounding, seasonality). Discuss how you prioritize testing opportunities and build a testing roadmap. Ground your answer with concrete examples from your own experience, whether that is testing content elements (headlines, messaging, CTAs, visual design), conversion flows (checkout, signup), pricing, or feature rollouts.

HardTechnical
46 practiced
You're testing a factorial experiment with 3 headline lengths x 2 CTAs x 2 visuals (12 cells). Describe statistical approaches to analyze main effects and interactions while controlling for multiple comparisons. Discuss FWER control (Bonferroni or closed testing), hierarchical testing of hypotheses, and more scalable approaches when the number of contrasts grows.
EasyTechnical
45 practiced
In a product experimentation context, define A/B testing and explain the null and alternative hypotheses, Type I and Type II errors, and statistical power. Illustrate each concept with a concrete example from a headline A/B test that measures click-through rate (CTR): what would a Type I error mean here, and what would 'power' represent for the team?
EasyTechnical
43 practiced
Describe A/A tests versus A/B and multi-armed experiments. When would you run an A/A test on headline copy or layout? What specific signals or anomalies (data-quality or implementation issues) would cause you to stop and investigate during an A/A test?
HardTechnical
41 practiced
Implement in Python an alpha-spending sequential stopping rule using an O'Brien-Fleming boundary for a pre-specified number of interim looks k. Create a function obrien_fleming_bounds(alpha, k) that returns nominal two-sided significance thresholds (alpha_i for each look). You may use scipy.stats.norm.ppf for quantiles. Document assumptions, limitations, and how the boundaries should be used in automated monitoring.
EasyTechnical
59 practiced
Explain the multiple comparisons problem when testing 20 headline variants simultaneously. If you run 20 independent tests each at alpha = 0.05, how many false positives do you expect on average? Suggest at least two concrete statistical approaches to control for multiple comparisons and briefly explain trade-offs.

Unlock Full Question Bank

Get access to hundreds of A/B Testing and Optimization Methodology interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.