Netflix data scientist interview questions on experiments and causality
Netflix data scientist interview questions lean heavily on experimentation and causal inference: designing A/B tests, reducing variance, handling results that disagree, and estimating effects when a test is impossible. Expect SQL and Python, product metric cases about members and titles, some modeling, and culture conversations based on the public memo. Teams run their own hiring, so the loop varies, but candidates commonly describe a recruiter call, a technical screen and a final set of technical, product and culture interviews.
By Evin JohnPublished 6 min read
The Netflix data science loop
Data science at Netflix spans product experimentation, content and studio analytics, marketing, payments, and algorithms such as ranking and recommendations. Each team hires for itself, which is why candidates describe quite different days. A common pattern:
- Recruiter callBackground, the team's area and often a check that you know the culture memo. Ask whether the role is closer to experimentation, analytics or modeling.
- Technical screenSQL and Python, or a statistics and experimentation conversation, sometimes with the hiring manager. Some teams use a take-home analysis instead.
- Final interviewsSeveral conversations covering experiment design, causal inference, a product or content case, coding, a past-project deep dive and culture interviews with partners.
Why experimentation dominates
Netflix has written publicly for many years about testing product changes before rolling them out, from sign-up flows to artwork to ranking algorithms. It has also described methods such as interleaving, where two ranking algorithms are blended in one list so their effect can be compared with far fewer members than a classic A/B test, and quasi-experiments for cases where randomizing is impractical. You will not be asked to recite those posts, but you should be fluent in the problems they solve: noisy metrics, slow-moving outcomes like retention, and questions randomization cannot reach.
import statistics
def cuped(y, x):
"""Return CUPED-adjusted outcomes: y - theta * (x - mean(x))."""
mx = statistics.fmean(x)
my = statistics.fmean(y)
cov = sum((a - mx) * (b - my) for a, b in zip(x, y)) / (len(x) - 1)
theta = cov / statistics.variance(x)
return [b - theta * (a - mx) for a, b in zip(x, y)]Interviewers who ask about CUPED usually want three points: the covariate must be measured before treatment so the experiment cannot affect it, the adjustment leaves the mean unchanged and only shrinks variance, and the gain depends on how strongly the pre-period predicts the outcome. In a quick simulation of the function above, a metric strongly linked to its pre-period lost more than two thirds of its variance; an unrelated covariate removed none.
Experimentation questions
| Question | What it tests | What a strong answer shows |
|---|---|---|
| Design a test for a new home page row. | Core design. | Member-level randomization, a primary metric tied to retention or satisfaction, guardrails and a planned length. |
| Your primary metric is retention, which moves slowly. How do you get an answer in weeks? | Proxy metrics. | Short-term metrics validated against long-term outcomes in past tests, and their risks. |
| The treatment wins in week one and fades by week four. What happened? | Novelty effects. | Comparing new and existing members, plotting effect over time and deciding on the stable effect. |
| How would you compare two ranking algorithms with limited traffic? | Interleaving and sensitivity. | Interleaving to compare preferences quickly, then an A/B test on members' overall outcomes. |
| Twenty metrics were checked and two are significant. Ship? | Multiple comparisons. | A pre-registered primary metric, corrections or skepticism, and replication. |
| Members share accounts across devices. What does that do to your test? | Unit of randomization. | Randomizing at account level and the effect of mixed households on interpretation. |
| How would you size a test to detect a small change in retention? | Power analysis. | Baseline rate, minimum effect worth detecting, variance and the trade-off with test length. |
| When would you stop a test early? | Sequential testing discipline. | Harm to members as a reason, and a sequential method rather than peeking at p-values. |
| How would you test a change to the sign-up page where members cannot be identified before signing up? | Randomization before login. | Device or cookie-level assignment, contamination across devices and conversion metrics. |
| Two teams want to test changes on the same page at once. What do you recommend? | Overlapping experiments. | Orthogonal assignment, checks for interaction and when to run them one after another. |
Causal inference without a test
| Question | What it tests | What a strong answer shows |
|---|---|---|
| What was the effect of one hit series on new sign-ups? | Attribution without randomization. | Synthetic controls or comparison markets, timing, marketing spend as a confounder and honest uncertainty. |
| A price change launched in one country. How do you estimate its effect on cancellations? | Difference in differences. | Comparison countries, pre-trends checked, and other changes at the same time. |
| Does watching trailers cause people to watch more? | Selection bias. | Why trailer viewers differ, and a test or an instrument that would answer it. |
| How would you measure the value of a title the company already licensed? | Content valuation. | Viewing by members who would otherwise leave, substitution with other titles and long-term retention links. |
| An outage hit one region for an evening. Can you learn anything from it? | Natural experiments. | Using the outage as an unplanned treatment and checking the comparison region is similar. |
| How would you measure whether a marketing campaign for one title brought in new members? | Marketing attribution. | Geographic or timing variation, holdout regions if possible, and honest limits. |
| What assumptions does a regression discontinuity design rely on, and where might Netflix data offer one? | Method knowledge. | Continuity around the cutoff, no manipulation, and an example such as an eligibility threshold. |
SQL, coding and modeling questions
| Question | What it tests | What a strong answer shows |
|---|---|---|
| For each member, find the first title they finished after signing up. | Window functions. | ROW_NUMBER over member ordered by finish time, filtered to completions after the sign-up date. |
| Compute the share of started titles that members finish, by genre and device. | Aggregation with care. | A clear definition of finished, and how partial rewatches are handled. |
| Write a function to compute a confidence interval for the difference in two proportions. | Statistics in code. | Correct standard error, a normal approximation and when it breaks down. |
| How would you build a model to predict which members are likely to cancel? | Applied modeling. | Features from behavior, a time-based split to avoid leakage, and how the model would be used without harming members. |
| How do you evaluate a recommendation algorithm offline? | Ranking metrics. | Ranking metrics, position bias, and why offline results must be confirmed online. |
| Write a query for the number of days between each member's consecutive viewing sessions. | LAG and gaps. | LAG over member ordered by session start, date differences and the first session handled. |
| Explain how you would check that a randomization worked before reading results. | Sample ratio checks. | Comparing group sizes to the expected split and pre-period metrics between groups. |
Product and culture questions
- "How would you define a member's satisfaction with the service?" Combine retention, finishing what they start, ratings and survey signals, and say what each misses.
- "A product partner wants to ship despite a neutral test. How do you respond?" Share the evidence clearly, explain what neutral means, and respect that the owner decides with context.
- "Tell me about a time your analysis was wrong in a way that mattered." Candor, the fix and the check you added.
- "Describe feedback you gave a stakeholder about how they used data." Direct, specific and caring, in line with the memo's emphasis on candor.
- "Which experiment of yours are you proudest of, and why?" Design choices, surprises and the decision it changed.
- "Why Netflix?" Tie it to the team's questions and to a culture where data informs decisions people own.
The Netflix behavioral guide covers the culture conversations in depth, and the Netflix product manager page shows the same experiments from the product side.
Fictional example
- Interviewer
- A new preview format lifted streaming hours four percent in week one. By week four the lift is under one percent. What is going on?
- Candidate
- The obvious candidate is novelty: members engage with something new, then get used to it. I'd plot the daily effect, then split by tenure. If members who joined after the test started show a steady small lift, that is the long-run effect.
- Candidate
- I'd also check that the population did not change, for example a big title launch in week one that made everyone watch more and amplified the difference.
- Candidate
- For the decision, I'd use the stable effect, not the week-one number, and look at guardrails: did more members turn previews off?
- Interviewer
- And if new members show no lift at all?
- Candidate
- Then the feature mostly created a temporary bump. I'd report that plainly and suggest the team decide whether a small lasting effect justifies the cost and the annoyance risk.
Preparation plan
- Experiment fluencyExplain power, CUPED, novelty effects, interleaving, multiple comparisons and sequential testing out loud until each takes under two minutes.
- Causal toolkitWork through one example each of difference in differences, synthetic control and regression discontinuity, with the assumptions written down.
- SQL and PythonDaily window-function practice on viewing-style data, plus small statistics functions you test against simulations.
- Culture and storiesRead the culture memo and prepare stories on candor, owning a call and being wrong.
For fundamentals, see data scientist interview questions and machine learning interview questions. The Airbnb data scientist guide covers a two-sided marketplace, where tests can interfere with each other, and the Uber data scientist page takes that problem further.
While you prepare, Natively can read a statistics or SQL problem from a screenshot and offer an approach to check against your own, and it transcribes mock interviews on your Mac or Windows computer so you can review how clearly you explained an experiment design. With your résumé and the job description added (Pro or the free trial), practice suggestions build on experiments you actually ran. Read about the AI interview assistant.
Questions people ask
What questions are asked in a Netflix data scientist interview?
Experiment design and interpretation, variance reduction, novelty effects, causal inference when a test is impossible, SQL and Python, product metric cases about members and titles, and culture questions.
What is the Netflix data science interview process?
It varies by team. Candidates commonly describe a recruiter call, a technical screen or take-home, and a final set of experimentation, causal, coding, product and culture interviews.
What is CUPED and why might Netflix ask about it?
CUPED uses a metric measured before the experiment to remove noise from the outcome, so tests need fewer members or less time. It suits companies that run many experiments on noisy viewing metrics.
How should I prepare for a Netflix data scientist interview?
Practice explaining power, CUPED, interleaving, novelty effects and sequential testing, work through quasi-experimental methods, drill window-function SQL, and read the culture memo.
Where to go next
Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.
Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.
