Google data scientist interview preparation: experiments, SQL grain and useful recommendations
Practise turning an ambiguous product question into a defensible analysis. Work through an original experiment case, separate percentage points from relative change and explain what the data does not establish. This guide targets data-science reasoning, not software-engineer coding rounds.
Try the three-question practice first
Role context comes from an official Google Business Data Scientist, AI Foundations posting, which names experimental design and turning findings into recommendations. It is one role example, not a universal qualification list, hiring loop or vacancy promise. The product experiment and SQL-grain exercises below are original Prepti teaching, not claims about the questions for that posting.
Try three original practice questions
Original Prepti practice, not real or reported Google questions. Optional 90-second timing is a practice aid, not an employer test limit. Your score describes these three questions only, not hiring readiness or an employer result. No account needed; the tool runs in this page and sends no answers to a server.
Original Prepti practice, not employer questions. Timing is optional; no answer is submitted automatically.
What the Google role example supports
The official Business Data Scientist, AI Foundations posting names statistical modelling, causal inference, A/B testing or experimental design, and regression for prediction and forecasting. Its responsibilities include analysing large datasets and translating findings into clear recommendations for stakeholders. Those themes support practising analysis design, uncertainty and communication.
This is one business-data-science role, not a description of every Google data-scientist vacancy. Its AI and finance context does not establish a universal ML-engineering interview or a required product-experiment question. We do not repeat its qualification thresholds as a rule for all candidates, and we do not claim a fixed number of interviews, a guaranteed SQL assessment, a particular question or a pass mark.
The experiment, SQL and measurement exercises below are original Prepti teaching. They practise a method, not the hiring content of that posting. Google’s general interview-tips page does not establish a data-scientist-specific stage list here; your recruiting contact and actual vacancy determine the scope of your process.
Worked experiment case: a new task-completion prompt
Original fictional case: a product team tests a prompt designed to help eligible users complete a setup task. Control has 200 completions among 1,000 users; treatment has 230 among 1,000. A stakeholder says, “It improved completion by 15%, so we should launch.” Your job is to clarify the estimate, the design and the decision.
Estimand
The difference in user completion rates over a defined observation window.
Design
How eligible users were assigned and whether groups can affect each other.
Decision
Effect, uncertainty, guardrails and the cost of a wrong launch.
The observed rates are 20% and 23%. The absolute difference is 3 percentage points, and the relative increase is 15%. Both can be correct, but a report that switches between them without saying so is misleading. Neither estimate by itself tells you whether the difference is causal or precise enough for the decision.
Ask how assignment happened, when eligibility was determined and whether users received a full outcome window. If treatment users were selected because they were already more engaged, the comparison has a selection problem. If one account contains several users who influence each other, user-level assignment may create spillovers. The experimental unit must fit the mechanism.
Uncertainty: make the assumptions visible
For independent user-level binary outcomes, a simple large-sample calculation estimates the standard error of the rate difference as the square root of pC(1-pC)/nC + pT(1-pT)/nT. Using 0.20, 0.23 and 1,000 users per group gives about 0.0184, or 1.84 percentage points. An approximate 95% interval is 3.0 plus or minus 3.6 percentage points, roughly -0.6 to 6.6 percentage points.
This illustrative interval includes zero. It does not prove that the treatment has no effect, and it does not justify claiming a reliable positive improvement from the point estimate alone. It also depends on assumptions: independent observations, an appropriate experiment design and no unaccounted repeated testing or clustering. Other designs require different analysis.
Before looking at the result, agree on the practical improvement worth detecting, guardrails and stopping rules. A larger sample may reduce uncertainty, but extending a test only because the current answer is inconvenient can change its interpretation. Explain the next analysis or design decision rather than treating a p-value as a substitute for product judgement.
SQL and data checks: preserve the unit you mean to analyse
A conversion rate with users in the denominator needs one eligible outcome per user over the chosen window. Joining users directly to many event rows and counting all rows changes the measure. Build an eligibility population, derive an outcome flag or timestamp under explicit rules, then calculate the rate at the intended unit.
user_id | eligible | completed_in_window 101 | true | true 102 | true | false 103 | true | true
Repeated completion events should not create repeated converted users. Missing events, time-zone boundaries and a tracking change can each distort a clean-looking table. Compare record counts at every transformation, check key uniqueness and inspect small edge cases by hand. If the product changed the event definition at the same time as the feature, the result may be a measurement change rather than a behavioural change.
Segmentation should test a plausible mechanism. For instance, a prompt could help new users more than returning users because the latter already know the task. State whether that analysis was planned or exploratory. Do not present the best-looking slice as if it were the original experiment result.
A worked recommendation for a non-specialist partner
“The observed completion rate rose from 20% to 23%, which is 3 percentage points or 15% relative lift. Under a simple independent-user calculation, the uncertainty is still wide enough to include no improvement. Before recommending a launch, I would verify randomisation, user-level eligibility and complete follow-up, then review the agreed guardrails. If those checks are sound, I would decide whether a planned larger test is worth its cost based on the smallest useful effect. I would not describe the current estimate as proof that the prompt caused a reliable 15% increase.”
The value of the answer is that a partner can understand both the opportunity and the uncertainty. Avoid reporting only a statistical label. State the decision, the evidence behind it and the cost of being wrong. If a guardrail worsens materially, bring that into the recommendation even when the primary metric is positive.
For your own experience example, explain one ambiguous question you turned into an analysis. Name the data limitation, the alternative explanation you tested and what the partner did with the result. A technically elaborate model is not enough if the recommendation cannot be acted on.
A preparation plan from question to recommendation
- Role fit: map the vacancy’s analysis, querying and communication responsibilities to your own examples.
- Measurement: define the experiment’s population, unit, window and primary outcome before computing anything.
- SQL: build a tiny user/event dataset with duplicates, missing events and late events. Check the denominator by hand.
- Statistics: recalculate the point estimate and illustrative interval; explain the assumptions and why inconclusive is not the same as no effect.
- Communication: give a one-minute recommendation with one decision, one important caveat and the next useful step.
- Recruiter check: confirm the interview topics, any live work, allowed tools and arrangements for your specific role.
Practise changing one assumption. If assignment becomes account-level, how does the analysis change? If completion becomes rare, is the simple approximation still appropriate? Explaining the boundary of a method is part of knowing how to use it.
Questions about this preparation guide
Is this the official Google data scientist interview loop?
No. The role posting supplies work context, not a universal interview sequence. This guide deliberately leaves stage counts and exact assessment formats to your recruiter.
Does an interval containing zero prove the feature has no effect?
No. It means the illustrative analysis does not distinguish a positive effect from zero at that interval level. Consider the range of plausible effects, assumptions and decision costs.
Do I need to memorise this fictional experiment?
No. Use it to practise units, denominators, assumptions and communication. Apply the method to a different case and use only genuine examples for your work history.
Choose a useful next step
Sources and scope
- Google Careers: Business Data Scientist, AI Foundations role example
- Google Careers: general interview advice
- Prepti: Google interview questions by role
Employer statements are limited to the official sources and scopes named above. Cases, questions, plans and worked answers are original Prepti teaching. Do not present fictional examples as your own work or use practice material as unauthorised help during a live assessment.
Experiment extension: the assignment unit changes the uncertainty question
Original follow-up: the task-completion experiment assigns an entire team to one experience. Each of 100 teams has ten users, and team members share setup guidance. There are 1,000 user outcomes. Should the analysis simply treat all 1,000 outcomes as independent assignments?
Reveal the problem with the shortcut
No. The team is the assignment unit. Outcomes within a team can be correlated, and sharing guidance can change the treatment effect. A user-level independent-binomial standard error may understate uncertainty. Analyze the randomized design with a method appropriate to team-level assignment and the intended estimand.
Do not claim that there are only 100 observations for every possible model, or apply an invented correction factor. Team sizes, allocation, within-team variation and the estimand affect the analysis. The key first step is to preserve the assignment structure.
Before collecting data, choose whether the target is an average user effect or average team effect, especially if team sizes differ. Confirm how you will handle people who move between teams. A tidy user table does not make the randomization individual-level.
Practise technical dependencies and decision gates
Original Prepti practice extension, added November 11, 2026. Fictional inputs, not employer questions or scoring rules.