Start with a hypothesis based on evidence, and change one meaningful thing. Choose one primary metric and calculate the sample size you need before launching. Split traffic randomly, run the test for at least one full week, or one full business cycle if that is longer, and do not stop it early because one version looks ahead. Check for problems such as tracking errors, then record the result, including what you learned if the new version lost.
Why interviewers ask this
A/B tests are easy to run badly, and false winners lead teams to make changes that do nothing or even hurt results. Interviewers want to see that you understand hypotheses, primary metrics, sample size, random assignment, test duration and the danger of checking results too early. They also want to know you would watch guardrail metrics, like refunds or lead quality, and share what you learned from losing tests as well as winners.
How to structure your answer
- Write a hypothesis based on evidence.
- Choose a primary metric and calculate the sample size.
- Run full weeks and avoid stopping early.
- Check guardrails, then record and share the result.
Example answer
I start with a hypothesis that has a reason behind it. At an insurance comparison site, session recordings showed people hesitating at a long quote form, so the hypothesis was that removing three optional fields would increase completed quotes. I set one primary metric, completed quotes, and used a sample size calculator to work out how many visitors we needed to detect a realistic lift, which came to about three weeks of traffic. We split traffic randomly and ran it for exactly three full weeks, so weekday and weekend behaviour were both included. After four days the new form was well ahead and someone wanted to call it. I held off, because early results swing around a lot with small numbers, and by the end the lift was smaller but still real. I also checked a guardrail metric, the share of quotes that turned into sales, because shorter forms can attract less serious people. It held steady. Then I wrote it up in our test log, including the size of the lift and how confident we were.
Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.
See how it worksFollow-up questions to expect
- What would you do if the test was inconclusive?
- How would you test with very low traffic?
- What is a guardrail metric, and why does it matter?
Related digital marketing specialist questions
Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.
Predict my questions