InterviewStack.io LogoInterviewStack.io

Experimentation Platforms and Infrastructure Questions

Infrastructure for A/B testing and experimentation: assignment/bucketing, metric pipelines for experiments, guardrail and variance-reduction plumbing, and experiment result storage. Covers building the platform that powers trustworthy online experiments at scale. Distinct from the statistics of experiment analysis.

MediumTechnical
65 practiced

Your product team reports unexpected metric contamination after several rapid rollouts and overlapping feature flags. Walk through the operational, step-by-step plan you would run to identify, quantify, and mitigate the contamination sources while minimizing disruption to the teams shipping features.

HardTechnical
79 practiced

Your experimentation platform runs thousands of tests a year and everyone trusts its p-values without question. How would you actually verify, at the platform level, that its statistical machinery is calibrated correctly, rather than trusting it because nobody has complained? Describe how you would use A/A tests for this, including concrete numeric thresholds (for example, what fraction of A/A runs showing p < 0.05 should worry you) and what you would do if calibration fails.

HardSystem Design
62 practiced

As the analyst evaluating a proposed company-wide experimentation platform, what standards would you insist on for event instrumentation, where and how experiment metadata is stored, and how exposures get joined to business metrics? What guardrails would you require to avoid peeking, underpowered tests, and cross-experiment interference?

HardTechnical
77 practiced

Given exposures(user_id, experiment_id, variant, exposure_ts) and events(user_id, event_ts, event_type, value), write a SQL query that: (1) deduplicates exposures per user, keeping the earliest exposure; (2) computes each user's 7-day sum of purchase value after their exposure; (3) for users exposed to multiple variants, assigns them to the last-exposed variant only if that exposure occurred before their first purchase; and (4) treats an event as attributable only if event_ts falls within 7 days of the exposure. Output user_id, assigned_variant, purchase_7d_sum.

MediumSystem Design
116 practiced

You must join exposure logs from one service with conversion events from a different service to compute experiment metrics, and the two systems use different timezone conventions and session-windowing heuristics. Design a reconciliation process: canonical timestamps, session windowing, deduplication keys, handling of late-arriving events, idempotency, and the tests you would write to prove the joined metric is correct.

Unlock Full Question Bank

Get access to all Experimentation Platforms and Infrastructure interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.