Choose your practice level
Choose experience for the scope of responsibility, then difficulty for the reasoning challenge. Filters narrow the existing questions; they do not change or remove the answers.
Fresher: fundamentals and beginner projects. Intermediate: implementation, debugging and optimization. Senior: architecture, scale, cost and technical decisions. Years are suggested study ranges, not eligibility rules; if you fall between ranges, choose by readiness. Difficulty remains an independent filter. These are editorial practice groupings, not employer ratings.
- Fresher (0–1 year): Explain an activation metric, inspect a one-to-many join and distinguish a missing sensor reading from zero. Show a small aggregation you can verify by hand.
- Intermediate (2–5 years): Diagnose a conversion drop, a biased review sample and an inconclusive experiment. State what the observed data can and cannot establish.
- Senior (5+ years): Design company-level experimentation, comparable retention cohorts and a decision memo. Defend assumptions, uncertainty and the cost of the next information-gathering step.
Showing 10 of 10 unique questions.
These are original practice questions, not questions reported from a particular employer. Every scenario below is hypothetical. Use the answers to understand the reasoning, then explain the decision in your own words and connect it to work you actually did.
How to practise
First answer aloud without reading. State the goal, assumptions, proposed approach, checks and trade-offs. Then compare your reasoning with the answer, tackle the follow-up and write down one gap to practise. Aim for a clear two-minute initial explanation; expand when asked. This timing is a practice suggestion, not an interview rule.
Role-based questions and detailed answers
How do you turn a vague business question into an analysis?
Show answerHide answer: How do you turn a vague business question into an analysis?
Answer: Identify the decision, who will make it and what action could change as a result. Define the population, outcome, observation window and practical constraints. Agree on a useful comparison before selecting a method. An analysis is valuable when it informs a decision; a technically impressive model answering a different question is not a substitute.
Hypothetical scenario: A manager asks why growth is bad without identifying whether they mean acquisition, activation or retention.
Follow-up: Which clarification would you ask before querying the data?
Common mistake: Choosing an algorithm before agreeing on the decision and metric.
Worked example: Replace ‘improve growth’ with ‘should we change onboarding to increase seven-day activation for new signups?’ Define signup eligibility, the activation event and the seven-day window; exclude incomplete follow-up from a mature-cohort estimate. Ask which action is feasible if the result changes. This gives the first query a defensible population and denominator.
What a strong answer demonstrates: Clarify decision, population, outcome and time horizon before selecting charts or models.
Why can a SQL join inflate revenue?
Show answerHide answer: Why can a SQL join inflate revenue?
Answer: Check the grain and uniqueness of both tables before joining. A one-to-many or many-to-many relationship can repeat monetary values across result rows. Aggregate at the intended business grain or use an appropriate deduplicated relation, then reconcile counts and totals before and after the join. DISTINCT is not a general repair for an incorrectly defined relationship.
Hypothetical scenario: Each order joins to several support tickets, and the order value is summed once per ticket.
Follow-up: How would you preserve ticket counts without repeating order revenue?
Common mistake: Adding DISTINCT until the output looks plausible without explaining table grain.
Worked example: One order worth 100 joined to three tickets yields three rows and an incorrect revenue sum of 300. Aggregate tickets by order ID before a one-row-per-order join; then reconcile the order count and revenue total. SUM(DISTINCT amount) is also wrong when two different orders each legitimately cost 100.
orders = {101: 100, 102: 100}
tickets = [(101, 'a'), (101, 'b'), (101, 'c')]
wrong_total = sum(orders[oid] for oid, _ in tickets)
assert wrong_total == 300
correct_total = sum(orders.values())
assert correct_total == 200 # Sum at order grain, not ticket grain.
What a strong answer demonstrates: Explain relation cardinality and show before/after invariants rather than applying DISTINCT blindly.
How do you distinguish a missing value from a true zero?
Show answerHide answer: How do you distinguish a missing value from a true zero?
Answer: Investigate collection semantics before replacing anything. Zero can mean an observed absence, whereas null may mean not measured, unavailable or inapplicable. Examine missingness by source, time and outcome, and document how the analysis treats it. Any imputation introduces assumptions; assess sensitivity and preserve indicators where they carry legitimate information available at prediction time.
Hypothetical scenario: A sensor outage appears as null, while a functioning sensor records zero activity.
Follow-up: What would be lost by replacing both conditions with zero?
Common mistake: Treating every null as an observed zero for convenience.
Worked example: A sensor reports [0, 4, null]. Replacing null with zero gives mean 1.33, while the observed-readings mean is 2.0; neither estimates the missing reading without assumptions. Report two observed readings out of three expected and investigate the outage. Zero activity and absent telemetry must remain distinguishable in the source data.
readings = [0, 4, None]
observed = [value for value in readings if value is not None]
observed_mean = sum(observed) / len(observed) if observed else None
zero_filled_mean = sum(value if value is not None else 0 for value in readings) / len(readings)
assert observed_mean == 2.0
assert abs(zero_filled_mean - 4 / 3) < 1e-9
assert len(observed) == 2 # Two observed readings, not three.
# Neither mean estimates the missing observation without assumptions.
What a strong answer demonstrates: Show the impact of an assumption numerically and preserve missingness semantics and denominator.
Can an observational difference prove a product change worked?
Show answerHide answer: Can an observational difference prove a product change worked?
Answer: Not by itself. Users exposed to a feature may differ in intent, timing or other conditions that also influence outcomes. Explain possible confounding and selection effects. A well-designed randomized experiment can support a stronger causal comparison, subject to its assumptions. If only observational data exists, qualify the conclusion and avoid presenting association as a measured treatment effect.
Hypothetical scenario: Customers who use a premium dashboard renew more often, but they also began with larger contracts.
Follow-up: What alternative explanation would you investigate first?
Common mistake: Calling a correlation the causal impact of the feature.
Worked example: Dashboard adopters renew at 80% versus 60% for non-adopters, but larger customers are more likely to adopt. Stratify by pre-existing size as a diagnostic and identify remaining confounders. Propose randomizing access where feasible, with a predefined outcome window. Do not present the 20-point association as a causal lift.
What a strong answer demonstrates: Identify confounding and explain what design or assumptions would support a stronger causal claim.
Why do assignment and measurement units matter in an experiment?
Show answerHide answer: Why do assignment and measurement units matter in an experiment?
Answer: Define what is randomized and what is measured before analysing results. Multiple observations from one assigned unit may be dependent, so treating them as independent can overstate precision. Align analysis with the experimental design and consider interference between units. Explain exclusions and exposure consistently rather than choosing a convenient row-level test after seeing the outcome.
Hypothetical scenario: Companies are randomized, but individual employee sessions are analysed as if each session were independently assigned.
Follow-up: How could within-company similarity affect the reported uncertainty?
Common mistake: Assuming the number of rows equals the number of independent experimental units.
Worked example: If 20 companies are randomized and each supplies 1,000 sessions, 20,000 rows do not create 20,000 independent treatment assignments. Account for company clustering and shared exposure; choose company summaries or a method respecting cluster dependence. Power depends on cluster count and similarity within companies. Discuss interference if employees from both groups collaborate.
What a strong answer demonstrates: Align randomization, analysis and uncertainty; recognize that row count alone does not establish power.
What does an inconclusive statistical result mean?
Show answerHide answer: What does an inconclusive statistical result mean?
Answer: It means the data and chosen analysis did not establish the specified difference with the required evidence; it does not prove equivalence. Inspect effect estimates, uncertainty, sample size and practical relevance. Compare the interval with the decision threshold and discuss whether more data would help. Avoid repeatedly extending the test until a favourable result appears.
Hypothetical scenario: An experiment has a positive estimate but an interval that includes both negligible and valuable effects.
Follow-up: What decision can you justify without claiming the feature has no effect?
Common mistake: Interpreting a non-significant result as proof that two options are identical.
Worked example: Suppose the estimated conversion lift is 1 percentage point with an interval from −1 to +3 points. The data allows both harm and a useful benefit; it does not establish equality. Compare that range with the minimum worthwhile effect and rollout risk. A new sample plan should be justified prospectively, not continued until a p-value becomes attractive.
What a strong answer demonstrates: Interpret the effect range in decision terms and avoid equating non-significance with no effect.
How can a reviewed sample misrepresent overall performance?
Show answerHide answer: How can a reviewed sample misrepresent overall performance?
Answer: Review selection can depend on user complaints, model uncertainty or operational convenience. Those cases may not represent the population. Describe the sampling mechanism and collect a representative audit sample when estimating overall quality. Keep targeted failure analysis separate from population estimates; both are useful, but answer different questions and should not share an unqualified accuracy label.
Hypothetical scenario: Only users who report an incorrect recommendation contribute labels to the evaluation dataset.
Follow-up: What sampling plan would estimate quality beyond complaint cases?
Common mistake: Extrapolating the complaint error rate directly to every user.
Worked example: If 70 of 100 complaint cases are wrong, 70% is the error rate among reviewed complaints, not all recommendations. Draw an independent random audit sample with known inclusion rules. If sampling deliberately overrepresents rare slices, retain selection probabilities and use an appropriate estimator; keep targeted debugging and population estimation as separate reports.
What a strong answer demonstrates: Name the selection mechanism and design a sample suited to the quantity being estimated.
How would you investigate a sudden metric change?
Show answerHide answer: How would you investigate a sudden metric change?
Answer: Verify instrumentation, metric definitions, processing completeness and denominator changes before explaining user behaviour. Segment by source, platform, cohort and time to locate the shift. Check releases and upstream changes, then form testable hypotheses. Preserve the distinction between a data defect and a real behavioural change so the response addresses the actual cause.
Hypothetical scenario: Conversion falls after a tracking release that stops recording purchases from one mobile browser.
Follow-up: Which reconciliation would separate missing events from lost sales?
Common mistake: Building a business narrative before checking whether measurement changed.
Worked example: A dashboard shows purchases down 20% after a mobile release, while payment records are steady. Reconcile event IDs and totals by browser, app version and time zone before blaming demand. If one SDK stopped emitting purchase events, repair/backfill the instrumentation and label the affected reporting interval instead of training a demand model on broken labels.
What a strong answer demonstrates: Start with independent measurement checks and isolate a slice before proposing behavioural explanations.
Why can comparing young and old cohorts be unfair?
Show answerHide answer: Why can comparing young and old cohorts be unfair?
Answer: Cohorts need comparable exposure and follow-up to support a fair outcome comparison. New users may not yet have had time to renew, churn or complete a purchase. Define a common observation window, account for incomplete follow-up and report the eligible denominator. Calendar changes and acquisition mix may still differ, so explain those limitations separately.
Hypothetical scenario: Last week's users appear to have lower thirty-day retention even though thirty days have not elapsed.
Follow-up: Which cohorts are currently eligible for that metric?
Common mistake: Counting users with incomplete follow-up as confirmed failures.
Worked example: Thirty-day retention is not observable for a signup cohort only seven days old. Compare cohorts with at least 30 days of follow-up under the same event definition, or use a justified time-to-event approach for censoring. Also inspect acquisition mix and calendar effects: equal follow-up removes one bias, not every difference.
What a strong answer demonstrates: Define eligibility and censoring explicitly, then separate remaining confounding from follow-up bias.
How should a recommendation communicate uncertainty?
Show answerHide answer: How should a recommendation communicate uncertainty?
Answer: Lead with the decision and the evidence that supports it, then state the main uncertainties and their consequences. Separate measured facts from assumptions and scenarios. Offer a bounded next action, such as a limited experiment or additional data collection, with a review trigger. Avoid excessive decimal precision when data quality or design limits the strength of the conclusion.
Hypothetical scenario: A small regional sample suggests demand, but collecting representative national data would delay launch.
Follow-up: What limited next step balances learning with the cost of a wrong decision?
Common mistake: Hiding uncertainty in an appendix while presenting the headline as certain.
Worked example: Present ‘run a limited regional pilot’ rather than ‘national demand is proven’ when the sample covers one city. State the observed effect range, sampling limitations, cost of a false decision and a stop/expand trigger for the pilot. Make assumptions visible in the main recommendation, not only in technical appendices.
What a strong answer demonstrates: Balance expected benefit, downside and information value, with a clear next decision and honest limits.
Turn practice into evidence
Analyse a fictional conversion dataset with a written decision question. Document table grain, join checks, missing values and cohort follow-up. Propose an experiment separately from the observational findings, and write a one-page recommendation that distinguishes evidence, assumptions and uncertainty.
Score each response informally: 0 if you cannot explain it, 1 for a definition, 2 for an approach with checks, and 3 for justified trade-offs plus a failure-recovery plan. This is a self-study rubric, not a validated hiring assessment. Revisit weak answers and never invent project outcomes or experience.
Career roadmap and related jobs
Build the underlying skills with the Data Scientist career guide. For a shorter starting point, read AI interview answer frameworks.
Explore relevant live jobs. Listings are filtered by Data Science and can include adjacent roles. Read the employer's requirements and original posting before applying. Use one listing to select the questions most relevant to its responsibilities.
Methodology
Editorial synthesis of cited sourcesAI-assisted original educational practice material. These are not actual employer interview questions, reported interview experiences or hiring guarantees. Answers, hypothetical scenarios, follow-ups and self-assessment advice are original editorial synthesis. Official Google references support background concepts, not endorsements of these answers. Related job recommendations use role-title aliases and, for specialist roles, primary specialization checks. Recommendations are a limited sample; adjacent roles may appear and availability changes. References checked 17 October 2026.
Read our editorial and research policy →Worked examples are original, hypothetical learning exercises, not employer results or production-ready implementations. Code uses the Python standard library; test and adapt it before real use.
Sources
- Machine Learning Crash Course
Google for Developers · Checked 17 October 2026
- Dividing datasets
Google for Developers · Checked 17 October 2026
- Classification: accuracy, recall, precision and related metrics
Google for Developers · Checked 17 October 2026