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.

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.

HardSystem Design
67 practiced

Design a scalable automated validity-check engine for an experimentation platform: it should run pre-launch and continuous post-launch checks covering SRM, instrumentation drift, delayed events, outliers, and contamination or leakage between variants. Describe the architecture, how rules execute, where machine-learning-based anomaly detection helps versus rule-based checks, and the remediation workflow when a check fails.

EasyTechnical
80 practiced

Explain the difference between randomization and assignment in an experimentation platform. Compare simple (hash-based) randomization, stratified randomization, and block/random-permutation approaches, and give one practical scenario where each is the right choice.

EasyTechnical
76 practiced

What traffic allocation strategies do experimentation platforms use, static splits, progressive rollouts, hash-based bucketing, and weighted allocation? For each, give a short example of when it is the right choice and its main trade-off.

HardTechnical
75 practiced

As the head of the experimentation platform, create a 6-month plan to onboard 20 product teams onto a centralized platform while preserving statistical rigor and still letting teams move on their own schedule. Include the technical migration steps, training, templates, governance phases, success metrics for the rollout, and which platform features have to exist before you can onboard the first team.

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.