ML engineer interview: rounds, questions, and how to prepare
Which rounds an ML engineer or data scientist interview consists of, what gets asked in each, how to prepare, and where candidates lose points.

ML engineers and data scientists rarely get a single technical round. It is usually four to six meetings: classic ML theory, neural networks and LLMs, statistics, ML system design, coding, and a conversation with the hiring manager. Each round has its own interviewer, and strong theory will not save you if you open the design round by picking a model.
The ML section of the Sobes question bank holds over 3,000 questions from real interviews, mostly at companies hiring in Russia. The most repeated ones are basic: "Name several types of classification metrics and explain them" was asked at 11 companies, "What is overfitting? How do you detect and prevent it?" at 10, and "How does a cross-encoder (ranker) differ from a bi-encoder?" at 10 as well.
The rounds
| Round | What they check | Where points are lost |
|---|---|---|
| ML theory | Metrics, overfitting, trees and boosting, validation | A definition with no example of when the metric lies |
| DL and LLMs | Transformers, embeddings, RAG, fine-tuning | Knowing the terms without knowing why you'd use them |
| Statistics and A/B | p-value, sample size, experiment design | Confusion about what a p-value actually shows |
| ML system design | The path from a business problem to a model in production | A model in the first minute, nothing on data or metrics |
| Coding and SQL | Python, algorithms, queries | Silence while solving |
| Behavioral | Projects, role in the team, motivation | A story about a model with no business outcome |
The mix depends on the company and the role. Data scientists get more statistics and experiments, ML engineers get more code, pipelines, and model serving. Ask the recruiter for the list of rounds in advance. It is a normal question and it almost always gets answered.
ML theory
You are asked about things you use every day and have to explain them in words. Typical questions from the bank: "What is gradient boosting and how does it work?", "Tell me about regularization: what it is, why it's needed, what kinds exist", "How do you cross-validate on time series?", "With class imbalance, which metrics are adequate and which are not?".
A textbook definition covers the first sentence. After that the interviewer expects you to tie the answer to a task. For the question about metrics under imbalance:
Accuracy is useless here: if fraud is one percent, a model that always says "not fraud" scores 99%. I'd look at precision and recall at the threshold we care about, plus PR-AUC, because ROC-AUC looks too optimistic under heavy imbalance. I'd pick the threshold from the cost of an error: a missed fraud case usually costs more than an extra check.
The answer is short, but it has an example with a number, a choice of metric, and a link to the cost of errors. A follow-up about PR-AUC will not catch you off guard, because you led the conversation there yourself.
DL and LLMs
This round has shifted heavily toward language models and retrieval. The frequent questions in the bank show it: "What kinds of tokenization do you know? Pros and cons of each", "Tell me about generation parameters: temperature, Top-P and Top-K", "What metrics and methods for evaluating RAG do you know?", "Tell me about LoRA: what it is, how it's trained, and how it works at inference", "What is quantization?".
Prepare from your own resume. If it says "RAG", you will be asked how you chunked documents, how you measured retrieval quality, and what you did when the model answered off target. If it says "fine-tuned an LLM", expect questions about the data, the baseline you compared against, and the inference cost. For every technology on your resume, prepare three things: why it was needed, what you tried before it, and what happened to the metric.
Statistics and A/B
The questions look simple: "How does a p-value connect the observed data and the null hypothesis?", "How do you calculate sample size for an A/B test?", "When is a multi-armed bandit better than A/B, and when is it worse?". People fail them more often than transformer questions, because the wording has to be exact. "The p-value is the probability that the hypothesis is true" counts as a mistake. The correct version: the probability of seeing a difference at least this large if the null hypothesis is true.
A separate block covers experiments with models: how to split users, which business metric is primary, what to do when the offline metric went up and the online one did not. Have one experiment of your own ready, with numbers.
ML system design
The prompts in the bank look like this: "Design a semantic search system over 1M corporate documents", "Design a personalized product recommendation system for a marketplace", "Design a system that auto-tags marketplace products from photos".
An order that works for almost any such task:
- Clarify the task: who the user is, what counts as success, what the latency and load limits are.
- Choose metrics: a business metric, an online metric, and an offline metric tied to it.
- Data: where it comes from, how it gets labeled, where leakage is possible.
- A baseline with no ML or with the simplest model.
- Model and features, with a reason why this beats the baseline.
- Serving: online or batch, caching, what you return on failure.
- Monitoring and retraining: data drift, metric degradation.
The most common mistake is starting at step five. In the interview reviews of Sobes users, system design is the hardest interview type overall: the average success rate is 52%, against 61% for technical interviews. The general answer structure is covered in the post on a 45-minute system design answer. For ML it is the same, with data and metrics moved to the front.
Coding, SQL, and talking about projects
Coding for ML candidates is usually easier than for backend developers, but it checks the same thing: whether you can reason out loud and test your own solution. The ML section of the bank includes pure Python questions, such as "Explain the difference between multithreading, multiprocessing, and async", and SQL: "What do you look at when optimizing a SQL query?". How not to go silent while solving is covered in the post on live coding.
In the behavioral part you are most often asked to describe a project: "Tell me about an NLP task you worked on". Build the story from the business problem: what was wrong, what you did, how the metric changed, what you would do differently. It is the same outline as for the question about your most challenging task.
Typical failures
- Naming a metric without the conditions under which it misleads.
- Listing architectures you have never applied. "Where did you use it?" follows immediately.
- Not asking about data volume and acceptable latency in the design round.
- Talking about the model and never mentioning data: labeling, leakage, sampling bias.
- Describing a project as "we improved quality" with no number and no baseline.
How to prepare
Split your preparation by round, not by textbook chapter. For each round take ten to fifteen questions from the ML section of the bank and answer them out loud: ninety seconds per question, with an example from your own work. Write down the ones you stumbled on and repeat them a day later.
Then test yourself in conditions close to the real thing. In the technical mock interview you can pick a section: ML theory, DL and LLMs, or statistics and A/B, and the interviewer will ask follow-ups based on your answers. Design is convenient to practice in the system design trainer, and queries in the SQL trainer. After each attempt, read the review and repeat only the weak topics instead of the whole course.