Follow us on Facebook and get an exclusive discount!

Follow us

Data Science Interview Questions 2026: SQL, ML, and Case Studies

Last updated: November 10, 2026|16 min read|By Alexandra Moore
Data Science Interview Questions 2026: SQL, ML, and Case Studies

One candidate was laid off, and within two months she had prepared for data science interviews and had 4 offers in hand. This is how she prepared for each type of question: product sense, SQL, statistics, machine learning, presentations and behavioral questions.

The layoff

In December, she received news from her manager: her last day would be in January. This came just 3 months after a letter that the startup's VP of Engineering sent to the head of People Success, in which he said that she was among the sharpest people at the company and deserved a raise. And her salary did go up, by 33%.

She was excited and eager to complete the next phase of an important project, and the world in front of her and the company looked good. At that very moment, she was told that her name was on the company-wide cost-cutting list. On January 15th she left.

Imagine being forced to look for a job from scratch: terrifying is the mildest word for it. When she started looking at data science jobs, she found a gap between herself and what was needed. Her work at the startup (B2B, some beginner-level data engineering plus some machine learning) had nothing to do with many of the requirements in the job ads: product sense, SQL, statistics and more.

She had the basics, but the path to the next level wasn't clear. Even that was a small problem compared to the more important question: Who would even give me an interview? Her entire experience was a year and a half at a startup, and her degree was in neither statistics nor computer science. This question led to other questions: Will my visa expire before I find anything? What if the economy crashed before that? There was a lot of fear, but the choice was the same: I need a new job.

Ready to ace your next interview?

InterviewMan gives you real-time AI answers during live interviews — undetectable on Zoom, Meet, and Teams.

Try InterviewMan Free

The task seemed too big for her, so she decided to gather information first before making a move. After some research, she came to this conclusion: the type behind over half of all data science jobs is product jobs (they call it "product analytics"), with the rest split between modeling and data engineering. The other two types have more complex requirements. Modeling generally requires a PhD, while engineering requires a background in computer science. If each track has different needs, then its preparation is different.

The decision she made after this was important: preparing for all three tracks together would wear her out and probably not give a good result. One track only. She chose product analytics because her background and experience gave her a better chance of getting interviews there. Since not everyone comes from the same background, here is what each of the three types usually asks for at large companies.

This breakdown saved her many hours and can do the same for anyone searching in the field. At small startups, interviews may be less organized and mix a bit of all three types.

Product analytics (around 70% of the market)

  • What is required: having launched products yourself; good understanding of business; advanced SQL
  • Examples: Airbnb (Data Scientist, Analytics), Lyft (Data Scientist), Meta (Data Scientist), Google (Product Analyst).

Modeling (about 20% of the market)

  • What is required: machine learning from the inside (mathematics and theory, not just using it); strong coding skills
  • Examples: Lyft (Data Scientist, Algorithms), Airbnb (Data Scientist, Algorithms), Amazon (Applied Scientist), Meta (Research Scientist).

Data engineering (about 10% of the market)

  • What is required: a data scientist who does all the work alone and knows data engineering; distributed systems; Spark and MapReduce, with real hands-on work in Spark; strong coding skills
  • Examples: Airbnb (Data Scientist, Foundation) and some startups (data scientist).

Since this was her path, everything that follows is aimed more at people going for product analytics.

The search begins

Even before her last day, she applied with all her energy to every job she came across. Glassdoor, Indeed, LinkedIn: she used every job site she knew. And she asked everyone she knew for a referral. But the year was nearly over, so the first reply came in January.

The difference between the two methods was significant in favor of referrals: about 50 applications on her own brought 3 interviews, and 18 referrals brought 7. The message was clear: the market did not see her as a strong candidate. (If you're interested in large companies, there's a guide to applying at FAANG.)

The interview: the big picture

The form differed from one company to another, but the structure in most of them was close to this:

  • A first call with the recruiter
  • One or two technical phone screens (TPS), or a take-home task instead
  • A final round of 4 to 5 hours: usually 3 to 4 technical rounds plus one behavioral round with the hiring managers

4 of the 10 companies she interviewed with gave her a take-home task ahead of the TPS or in its place. And it wore her out. A take-home that took 8 hours, for example, meant she spent at least half of the next day resting. So she planned her schedule around it: no interviews on the morning after a take-home. When you know this structure from the start, you will be much calmer and the whole search will feel lighter.

Before the interview

She couldn't afford to waste a single opportunity. There are people who learn from interviews themselves: they get better with each one, and offers come from the last few companies. She knew it, but she couldn't rely on it. When she graduated, 500 applications brought her only 4 interviews, and she didn't expect much better this time. So the plan was to walk into every interview fully prepared, and not throw away a single chance.

The layoff had one advantage: she had the whole day to study. Every day had a plan: two things, three at most, nothing more. She learned from old interviews that deeper understanding yields more complete answers. This is especially noticeable during an interview, since stress and anxiety during this time remain higher than on any normal day. At a moment like this, you can't pretend to understand.

Here she remembers a wrong idea that people repeat a lot: you won't understand product work or experimentation until you have done it on the job. She strongly disagrees. She had no earlier experience with A/B tests or with products, but she believed it could be learned through reading, listening, thinking it over and summing it up. We all studied exactly the same way at school.

And every time she meets data scientists with more years than her, she finds that this is exactly what they do, even those who have been working in the field for many years. The interview may ask about something far from your own work, and you can pick up that knowledge without ever having done it.

So what can you expect? The TPS was mostly product and SQL. The final round had many types: product sense, SQL, statistics, modeling, behavioral, and sometimes a presentation. If these rounds are conducted over a video call, InterviewMan will hear the question and show you the answer on the screen while you speak. Below are the resources that helped her most.

To find out what each company asks, Glassdoor came in handy. The problems there showed her the company's needs and how far she was from meeting them. From there, she made a plan to close that gap.

Ready to ace your next interview?

InterviewMan gives you real-time AI answers during live interviews — undetectable on Zoom, Meet, and Teams.

Try InterviewMan Free

Preparation for each topic

The 6 parts below show how she studied for each topic that comes up in product analytics interviews, so that whoever comes after her finds the way easier.

Product sense

At the startup, most of her work involved machine learning models: building them, deploying them, plus Spark jobs to write. This means the product was barely a part of her day. The first time she read real interview questions from Glassdoor, such as "How can you tell if a product is successful?" or "How would you judge a new feature from what current users are doing?", she couldn't even start. The questions seemed broad, with no clear beginning or end.

So she went back to the simplest method: reading and summarizing, from the books below. With the reading, she built up a background in product. Out of it came her own framework, an organized way to take on any product question. Then she tested both with what matters most when you learn any skill: practice. She wrote answers to product sense questions, said them out loud, recorded her voice on her phone, and went back to the recording to fix the answer. Before long, she was no longer faking it in the interview: she really understood.

Books:

  • Cracking the PM Interview (Gayle Laakmann McDowell, Jackie Bavaro)
  • Decode and Conquer (Lewis C. Lin)
  • Case Interview Secrets (Victor Cheng)

SQL

She failed her first SQL TPS, at a company she really wanted to join. Something had to change. The answer was practice again: she solved SQL problems one after another. In the end, a set of problems that used to take her a whole week took a single day. Practice makes the difference!

Questions that come up a lot, on a table of ads and a table of events (an event is an impression, a click or a purchase): How many ads are running right now? Which campaigns are running, that is, those with at least one running ad? How many events of each type did each ad get? What is each ad's click-through rate (clicks per impression) and purchase rate (purchases per click)?

Statistics and probability

Here she reviewed the basics of probability and statistics and worked through a few coding exercises. This can be intimidating because the material in both cases is large, but for product data scientist jobs, the questions were never hard. Questions that come up a lot: What is the normal distribution and why is it important to us? How do we know that a variable follows a normal distribution? When we build a model that predicts prices, are the prices normally distributed, and should we change them before they go into the model?

These sources are useful for review:

  • Khan Academy has a beginner's course called Statistics and Probability that covers the basics of both.
  • The Online Stat Book, which covers all the basics of statistical inference.
  • Statistics 110: Probability from Harvard, a beginner's course with practical questions. For those who would rather read than watch, there is Introduction to Probability Theory from PennState, with lots of examples.
  • To lock in what she learned, she did HackerRank's 10 Days of Statistics.
  • The stats interview sometimes included questions about A/B tests, and Udacity has a very good course on the basics.

Machine learning

She has no CS degree, so what she knew about machine learning theory was limited. She had taken several courses at her previous job, so she went back over her notes from them before the interviews. It's true that modeling questions come up more and more often, but in product data scientist jobs, the question mostly comes down to when and how you use the model, rather than the math behind it.

Questions that come up a lot: What does supervised machine learning mean? What is the trade-off between bias and variance? What does overfitting mean? How does cross-validation work? What do precision, recall and F1 score mean? What is regularization and what is it for? How is a random forest different from gradient boosting?

Here are resources to help you strengthen yourself before your interview:

  • Start with Applied Machine Learning, a free course from Andreas Mueller
  • Machine Learning on Coursera, from Andrew Ng

Presentation

Some companies asked for a presentation, either of the take-home or of a project the candidate is proud of. Other companies asked in the behavioral interview about the project that had the biggest impact. Regardless of the format, the presentation should be engaging and challenging.

Sounds good, but how? Her most important advice: don't skip any detail. Big goal, success metrics, ETL, model details, deployment, monitoring, and the improvements after that. A strong presentation is built from many small details, not one huge idea. Before you present, think again about these:

  • What did the project want to achieve and how were you going to measure its success?
  • On what basis was the decision to release made?
  • Did customers gain from it? What tells you so? And how much did they gain?
  • How did you check this? What did your A/B test look like?
  • What was the most difficult thing you had to face?

The goal is for the person in front of you to stay with you until the last word. That's why she talked about the most surprising findings and the hardest problems from the project. But what really makes sure of it is practice, out loud, again and again. She presented to her family to make sure she had a grip on the topic and could explain it easily. If you can hold your own family's attention, an interviewer who has to listen to you has no chance of drifting away.

Behavioral questions

Technical prep can easily eat up all your time, but the behavioral part matters just as much. Every company she had interviews with had at least one behavioral round in the final round. The questions came in 3 types:

  • Why us? / What is the most important thing for you in any job?
  • Tell us about yourself / what makes you want to leave your job?
  • Your biggest success, failure or challenge at work. Or asked another way: describe a conflict you settled, or a time you needed to win over a PM or your manager.

If you are a data scientist, don't take this part lightly, and prepare for it! You can answer the first type once you understand what the company wants to achieve and what values it works by. The second and third types are answered with stories, and just 3 stories covered every question she got. So, before you enter, have some powerful stories ready with you and arrange them in STAR style.

Just as with product questions: say the answer out loud, record it, listen to it, adjust it, and repeat. When you hear a story, you know whether it works or not.

The secret to every final round ending in an offer

The night before a final round was always tense and hectic. She would try to squeeze in extra technical material, go over her statistics notes, and review her framework for product questions, all at the same time. As anyone who went to school knows, that didn't help much. The result is decided by the preparation in the weeks before, not by one night. But on the day of the interview itself, there are rules that will help you:

  1. Clarify the question before answering. Put the question back into your own words, so you are sure what is being asked. Answering without clarifying counts against you.
  2. Keep every answer organized. Write your thinking down as bullet points. This way, interviewers will see that you approach the problem systematically, and it will also be easier for them to write your feedback later.
  3. Don't panic if you don't have the answer. This area may be new to you, and that's okay. Start with assumptions, explicitly say they are assumptions, and ask if they make sense. Sometimes asking for more time is perfectly acceptable. And if your mind goes completely blank, with no ideas at all? Talk about something you have been through that is close to the question.
  4. Attitude matters. The company wants someone who listens, welcomes other opinions, and is pleasant to work with. Be modest and polite, listen, ask when something is unclear, bring good energy and try to keep the conversation pleasant between you.
  5. Study the company. Use its products. Think about how you would improve them and which metrics you would use to measure their success. And read their engineering blogs to know exactly what data scientists are doing there. All this makes the conversation in an interview deeper and better.

With these rules, the final rounds gave her this feedback:

  • Answers to questions about the product are very organized.
  • The presentation is organized and thought out.
  • She was really interested in our products and shared useful ideas to improve them.

Negotiation

The offers came verbally first, and then the work started with the recruiters on the final numbers. She has one rule at this stage: negotiate every time. But how?

She followed Haseeb Qureshi's guide to negotiating an offer word for word; it is very helpful and comes with ready-made scripts. Every rule in it worked. There was no company that made her an offer that she didn't negotiate with. On average, an offer went up 15%. The biggest increase was 25% of the total value of the highest offer. In other words, negotiating brings money, so try it. (If you need a place to start, here are salary negotiation scripts.)

The most important lessons

  1. The secret is practice, and lots of it.
  2. Failures happen both in life and when job hunting. Don't make them bigger than they are.
  3. Look for what relieves stress and works for you.

In the end

She lost 11 pounds and cried and screamed a lot (a job search puts you under pressure, and there's no shame in saying so), and two months after the layoff she had 4 offers. 3 of them came from companies she had never even dreamed about: Airbnb (where she went in the end), Twitter and Lyft. The fourth was a startup working in the healthcare sector.

When those two crazy months were over, the count was: 10 interviews, 4 final rounds and 4 offers. That means 40% of her TPS rounds led to a final round, and 100% of her final rounds led to an offer.

She was very lucky to have her family and friends stand by her after the layoff, and without them she would not have reached the company of her dreams. The period was difficult. The strange thing is that job hunting is a job too, and a tiring one, but it was all worth it.

Download: InterviewMan for Mac, Windows, iPhone, Android and web ($12/mo on the annual plan or $30/mo, with a one-time 20-minute free trial and no card)

Ready to Ace Your Next Interview?

Join 570,000+ professionals using InterviewMan to get real-time AI assistance during their interviews.

Related Articles

Try InterviewMan Free

AI interview assistant. Undetectable.

Get Started