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.

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

Design an experiment metadata schema (relational or document) that supports lineage, multiple versions of the same experiment, owners, compliance tags, and status transitions. Show the core fields and explain how an analyst or an auditor would use each one to reconstruct a past experiment.

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.

EasyTechnical
60 practiced

What core instrumentation best practices should be enforced for the events and metrics an experimentation platform depends on? Cover naming conventions, schema versioning, idempotency, event enrichment, and backward compatibility.

HardSystem Design
71 practiced

As the person responsible for the experimentation platform's statistical integrity, design automated safeguards that detect Sample Ratio Mismatch, discourage optional stopping (peeking/p-hacking), and support valid sequential testing. What alerts, pre-registration workflow, and stopping rules (alpha-spending, group-sequential, or Bayesian) would you build in, and how would you get product teams to trust the guardrails instead of routing around them?

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.