Machine Learning Engineer
Builds, ships and runs the models behind recommendations, search and ads, from training data to production monitoring.
Every interview is set at Sablewood Stream, a fictional company: a music-streaming service whose recommendations, personalised playlists, search and ads for the free tier are all driven by machine learning.
New to this interview? Read Machine Learning Engineer Interview Questions and Prep Guide.
Companies that hire for this role
For context only. We aren't affiliated with them, and every question here is our own.- Netflix
- Spotify
- Meta
- TikTok
Choose a length.
Each one is a fixed paper that asks the same questions every time, so a retake is a fair comparison.
30 minutes
Covers a knowledge check, live coding and a design problem. With Kenji, Senior Machine Learning Engineer, an AI interviewer.
Uses 1 credit · charged when the interviewer joins
45 minutes
Covers your experience, a knowledge check, live coding and a design problem. With Kenji, Senior Machine Learning Engineer, an AI interviewer.
Uses 1 credit · charged when the interviewer joins
60 minutes
Covers your experience, a knowledge check, live coding, a design problem, a realistic scenario and a role-play. With Kenji, Senior Machine Learning Engineer, an AI interviewer.
Uses 2 credits · charged when the interviewer joins
Code while you talk.
- 01
The problem appears on screen
The interviewer shares it partway through and won't read it out. Ask about anything unclear, as you would with a real interviewer.
- 02
Run it as you go
Visible tests run right in your browser as you go. Explain your approach as you write: that's scored too.
- 03
Hidden tests after the call
Your final code runs against edge cases you never saw. The exercise takes 13, 18 and 20 minutes in the 30, 45 and 60-minute interviews, and the 45 and 60-minute ones add a part 2.
Skills and weights.
Your overall band is a weighted average. A Hire-ready or Standout band also needs at least Hire-ready on every must-have.
Sablewood Stream
A music-streaming service whose recommendations, personalised playlists, search and ads for the free tier are all driven by machine learning.
- 01
Sablewood Stream has about 40 million monthly listeners in 30 countries; around 60% use the free, ad-supported tier, and the catalogue holds about 90 million tracks, with roughly 120,000 new ones every day.
- 02
A stream counts once a track has played for 30 seconds. Streams, saves and skips are the main training labels, and 28-day listener retention is the company's long-term goal metric.
- 03
Recommendations run in two stages, candidate generation (two-tower embeddings with an approximate nearest neighbour index, plus co-listening and new-release sources) and a gradient-boosted tree ranker; the Home page has a 150 ms p99 latency budget.
- 04
Features are built by daily Spark pipelines into a feature store with an offline store for training and an online store in Redis for serving; all training data is built with point-in-time joins.
- 05
Every model change ships through an A/B test, with guardrails on skip rate, ad revenue per free listener and artist diversity, and a 1% long-term holdout that never sees new models for a quarter.
- 06
About 45 ML engineers work across recommendations, search and ads. They own their models end to end, including a one-week on-call turn for the ranking services about every eight weeks.
Sablewood Stream is made up for these interviews. Any likeness to a real company is a coincidence.