Data Scientist Interview Questions (2026)

5 min read20 practice questionsUpdated Sep 29, 2026

Data science interviews in 2026 blend statistics, machine learning, SQL, and product thinking into one of the most technically diverse processes in the industry. Whether you're targeting a product analytics role at Meta, an ML-focused position at Google, or a research role at Anthropic, the core skills tested are consistent. This guide covers the full range: probability, A/B testing, machine learning theory, SQL, and the business intuition questions that separate strong candidates from great ones.

Hear how your answer lands before the interview

“Tell me about a time your analysis changed a product or business decision.”

Rehearse my answer

Free · no account needed

Data Scientist Interview Questions

Cultural Fit Questions

1 question
  1. 1

    How do you stay current with the rapidly evolving data science landscape?
    Entry-level

    How to answer: Be specific. Mention papers (arXiv, NeurIPS, ICML), communities (Kaggle, Hugging Face forums), tools you're experimenting with. Interviewers want genuine curiosity, not a list of buzzwords.

“Tell me about yourself”, “Why here?” and the other common questions, and how to prep each →

Behavioral Questions

3 questions
  1. 1

    Tell me about a time your analysis changed a product or business decision.
    Mid-level

    How to answer: The most impactful DS stories show that your analysis was acted upon. Describe what you found, how you communicated it to stakeholders, and what changed as a result. Include the quantitative impact of the decision where possible.

  2. 2

    Describe a time you had to present complex findings to a non-technical audience.
    Mid-level

    How to answer: Show that you can translate data into decisions. Explain how you chose the right level of abstraction, what you left out and why, and how you used visualisation to make the insight accessible. Good data scientists are communicators first.

  3. 3

    What is your process when you discover that data you've been analyzing is wrong?
    Mid-level

    How to answer: Demonstrate integrity and ownership. Describe how you escalate quickly, scope the impact, correct the error, communicate proactively to stakeholders, and implement data quality checks to prevent recurrence.

The six topics behind behavioral questions, and how to prep a story for each →

Product Questions

1 question
  1. 1

    What metrics would you use to evaluate a newly launched subscription pricing tier?
    Mid-level

    How to answer: Cover adoption rate (% of eligible users upgrading), churn rate by tier, incremental revenue (uplift over prior baseline), cannibalisation of other tiers, and customer satisfaction (NPS delta between tiers). Also discuss LTV:CAC ratio for the new tier vs existing tiers.

Technical Questions

14 questions
  1. 1

    Explain the difference between Type I and Type II errors and why they matter in practice.
    Entry-level

    How to answer: Type I: false positive (rejecting a true null hypothesis). Type II: false negative (failing to reject a false null). Anchor your answer in a concrete example — e.g. a spam filter: Type I flags legitimate email as spam; Type II lets spam through. Discuss the power/significance trade-off.

  2. 2

    How do you choose a significance level (alpha) for an A/B test?
    Mid-level

    How to answer: Explain that alpha = 0.05 is a convention, not a law. Discuss how the business context changes the threshold: when Type I errors are costly (e.g. shipping a harmful feature), use lower alpha. Tie to statistical power and sample size planning.

  3. 3

    What is the Central Limit Theorem and why is it important for data scientists?
    Entry-level

    How to answer: The CLT states that sample means approach a normal distribution as sample size grows, regardless of the underlying distribution. This underpins hypothesis testing and confidence intervals — many statistical tests assume normality which CLT justifies.

  4. 4

    Explain the difference between correlation and causation. Give a real example.
    Entry-level

    How to answer: Correlation measures a linear relationship; causation implies a mechanism. Example: ice cream sales and drowning rates are correlated (both increase in summer) but the cause is a confounding variable (hot weather). Discuss how to establish causality: RCTs, instrumental variables, difference-in-differences.

  5. 5

    Walk me through the bias-variance trade-off.
    Mid-level

    How to answer: High bias = underfitting (model too simple, high training and test error). High variance = overfitting (model too complex, low training error but high test error). The trade-off: increasing model complexity reduces bias but increases variance. Regularization, cross-validation, and ensemble methods help manage this.

  6. 6

    How would you approach a class imbalance problem in a binary classification task?
    Mid-level

    How to answer: Cover data-level approaches (oversampling with SMOTE, undersampling) and algorithm-level approaches (class weights, threshold tuning). Discuss choosing the right metric — accuracy is misleading with imbalanced classes; prefer precision/recall, F1, or AUC-ROC.

  7. 7

    Explain how a random forest works and when you would use it over a single decision tree.
    Mid-level

    How to answer: Random forest: ensemble of decision trees trained on bootstrap samples with random feature subsets at each split. Reduces variance through averaging. Use over single trees when you need better generalisation and can tolerate reduced interpretability. Contrast with gradient boosting (lower bias, higher risk of overfitting).

  8. 8

    How do you evaluate a recommendation system?
    Senior

    How to answer: Offline metrics: precision@k, recall@k, NDCG (ranking quality), mean reciprocal rank. Online metrics: CTR, watch time, conversion rate, user satisfaction surveys. Explain the gap between offline and online performance and why A/B testing the recommendation system in production is essential.

  9. 9

    Write a SQL query to find the top 3 users by revenue in each country in the last 30 days.
    Mid-level

    How to answer: Use a CTE or subquery with SUM grouped by user and country, then RANK() or DENSE_RANK() OVER (PARTITION BY country ORDER BY revenue DESC). Filter for last 30 days in the WHERE clause. Mention that RANK() vs DENSE_RANK() matters if ties are possible.

  10. 10

    How would you detect data quality issues in a new dataset before analyzing it?
    Entry-level

    How to answer: Systematic checks: null/missing values (counts and percentages per column), distribution of numeric features (min, max, mean, median, outliers), cardinality of categorical features, duplicate rows, referential integrity across joined tables, and temporal consistency (e.g. event timestamps before account creation). Always validate assumptions against domain knowledge.

  11. 11

    How would you design an A/B test to measure the impact of a new recommendation algorithm?
    Senior

    How to answer: Cover: defining the primary metric and guardrail metrics, randomisation unit (user vs session vs item), sample size calculation (power analysis), holdout duration, how to handle novelty effects, and how to interpret results. Also discuss network effects if users can affect each other.

  12. 12

    What is p-hacking and how do you avoid it in practice?
    Senior

    How to answer: P-hacking: repeatedly analyzing data and stopping when p < 0.05. Solutions: pre-register the test design and primary metric before running, use sequential testing methods (e.g. SPRT) if you need to peek, correct for multiple comparisons (Bonferroni, Benjamini-Hochberg) if testing multiple variants, and commit to a fixed sample size upfront.

  13. 13

    How would you measure the long-term impact of a feature that helps new users get started faster?
    Senior

    How to answer: Look beyond immediate activation: measure D7, D30 retention, progression through key milestones (second session, first purchase, habit-forming event), and LTV for the treated vs control cohort over a longer holdout window. Discuss the risk of novelty effects inflating short-term metrics.

  14. 14

    How do you decide when a model is good enough to ship?
    Senior

    How to answer: Business context determines the threshold — a model predicting churn for marketing targeting has a different bar than one used for fraud detection. Discuss: offline evaluation metrics vs business metrics, shadow mode testing, gradual rollout, and monitoring post-deployment drift.

Case Study Questions

1 question
  1. 1

    User engagement dropped 15% after a product change. How do you investigate?
    Mid-level

    How to answer: Structured approach: verify the metric drop is real (data pipeline issues?), segment the drop by platform/cohort/feature/geography, correlate with the timeline of the change, check if it is novelty effect or genuine degradation, run a holdback experiment if possible. Distinguish correlation from causation before concluding.

Rehearse this one out loud:

“Tell me about a time your analysis changed a product or business decision.”

Answer it out loud
An Orava interview summary: overall score, what went well, focus areas and feedback on each question

How to Prepare for Data Scientist Interviews

  • Master the SQL interview pattern: window functions (RANK, ROW_NUMBER, LAG/LEAD), CTEs, and aggregation with GROUP BY are asked at almost every company. Practice on platforms like Mode Analytics, StrataScratch, or LeetCode SQL.
  • For statistics questions, always connect abstract concepts to real business scenarios. "A/B testing with alpha = 0.05" means nothing without explaining what you are risking — interviewers at Google, Netflix, and Meta evaluate your business intuition as much as your stats knowledge.
  • Prepare a clear explanation of your most complex ML project: the business problem, your modeling choices, how you evaluated the model, and most importantly — what business impact it had. Be ready to go three levels deep on any technical decision.
  • Know the difference between types of DS roles before your interview: product analytics-focused (heavy SQL, A/B testing, metrics), ML-focused (modeling, MLOps, feature engineering), and research-focused (novel methods, publications). The interview style varies significantly.
  • Practice mental arithmetic for back-of-envelope estimations. "Estimate the number of Uber rides in London on a Friday night" is a common warm-up question that tests your ability to structure a problem and sanity-check your assumptions.
  • Prepare for the "metric drop" case study — it appears in almost every DS interview. Your structured approach: (1) verify data integrity, (2) segment the drop, (3) correlate with events, (4) hypothesise causes, (5) propose validation experiments.
  • Understand causal inference beyond A/B testing: difference-in-differences, instrumental variables, and regression discontinuity come up at senior levels — especially at companies like Airbnb, Lyft, and Spotify that invest heavily in experimentation platforms.

Data Scientist Interview — Frequently Asked Questions

Most data scientist interview processes span 4–6 stages: (1) recruiter screen (background and motivation), (2) technical phone screen (SQL, Python, or statistics questions — 45–60 min), (3) take-home or live coding exercise (data analysis, model building, or case study), (4) on-site or virtual final round with 3–5 interviews covering statistics, ML, product analytics, and behavioral questions. Some companies (Meta, Netflix) include a separate "metrics and A/B testing" interview. The process typically takes 3–8 weeks.

Data analysts typically focus on describing and explaining what happened using SQL, dashboards, and statistical summaries. Data scientists go further: building predictive models, designing experiments, and applying machine learning to improve products or automate decisions. In practice, the distinction varies by company — at some organizations "data scientist" is effectively a senior analyst role; at others (Google, Meta, Netflix) it involves substantial ML engineering. Always check the job description carefully and ask the recruiter where this role sits on that spectrum.

Core topics: probability distributions (binomial, Poisson, normal), hypothesis testing (t-test, chi-square, Mann-Whitney), confidence intervals, p-values and statistical power, Bayesian vs frequentist thinking, A/B test design (sample size calculation, stopping rules), regression (OLS, logistic), and common pitfalls (multiple comparisons, selection bias, survivorship bias, Simpson's paradox). For senior roles, add causal inference methods (DiD, IV, RD designs) and more advanced ML theory.

Meta DS interviews are heavily product analytics-focused: you'll be assessed on your ability to define and move product metrics, design A/B tests, and diagnose metric drops. SQL, Python, and business intuition are weighted heavily. Google DS interviews tend to be more statistics and ML-intensive, with deeper emphasis on algorithmic thinking and data at scale. Both companies value rigorous experimental design and an ability to connect analysis to business decisions. See the Google Data Scientist and Meta Data Scientist guides for company-specific prep.

No — most data scientist roles at top tech companies do not require a PhD. A strong foundation in statistics, machine learning, and programming (Python and SQL) is far more important than academic credentials. That said, research scientist roles (at DeepMind, OpenAI, Anthropic) typically do expect PhD-level work. For product DS or applied ML roles, a Master's or even a Bachelor's with strong project experience is typically sufficient. Build a portfolio of real projects and Kaggle competition results to demonstrate competence.

Data scientist compensation varies widely by company and seniority. Pay varies by level, location and team. Many postings list a base-pay range (US postings in states such as California and New York are required to), so check the posting for your role and ask your recruiter how equity and any bonus work at your level.

For a senior role at a top company: 6–10 weeks of structured preparation. Spend the first two weeks on statistics and probability fundamentals, the next two weeks on SQL practice (LeetCode SQL, StrataScratch), then two weeks on ML theory and case studies, and the final two weeks on mock interviews. For entry-level roles, 4–6 weeks focused on SQL, basic statistics, Python (Pandas, NumPy), and a strong portfolio project is typically sufficient. Prioritize the skills most heavily weighted by your target company — check job postings and Glassdoor reports for clues.

Applying for this role?

Paste the Data Scientist posting and your resume. See which requirements your resume already proves, and which answers to prepare first.

Compare my resume to this role

Free · no account needed

Related Interview Guides