Machine Learning Engineer Machine Learning Interview Questions
Practice 217 real Machine Learning interview questions for Machine Learning Engineer roles. From companies including Amazon, OpenAI, Snapchat, Pinterest, TikTok.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Explain precision/recall and compute NN output
This question evaluates understanding of classification evaluation metrics (precision, recall, F1), ensemble learning principles (bagging vs boosting,...
Explain batch inference design
This question evaluates a candidate's competence in designing scalable, reliable batch inference pipelines for machine learning, covering model artifa...
Explain Transformer and MoE Fundamentals
This question evaluates a candidate's conceptual mastery of modern deep-learning internals for large-language models, including distinctions between t...
Explain Transformer Attention Fundamentals
This question evaluates understanding of Transformer architectures and LLM training fundamentals, specifically attention mechanics, attention masking ...
Normalize targets for multitask regression
You are training one machine learning model with a shared representation and two regression heads. Each example has two continuous labels: - Target A ...
Design RL reward for speed limits
RL for Autonomous Driving — Conceptual + Practical You are training a reinforcement-learning agent to drive a vehicle. The interview moves from policy...
Explain Overfitting and Transformer Attention
You are interviewing for a machine learning engineering role. Answer the following ML fundamentals questions clearly and compare different modeling se...
Implement CLIP Contrastive Loss
Given a minibatch of paired image and text embeddings, implement the symmetric contrastive loss used in CLIP-style image-text representation learning....
Answer practical ML foundations questions
In an ML interview, you are asked a series of practical ML foundation questions: 1) Model outputs probabilities. When do you need probability calibrat...
Debug Sparse Multi-Task Ranking Models
This question evaluates a candidate's ability to debug multi-task ranking models in production, focusing on training stability, extreme label sparsity...
Explain LLM lifecycle and trade-offs
Explain the end-to-end lifecycle of a modern large language model. Cover training data collection and filtering, pretraining objectives, transformer a...
Debug transformer and train classifier
Debug and Fix a Transformer Text Classifier, Then Train and Evaluate It You inherit a small codebase for a transformer-based text classifier. It ships...
Debug a broken Transformer implementation
You are given a small Transformer model implementation (e.g., in PyTorch) plus a tiny training script. The code executes, but the model does not match...
Applied Machine Learning Assessment: Metrics, Evaluation, and NLP Fundamentals
Reason through an applied machine-learning assessment covering annotation agreement, model metrics, reproducibility, NLP basics, ranking metrics, and ...
Discuss ML Project Tradeoffs
You are interviewing for a senior machine learning role and are asked to discuss a past recommendation or prediction project in depth. Use one concret...
Explain overfitting, underfitting, and regularization
This question evaluates understanding of model generalization, overfitting versus underfitting, the bias–variance tradeoff, and regularization techniq...
Model y from x and interpret distributions
Scenario You are given a dataset with one input feature x and a target y. The interviewer asks: “How would you model this?” Later, you are shown a plo...
Write self-attention and cross-entropy pseudocode
You are asked to explain core Transformer / deep learning components. Part A — Self-attention pseudocode Write clear pseudocode (not full code) for sc...
Explain bias-variance, calibration, and model drift
This question evaluates a candidate's grasp of core machine learning fundamentals—bias–variance trade-off, probability calibration, and model drift—an...
Implement greedy and beam decoding
Implement Greedy and Beam Search Decoders over Next-Token Probabilities Context You are given a directed token graph represented as a Python dictionar...