What is an A/B test and why do we run it?

Quick Overview

A conceptual experimentation question asking what an A/B test is and why teams run one before rolling out a product change. It checks whether you understand random assignment, causal effects and why a before/after comparison can mislead.

What is an A/B test and why do we run it?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: easy

Interview Round: Other

What is an A/B test and why do we run it? Explain how the experiment is set up and what it lets a team conclude that a simpler comparison cannot. ```hint Think about confounders List what else could move a metric between last month and this month, and ask how random assignment deals with each of those. ``` ### What a Strong Answer Covers - How users are split into control and treatment, and what each group sees - Why random assignment supports a causal conclusion about the change - The decision-making reasons for testing before a full rollout - Why a before/after comparison is weaker evidence - At least one situation where an A/B test is hard to run or misleading ### Follow-up Questions - How would you choose the primary metric and the sample size for a test? - What goes wrong if you randomize by session when the metric is measured per user? - When is an A/B test not feasible, and what would you use instead? - The primary metric improves but a guardrail metric gets worse. How do you decide whether to ship?

Overview: A conceptual experimentation question asking what an A/B test is and why teams run one before rolling out a product change. It checks whether you understand random assignment, causal effects and why a before/after comparison can mislead.

Nov 25, 2026
easyData ScientistOtherAnalytics & Experimentation
0
0

What is an A/B test and why do we run it?

Explain how the experiment is set up and what it lets a team conclude that a simpler comparison cannot.

What a Strong Answer Covers Guidance

  • How users are split into control and treatment, and what each group sees
  • Why random assignment supports a causal conclusion about the change
  • The decision-making reasons for testing before a full rollout
  • Why a before/after comparison is weaker evidence
  • At least one situation where an A/B test is hard to run or misleading

Follow-up Questions Guidance

  • How would you choose the primary metric and the sample size for a test?
  • What goes wrong if you randomize by session when the metric is measured per user?
  • When is an A/B test not feasible, and what would you use instead?
  • The primary metric improves but a guardrail metric gets worse. How do you decide whether to ship?