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.

EasyTechnical
58 practiced

Given exposures(exposure_id, user_id, experiment_id, variant, assigned_at) and events(event_id, user_id, event_type, value, occurred_at), write a SQL query that computes the conversion rate (share of exposed users who generated a purchase event) per variant using a 14-day post-exposure window. Output variant, exposed_users, converters, conversion_rate.

MediumSystem Design
66 practiced

Design a scalable assignment algorithm for experiments that must support sticky assignment across a user's devices and sessions, deterministic bucketing, and fast evaluation from many microservices. What data would the assignment call need, and how would you keep it both low-latency and consistent across regions?

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.

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
72 practiced

In one or two sentences, explain the multiple comparisons problem for a platform running many experiments and tracking many metrics per experiment. Then list two engineering controls, not statistical corrections, an experimentation platform could implement to reduce false discoveries.

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.