cvlift.ai logo
Toggle menu

How to prepare for a job interview →

Role guide

14 Data Scientist Interview Questions (2026)

Updated 27 August 2026

A data scientist interview tests how you turn an unclear question into a decision someone can act on. You might write SQL, design an experiment or explain how you would validate a model. The emphasis depends on the job. A product team may spend most of the technical interview on metrics and experiments, while an applied machine learning team may ask how a model behaves after deployment.

Prepare two projects you can talk through in detail. If you're unsure which to pick, the data scientist CV examples show what you can draw on from a dissertation, an internship or a model you've shipped. For each, remember the decision at stake, what the data could support, one choice you made and what happened afterwards. Revisit the query, chart or validation split that made you trust the result. Small details like these give you something concrete to discuss when the interviewer follows up.

01

Questions you should be ready for

Use the answer plans as prompts, not scripts. Your examples should sound like you.

SQL and data quality

Show that you can define a metric, get the query to the right grain and check whether the result is plausible.

How would you calculate the percentage of new customers who make a second purchase within 30 days?

What they want to learn: They want to see whether you can define an eligible cohort and translate it into SQL without biasing the rate.

Answer plan

  • Confirm what counts as a new customer and a valid purchase. Check which records represent an order and how cancellations are recorded.
  • Reduce the source to one row per eligible order and identify each customer's first purchase.
  • Keep customers with a full 30-day observation window. Flag each eligible customer once if they have a subsequent purchase within that window.
  • Divide flagged customers by eligible customers. Walk through a boundary date and a customer with several repeat orders.

Evidence to use: Use a retention or conversion query you have written and explain how you checked its denominator.

Avoid

  • Including recent cohorts whose 30-day window is still open.
  • Counting repeat orders when the numerator calls for repeat customers.
Your revenue total goes up after you join orders to a campaign events table. How would you investigate?

What they want to learn: They are checking whether you can find a grain mismatch and explain which attribution rule the metric needs.

Answer plan

  • State the expected grain of each table and inspect how many rows each join key has on both sides.
  • Compare row counts, distinct order counts and revenue before and after the join. Trace one order that appears several times.
  • Agree how orders should be attributed. If the agreed rule assigns one campaign per order, reduce the events to that grain before summing revenue.
  • Check the corrected total against the source and explain how you handle orders with no matching event.

Evidence to use: Recall a reconciliation where you could point to the rows that caused the discrepancy.

Avoid

  • Adding DISTINCT to the final query without checking which rows carry revenue.
  • Dropping unmatched orders through an inner join when the report includes all revenue.
A field is missing for many users and the missing rate jumps after an app release. What would you do?

What they want to learn: They want to hear how you distinguish a data collection problem from a change in the population using the app.

Answer plan

  • Measure missingness over time by app version, platform and any other segment that could explain the change.
  • Trace the field to its source and check whether the release changed when or how the event is logged.
  • Estimate which metrics or models depend on the field. Compare results under plausible treatments of the missing data.
  • Explain whether you would pause use of the field, repair the source or proceed with a documented limitation.

Evidence to use: Think of a null, schema change or logging issue you investigated and the evidence that helped you pin it down.

Avoid

  • Filling nulls with zero before checking what absence means.
  • Dropping affected rows without checking how that changes the population.

Experiments and causal inference

Practise explaining what a study can establish and how that evidence affects the decision to roll out a change.

How would you test whether a new checkout flow improves conversion?

What they want to learn: They are looking for an experiment design that survives the way people actually use checkout.

Answer plan

  • Define eligibility, the conversion event and its measurement window. Agree a primary metric and a guardrail, such as refunds.
  • Choose a randomisation unit. For signed-in users, explain how you would keep assignment stable across repeat visits.
  • Use baseline conversion and a worthwhile minimum effect to plan sample size and duration. Agree the stopping rule before launch.
  • Check assignment counts and event logging. Describe how you would weigh the estimated effect, its interval and the guardrail before recommending a rollout.

Evidence to use: Use an experiment you helped design, or a worked example you can label as practice. Explain which detail of the design took the most thought.

Avoid

  • Randomising by session while repeat visitors can see both flows.
  • Stopping at the first favourable p-value without a valid sequential plan.
An A/B test shows a small uplift, but the confidence interval includes zero. What would you tell the product manager?

What they want to learn: They want to know whether you can translate statistical uncertainty into a decision without overstating the result.

Answer plan

  • Report the estimated change in units the product manager recognises, such as percentage points, along with the interval.
  • Compare the range of plausible effects with the smallest improvement worth shipping and the size of any harm the team could accept.
  • Check whether the planned analysis has finished and whether guardrails or experiment quality change your interpretation.
  • Recommend a next step based on the cost and reversibility of rollout. Explain what extra evidence would change your recommendation.

Evidence to use: Recall a result with a wide interval and explain how you communicated the decision it could support.

Avoid

  • Treating the result as proof of zero effect.
  • Selecting a favourable subgroup after the test and presenting it as confirmatory.
A feature launched in one region without randomisation. How would you estimate whether it changed sales?

What they want to learn: They are testing whether you recognise confounding and can explain the assumptions behind a plausible comparison.

Answer plan

  • Define the launch date, exposed population and sales outcome. Check for pricing changes, campaigns or other events around the launch.
  • Look for a comparison region with similar pre-launch trends and limited exposure to the rollout.
  • If a difference-in-differences design is plausible, compare the change in the regions and explain the parallel trends assumption.
  • Test how sensitive the result is to the comparison region or time window. Give a descriptive conclusion if the data cannot support a credible causal estimate.

Evidence to use: Choose a project where a comparison group looked promising at first and say what you checked before relying on it.

Avoid

  • Attributing the entire before-and-after change to the feature.
  • Treating similar pre-launch trends as proof that the regions would have moved together after launch.

Machine learning and evaluation

Explain how you would test a model under the conditions in which people will use its predictions.

How would you validate a model that predicts each week which subscribers will cancel within the next 30 days?

What they want to learn: They are looking for a clear prediction point, a realistic backtest and awareness of how future information can leak into training.

Answer plan

  • Define the weekly scoring date, the eligible subscriber population and when a cancellation label becomes observable.
  • Build historical snapshots using data available at each scoring date. Check fields that may have been backfilled or updated after cancellation.
  • Backtest on later scoring dates. At each simulated training cut-off, use only labels that would have matured by then and fit preprocessing on the training data.
  • Compare with a simple baseline and assess performance at the volume the retention team can handle. If the model must generalise to new subscribers, check that group separately.

Evidence to use: Describe a project where you can explain why the split matches the timing or population of actual use.

Avoid

  • Randomly splitting weekly rows when it lets later records inform predictions for earlier weeks.
  • Training on labels or feature values that would have been unavailable at the simulated cut-off.
Your model flags transactions for manual review. Positive cases are rare and the team can only review a fixed number each day. How would you choose a threshold?

What they want to learn: They want to see whether you can connect model performance to the review queue and the costs of missed cases and false alerts.

Answer plan

  • Confirm the team's daily capacity, what a review costs and what happens when a genuine case is missed.
  • Estimate precision and recall at the review volume on a representative validation period. Check how results vary across busy and quiet days.
  • Compare ranking the top cases each day with using a fixed cutoff. Explain how you would handle days when volume exceeds capacity or few cases meet the cutoff.
  • If the team uses scores as probabilities to estimate costs, check calibration. Assess the chosen rule on held-out data before proposing a pilot.

Evidence to use: Use a project where a budget, queue size or error cost changed the metric or threshold you chose.

Avoid

  • Choosing a cutoff of 0.5 by default.
  • Reporting overall accuracy without estimating how many useful alerts the team will see.
A new model performs better overall, but one user group sees more errors. What would you check before recommending it?

What they want to learn: They are testing whether you can investigate who is affected and bring that evidence into a release decision.

Answer plan

  • Work out which error increased, who experiences its consequences and how the current system performs for the same users.
  • Check group sample sizes, uncertainty and label quality. Use group data only where its use is permitted.
  • Investigate plausible causes such as feature coverage or a different pattern of missing values. Compare fixes with the baseline.
  • Take the trade-off to the people responsible for the service and any relevant governance review. Explain what would justify a pilot, a redesign or holding the release.

Evidence to use: Pick a project where aggregate performance concealed a problem for part of the population, or explain how you would check for one.

Avoid

  • Treating a higher average score as enough evidence to release.
  • Interpreting a noisy estimate from a small group as a precise measure of harm.

Scoping and running data products

Show how you would shape a request into workable analysis and respond when a live output changes.

A service manager asks for a model to predict which customers need help. What would you do first?

What they want to learn: They want to hear how you turn a loose request into a decision the team can test.

Answer plan

  • Ask when the team can intervene, what action it can take and how many customers it can reach.
  • Agree what evidence would count as a need for help. Check whether existing data records that need or mainly captures customers who already contacted support.
  • Propose a simple rule or analysis the team can try. Define how you would judge whether the intervention improved outcomes.
  • Explain what evidence would make a model worth building and which team would own the workflow.

Evidence to use: Recall a brief that changed after you spoke with the person who would act on the result.

Avoid

  • Picking an algorithm before defining the action.
  • Assuming past support contacts represent everyone who needed help.
A live model's scores shift sharply and outcome labels take weeks to arrive. How would you investigate?

What they want to learn: They want to see whether you can distinguish data faults, population changes and a possible drop in performance.

Answer plan

  • Check when the shift began and which model version, input pipeline, user groups and downstream decisions it affected.
  • Inspect feature freshness, missing values and changes in the mix of cases. If practical, replay a known batch to check the scoring path.
  • Agree with the service owner whether to pause affected decisions, add manual review or use an approved fallback while investigating.
  • Track leading indicators and compare performance once labels mature. Use that evidence to decide whether to fix the pipeline, adjust the decision rule or retrain.

Evidence to use: Use a live issue, a broken pipeline or a practice monitoring exercise. Explain the first check that narrowed the cause.

Avoid

  • Treating a shift in score distribution as confirmed performance loss.
  • Retraining before checking input quality or a recent release.

Communication and professional judgement

Prepare examples of how you handle pressure, own mistakes and make decisions about the data you use.

Tell me about a time your analysis challenged a decision that a stakeholder had already backed.

What they want to learn: They want to understand how you dealt with disagreement when someone had a reason to prefer a different conclusion.

Answer plan

  • Describe the decision and why the stakeholder supported it.
  • Explain what you checked and which part of the analysis changed your view.
  • Describe how you shared the finding, what options you put forward and how the stakeholder responded.
  • Give the outcome you observed and what you would carry into a similar conversation.

Evidence to use: Choose an example in which you can describe what you said or showed and what happened next.

Avoid

  • Using most of the answer to describe the analysis and skipping the conversation.
  • Claiming credit for a decision you only advised on.
A colleague wants to add full customer postcodes to a model because a quick test improved its score. How would you respond?

What they want to learn: They want to know whether you can weigh a performance gain against data necessity, authorised use and the risk of proxy effects.

Answer plan

  • Ask what the postcode seems to capture and test whether a less granular feature would meet the same need.
  • Check the approved purpose, access rules and retention arrangements. Bring any proposed new use to the relevant data owner or privacy lead for review.
  • Examine where the gain comes from, including whether errors change across areas or user groups you can assess lawfully.
  • Document your recommendation and what would need to be settled before the feature could be used.

Evidence to use: Recall a time you challenged whether you needed a field, changed its granularity or sought review before repurposing it.

Avoid

  • Treating access to a field as authorisation for a new use.
  • Assuming a gain in aggregate accuracy settles questions about necessity or fairness.
Tell me about an analytical mistake you found after sharing the result.

What they want to learn: They are looking for ownership and a practical response when someone may already be using a flawed result.

Answer plan

  • Explain the error, how you found it and which outputs or decisions it affected.
  • Describe who you contacted and how you communicated the corrected result and its effect on the recommendation.
  • Name the check, test or review step you added. Explain how it would catch the same issue earlier.

Evidence to use: A mistaken filter, cohort definition or join can make a good example if you can explain how you corrected it.

Avoid

  • Describing a team mistake without identifying your own part.
  • Saying you would be more careful without naming a check that would catch the error.
02

Questions to ask them

“Can you describe a recent decision that changed because of work by this team?”

The example shows whose decisions the team informs and how the work gets used.

“What would you expect this hire to deliver in the first three months?”

You can check whether the first assignment and the support available fit your level.

“Which data sources would I use first, and where does the team spend the most time checking or repairing them?”

You learn how much of the job involves working with the source data and where you would need help from other teams.

“How is the role's time usually divided between analysis, experiments and building or maintaining models?”

Data scientist titles cover different jobs. This gives you a clearer picture of a normal week.

“Who owns deployment, monitoring and incident response once a model goes live?”

For a modelling role, this tells you where your responsibilities continue after release and what engineering support is available.

“When the team cannot run an experiment, how does it decide whether the available evidence is good enough to act on?”

The answer indicates how the team deals with uncertainty and who decides when to proceed.

“How does the team review a high-impact analysis before it is used in a decision?”

You can see whether review includes checking the data and method, and who has time to do it.

03

What interviewers look for

Problem framing

The method depends on the decision. A score for a queue that can handle 200 cases a week has different requirements from a forecast used to plan next quarter's budget.

Evidence to prepare

  • When did asking who would use the result change the task?
  • What simple approach did you compare with the requested model or analysis?

SQL and data quality

An extra row per customer can quietly change a metric, a training set or an experiment read-out. Interviewers want to see how you spot the error.

Evidence to prepare

  • Recall a join, missing-data problem or timestamp issue that affected your result.
  • Which check told you that your correction worked?

Statistics and causal reasoning

A team needs to know whether an effect is plausible, how large it could be and how much of it the study design can attribute to the change.

Evidence to prepare

  • Use an experiment or observational analysis where a design choice affected what you could conclude.
  • What decision did your estimate support, given its uncertainty?

Model selection and validation

A test score is useful when the split, baseline and metric reflect the conditions the model will face in use.

Evidence to prepare

  • Which baseline did you use, and what did it tell you about the more complex model?
  • Describe a validation choice you made because of time, repeated entities or label availability.

Reproducibility and handover

A colleague may need to rerun an analysis or diagnose an unexpected change in predictions after you hand over the work.

Evidence to prepare

  • What did you version, document or test so someone else could reproduce the result?
  • If your work went live, who owned the first check when an input or output changed?

Communication and influence

A product manager or operations lead often needs a recommendation before every uncertainty is resolved. Explain which uncertainty could still change the decision.

Evidence to prepare

  • When did your analysis lead someone to change or delay a decision?
  • Which chart or explanation helped a non-technical colleague understand the trade-off?

Responsible use of data

Data scientists often help decide which fields enter an analysis and how a model's mistakes affect people. Those choices can raise privacy and fairness questions.

Evidence to prepare

  • When did you question whether a field was necessary or approved for the proposed use?
  • Describe a time you checked who bore the cost of a model error or raised that question with the relevant team.
04

Interview process examples

UK employers often start with a recruiter or hiring manager call, followed by a technical interview and a discussion with the team. The order varies. A live exercise may sit inside the technical interview, while a take-home task may come before it. Ask the hiring contact what the exercise covers and which tools you can use.

  1. Initial screen

    Phone or video call

    Often 20 to 30 minutes at the start of the process

    Common

    You summarise your experience and discuss the type of data science the team needs. The caller may ask about your notice period, salary expectations, office attendance and whether you need visa sponsorship.

    What they assess

    • Fit with the team's work
    • Clarity about your own contribution
    • Practical fit with the role

    How to prepare

    • Prepare a short career summary and one project that matches the team's work.
    • Mark up the role description so you can ask whether the day-to-day work is mainly analysis, experimentation or model development.
    • Have your notice period, salary expectations and sponsorship needs to hand.
  2. Technical interview

    Technical discussion, sometimes with live SQL or Python

    Often 45 to 90 minutes after the screen

    Common

    You may work through a query, discuss a statistical scenario or defend a modelling choice from a past project. Expect follow-ups that change a condition, such as adding duplicate events, introducing delayed labels or cutting the sample size.

    What they assess

    • Data grain and join logic
    • Statistical reasoning
    • Validation choices
    • Ability to check and explain your work

    How to prepare

    • Practise a live query with a one-to-many join and check the row count before and after it.
    • Rehearse explaining one validation split and one rejected approach from a real project.
    • If the role calls for R, confirm whether you can use it for the coding portion.
  3. Work sample and review

    Take-home task or live case, sometimes followed by a walkthrough

    Possible

    The team gives you a dataset or business scenario and asks you to make a recommendation. If you submit a notebook or short report beforehand, interviewers may ask what you checked, which assumptions affected the conclusion and how you would spend another hour.

    What they assess

    • Scoping and prioritisation
    • Data checks
    • Reproducibility
    • Interpretation of results

    How to prepare

    • Confirm the time budget, submission format and rules for documentation, internet access and AI tools.
    • Practise with a small dataset and leave enough time to rerun the work and write the recommendation.
    • Keep a short record of assumptions and checks so you can explain your choices in the review.
  4. Team and stakeholder interview

    Behavioural interview, project discussion or panel

    Usually after the main technical round, sometimes on the same day

    Common

    You discuss how you work with people who own the decision, supply the data or maintain the system. A panel may ask how you dealt with a request that changed halfway through or delivered a finding that a stakeholder found hard to accept.

    What they assess

    • Communication with non-specialists
    • Handling of disagreement
    • Personal ownership
    • Judgement about when to ask for help

    How to prepare

    • Pick examples where your actions and the eventual outcome are easy to distinguish.
    • Prepare to explain the same project to a technical colleague and to the person deciding what to do.
    • Bring questions about how the team reviews analyses and who owns decisions after handover.

Product or experimentation role

Expect more time on event data, funnels, retention and interpreting A/B tests. A case may ask what the team should ship based on a messy set of results.

Applied machine learning role

The technical round may extend to batch or online scoring, feature freshness, deployment and monitoring. Ask how much of that work the data scientist owns.

Research-heavy or specialist role

The team may ask you to present research, critique a method or explain what you would do with limited labels. It may also probe subject knowledge specific to the vacancy.

Public sector or sensitive-data role

The employer may use a scored panel with published criteria. Some posts also require additional vetting, depending on the duties and level of access.

05

Your preparation plan

Read the role description for clues about the work you will own. If it mentions funnels and randomised tests, spend time on event grain and experiment read-outs. If it mentions production models, practise tracing one prediction back to the features available when it was made. Use the tools named in the brief. For many teams that means SQL and Python with pandas and scikit-learn. Some teams use R for statistical work.

For each project you plan to discuss, write down what you personally did, who used the result and what you can verify about the outcome. Coursework and personal projects can work well if you explain the setting accurately. Practise with public or synthetic data and bring only material you have permission to share.

The week before

  • Match the role's main requirements to two projects you can discuss in depth.
  • Practise joins, CTEs, date logic and window functions in the SQL dialect the team names, if it names one.
  • Use pandas or R to clean a small dataset, then explain how you checked the row counts, missing values and derived fields.
  • Work through a timed case in which a confidence interval, delayed label or downstream cost changes your recommendation.
  • Ask about the interview format, permitted tools and any adjustments you need for the exercise.

The day before

  • Rerun any notebook you plan to share from a clean session and check that the outputs support your summary.
  • Review project figures you can substantiate and decide how to describe any results you did not measure.
  • Pick two questions about the team's work and one about the expectations for this hire.

On the day

  • Open the interview link or check the office route and reception instructions.
  • Before starting an exercise, check the deliverable and the time available. Budget a few minutes to test your answer.
06

Tests and assessments

Live SQL or Python exercise

Common

You may get a small schema and a reporting question, or a dataset to inspect and transform. The interviewer may ask you to talk through your work, test an edge case or adapt the result to a new definition.

What is assessed

  • Correctness at the requested grain
  • Handling of duplicate keys, nulls and date boundaries
  • Readable queries or code
  • Checks on intermediate results

How to prepare

  • Practise on a schema with events, users and orders. Write down what one row represents after each major step.
  • Work through one SQL task in a plain editor and one Python task in a notebook so you can adapt to either setup.
  • Test with a tiny example that includes a duplicate row and a missing value.

Data science case or take-home analysis

Possible

You may get a live product case or a take-home brief with a dataset, such as predicting demand or investigating a fall in conversion. A live case can ask for a plan and a recommendation. A take-home may ask for a notebook with a short summary.

What is assessed

  • Definition of the decision and success measure
  • Checks on data coverage and assumptions
  • Choice of baseline or comparison
  • Credibility of the recommendation
  • Ability to finish within the stated scope

How to prepare

  • Write the decision and intended output before exploring the data.
  • Give yourself enough time to run a baseline and check the result on a suitable holdout or comparison.
  • For a submission, include run instructions and a short note on assumptions that could change your conclusion.

Project presentation and questions

Possible

The panel may ask you to present a past project or your take-home results. Expect follow-up questions about a method you considered, a limitation you found or the action you recommended.

What is assessed

  • Clarity for a mixed audience
  • Personal contribution
  • Ability to defend a technical decision
  • Honesty about what the evidence supports

How to prepare

  • Use the allotted time to cover the decision, the evidence that mattered and the outcome.
  • Keep a diagnostic plot or validation detail ready for follow-up questions.
  • Practise explaining one trade-off in everyday language.
07

On the day

In person

  • Check the building, reception and arrival instructions. Bring a laptop or ID if the invitation asks for it.
  • If you are given a whiteboard case, write down the grain, outcome and time window where everyone can refer to them.
  • Bring a shareable copy of any presentation and check how the panel wants you to display it.
  • During a timed exercise, say which check you would run next if time runs out.

Remote

  • Test your microphone, screen sharing and any browser-based coding environment before the call.
  • Open the files or tabs you intend to share and close notifications and unrelated work.
  • Check whether the interviewer can read your code or chart at its current zoom level.
  • Keep the interview contact details nearby in case you need to rejoin or switch to a phone call.
08

Preparation pitfalls

Starting a SQL answer before deciding what a row represents.

State the grain of each input and the intended output. Validate a join with row counts and distinct key counts.

Using today's view of the data to build historical training rows.

Pick a historical scoring date. Trace which features and labels would have been available at that point, including publication lags and backfills.

Reporting an offline metric without a baseline or operating point.

Name the baseline and translate performance into something the receiving team can use, such as expected useful alerts per review shift.

Reporting statistical significance and leaving the rollout decision hanging.

Give the estimated effect and interval in practical units. Compare them with the minimum useful effect, guardrails and cost of rollout.

Spending most of the take-home on model tuning and leaving the submission hard to run.

Set a time limit for tuning. Save time to rerun the notebook, record dependencies and write a short recommendation.

Describing a team project entirely in terms of what 'we' did.

Give the team context, then identify the query, analysis or decision you owned and the outcome you can substantiate.

09

After the interview

If you send a thank-you note, keep it brief and refer to a specific part of the discussion that helped you understand the role. Send any agreed material through the channel the hiring contact provided. If the decision date passes, a short message asking for an updated timeline is enough.

If you receive an offer, check which conditions are still outstanding and when the employer expects to confirm a start date. UK employers must check your right to work before employment begins. References and any extra vetting depend on the employer and post.

If an offer arrives

  • Scope of the role and how much time it gives you for analysis, experimentation or model development
  • Ownership of deployed models and any incident response or on-call duties
  • Base salary, bonus or equity where offered, pension and annual leave
  • Office attendance, work location and any client travel
  • Probation, notice period and start date
  • Any sponsorship, references or post-specific vetting required for the offer
10

Frequently asked questions

From guide to application

Make your CV and your answers tell the same story.

Use cvlift to tailor your CV to the role and bring the most relevant experience forward. Then use this guide to practise the examples behind it.