InterviewStack.io LogoInterviewStack.io

Experiment Design and Practical Considerations Questions

Defining metrics to measure (primary and secondary). Estimating sample size and duration needed. Choosing between between-subjects and within-subjects designs. Considering confounding variables and how to control for them. Planning for randomization strategy. Discussing trade-offs between statistical rigor and practical constraints.

MediumSystem Design
65 practiced
Design a scalable metrics pipeline to compute daily experiment metrics for 50M users with near-real-time monitoring: include data ingestion, mapping exposures to treatment assignment, event joins, aggregation, serving to dashboards, and alerting. Note steps to ensure idempotency and correctness across retries and late-arriving data.
MediumTechnical
76 practiced
Compare Bayesian A/B testing to frequentist A/B testing in terms of interpretability, handling of optional stopping, computational cost, and requirements for priors. Give examples of production scenarios where a Bayesian approach is preferable and where a frequentist approach may be better.
MediumTechnical
81 practiced
Discuss practical ways to control for confounding variables in experiments: design-time controls (e.g., randomized blocking), analysis-time controls (e.g., regression adjustment), and quasi-experimental methods (e.g., propensity scores). For each, state assumptions, pros/cons, and when you would prefer one approach over another.
EasyTechnical
79 practiced
Compare between-subjects and within-subjects (paired/crossover) experimental designs for measuring a change to a recommendation algorithm in a consumer app. List advantages, disadvantages, and scenarios where each design is preferable, including carryover, learning effects, and washout considerations.
HardTechnical
68 practiced
Design an experiment to measure the long-term retention impact of a new recommendation algorithm where the treatment effect may change over months. Specify primary and secondary metrics, a plan for experiment duration and sample size, and how you will handle churn, staggered entry, and delayed outcomes.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.