Interviewly
🧪

Data Scientist Interview Questions

ML, statistics, SQL, and case studies

Master the questions that data science interviewers actually ask. From ML fundamentals to business case studies—with tips on how to structure your answers.

27

Questions

5

Categories

2-3h

Prep Time

Machine Learning

1

Explain the bias-variance tradeoff.

medium
2

When would you use a Random Forest vs. Gradient Boosting?

medium
3

How do you handle imbalanced datasets?

medium
4

Explain how a neural network learns.

hard
5

What's the difference between L1 and L2 regularization?

easy
6

How would you detect and handle overfitting?

medium
7

Explain cross-validation and when you'd use different types.

easy

Statistics & Probability

1

Explain p-values in terms a product manager would understand.

medium
2

How would you design an A/B test?

medium
3

What's the difference between Type I and Type II errors?

easy
4

How do you calculate sample size for an experiment?

hard
5

Explain Bayes' Theorem with an example.

medium
6

When would you use parametric vs. non-parametric tests?

medium

SQL & Data Manipulation

1

Write a query to find the second highest salary in each department.

medium
2

Explain the difference between WHERE and HAVING.

easy
3

How would you optimize a slow query?

medium
4

Write a query to find users who were active 3 days in a row.

hard
5

What's the difference between INNER JOIN, LEFT JOIN, and FULL OUTER JOIN?

easy

Case Studies

1

How would you build a recommendation system for an e-commerce site?

hard
2

How would you detect fraudulent transactions?

hard
3

How would you measure the success of a new feature?

medium
4

A model's performance dropped in production. How would you debug it?

hard
5

How would you prioritize multiple ML projects?

medium

Behavioral

1

Tell me about a time you had to explain complex analysis to non-technical stakeholders.

medium
2

Describe a project where your initial approach didn't work.

medium
3

How do you stay current with developments in data science?

easy
4

Tell me about a time you disagreed with a stakeholder about methodology.

medium

Practice with Real Feedback

Record yourself answering these questions and get AI-powered feedback on your delivery.