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.

217 Questions 73 Companies07.25.2026
Showing 20 results
Role
Pinterest logo
Pinterest
Hard
Machine Learning Engineer

Answer core ML fundamentals questions

You are asked several short ML fundamentals questions: 1) Define precision and recall for a binary classifier and explain how they relate to a confusi...

Machine Learning
15
0
142 people solved
Feb 9, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer Locked

Build a fraud detection model

This question evaluates competency in designing end-to-end fraud detection machine learning systems, including defining prediction targets and labels,...

Machine Learning
17
0
117 people solved
Mar 1, 2026
Nextdoor logo
Nextdoor
Medium
Machine Learning Engineer

Build a model using only pandas/numpy

You are given a tabular dataset as a pandas DataFrame df with: - Feature columns (numeric and/or categorical) - A target column y (either binary class...

Machine Learning
37
0
252 people solved
Mar 1, 2026
Salesforce logo
Salesforce
Medium
Machine Learning EngineerSenior+

Explain ML and LLM fundamentals

You are interviewing for an AI Engineer role. Explain the following concepts and how they affect real systems: 1. What is F1 score, and when is it mor...

Machine Learning
9
0
85 people solved
Jan 12, 2026
TikTok logo
TikTok
Medium
Machine Learning Engineer Locked

Explain FlashAttention, KV cache, and RoPE

This question evaluates understanding of transformer attention optimizations (FlashAttention), autoregressive decoding state management (KV cache), an...

Machine Learning
5
0
96 people solved
Jan 22, 2026
Scale AI logo
Scale AI
Easy
Machine Learning Engineer Locked

Explain LLM post-training methods and tradeoffs

This question evaluates a practitioner's knowledge of LLM post-training methods—including supervised fine-tuning, preference optimization approaches (...

Machine Learning
37
0
362 people solved
Feb 12, 2026
Snapchat logo
Snapchat
Medium
Machine Learning Engineer Locked

Explain BatchNorm, optimizers, and L1/L2

This question evaluates a candidate's understanding of core machine learning fundamentals—Batch Normalization, optimizer behaviors (SGD, Momentum, RMS...

Machine Learning
7
0
93 people solved
Feb 11, 2026
Google logo
Google
Medium
Machine Learning Engineer Locked

Compare NLP tokenization and LLM recommendations

This question evaluates a candidate's understanding of NLP tokenization approaches and the ability to design LLM-based recommendation components, asse...

Machine Learning
23
0
199 people solved
Feb 8, 2026
Waymo logo
Waymo
Medium
Machine Learning Engineer

Explain Model Compression Techniques

Explain quantization-aware training, knowledge distillation, evaluation mode in deep learning frameworks, and contrastive learning. For each topic, de...

Machine Learning
6
0
100 people solved
Nov 27, 2025
Apple logo
Apple
Medium
Machine Learning Engineer

Analyze vision model failures

For a computer vision product, discuss the following: 1. Explain the core machine learning fundamentals that matter most in vision work, including bia...

Machine Learning
14
0
153 people solved
Mar 1, 2026
Apple logo
Apple
Medium
Machine Learning Engineer Locked

Explain dataset size, generalization, and U-Net skips

This question evaluates understanding of core machine learning and computer vision competencies — including dataset size trade-offs, generalization an...

Machine Learning
17
0
120 people solved
Mar 1, 2026
Voleon logo
Voleon
Hard
Machine Learning EngineerNew Grad Locked

Explain ML and statistical modeling

This question evaluates mastery of machine learning and statistical modeling concepts including class-imbalance strategies, loss function behavior and...

Machine Learning
12
0
164 people solved
Feb 15, 2026
Citadel logo
Citadel
Hard
Machine Learning Engineer

Make a hard MoE router differentiable

Make a hard MoE router differentiable Differentiable Routing for Mixture-of-Experts (MoE) Context You are working with an MoE layer that routes each t...

Machine Learning
23
0
167 people solved
Jul 15, 2025
Walmart Labs logo
Walmart Labs
Easy
Machine Learning Engineer Locked

Design an LLM agent with RAG and tools

This question evaluates proficiency in designing LLM-based agents, covering retrieval-augmented generation, tool/API orchestration, safety and evaluat...

Machine Learning
5
0
48 people solved
Dec 7, 2025
Goldman Sachs logo
Goldman Sachs
Hard
Machine Learning Engineer

Evaluate TPR/FPR, sigmoid, and activations

You have a 70-minute assessment with several ML-fundamentals multiple-choice questions. Answer the following (show calculations where applicable). 1) ...

Machine Learning
3
0
65 people solved
Oct 10, 2025
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Train a classifier and analyze dataset

End-to-End Binary Classifier Workflow (EDA → Modeling → Fairness → Report) You are given a labeled tabular dataset and asked to implement a reproducib...

Machine Learning
65
0
794 people solved
Sep 6, 2025
Tesla logo
Tesla
Hard
Machine Learning Engineer

Implement attention and Transformer with backward pass

Implement Scaled Dot-Product Attention and a Transformer Block (No Autograd) Context: Build multi-head self-attention and a Transformer encoder-style ...

Machine Learning
41
0
369 people solved
Aug 12, 2025
Bytedance logo
Bytedance
Medium
Machine Learning Engineer

Explain XGBoost's Overfitting Resistance

A single, unpruned decision tree can recursively partition the training set until its leaves describe individual training points, which makes it a hig...

Machine Learning
6
0
108 people solved
Mar 27, 2026
Pinterest logo
Pinterest
Medium
Machine Learning Engineer Locked

Explain bias–variance, overfitting, and vanishing gradients

This question evaluates understanding of core machine learning fundamentals—specifically the bias–variance tradeoff, overfitting detection and mitigat...

Machine Learning
11
0
162 people solved
Jan 22, 2026
Snapchat logo
Snapchat
Medium
Machine Learning Engineer

Explain CLIP, contrastive losses, and retrieval limits

Answer the following ML questions in the context of multi-modal (text–video/image) retrieval: 1) How does a CLIP-style model work conceptually (archit...

Machine Learning
9
0
117 people solved
Feb 3, 2026

Explore more Machine Learning Engineer Machine Learning interview questions

Real questions from candidate reports, grouped by company, topic and role.

By company
Other categories for Machine Learning Engineer
Machine Learning questions for other roles
Browse all