Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Diagnose Pitfalls in Checkout Test

MediumA/B Testing & Experimentation00:00
Practice interviewer
In session
5 left
00:00

Your question is Diagnose Pitfalls in Checkout Test. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Context

ShopNow is testing a redesigned mobile checkout flow intended to reduce friction and increase completed purchases. The product lead wants a decision within two weeks because the current quarter's launch calendar closes soon.

Hypothesis Seed

The new checkout removes one confirmation step and pre-fills saved shipping details. The team believes this will increase purchase conversion, but it could also create accidental purchases, payment failures, or short-lived novelty effects.

Constraints

  • Eligible traffic: 120,000 mobile checkout-start sessions per day
  • 85% of traffic is logged-in users; 15% are guest users
  • Maximum experiment length: 14 days
  • Randomization can be done at user_id for logged-in users and device_id for guests
  • A false positive is costly because a bad checkout experience directly hurts revenue and trust
  • A false negative is also meaningful because checkout is a major growth lever, but less costly than shipping a harmful change

Task

Design the experiment and explain the main pitfalls you would watch for when analyzing it.

  1. State the null and alternative hypotheses, define the primary metric, at least three guardrails, and an explicit MDE.
  2. Calculate the required sample size and determine whether the test can be completed within 14 days given the available traffic.
  3. Choose the unit of randomization, allocation, duration, and any stratification or blocking you would use.
  4. Pre-register an analysis plan: statistical test, peeking policy, multiple-comparisons policy, and how you will handle any mismatch between unit of randomization and unit of analysis.
  5. Identify the most important analysis pitfalls for this experiment—such as peeking, novelty effects, network interference, SUTVA violations, Simpson's paradox, and sample ratio mismatch—and explain how each would affect interpretation and what mitigation you would use.

Be explicit about the final ship / don't-ship rule. Your answer should assume leadership will ask for a recommendation immediately after the readout, so the decision framework must be operational rather than theoretical.