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
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Build harmful-content text classifier

This question evaluates a candidate's competence in designing an end-to-end machine learning pipeline for binary text classification, covering data un...

Machine Learning
7
0
54 people solved
Nov 28, 2025
Amazon logo
Amazon
Hard
Machine Learning Engineer

Explain LLM fundamentals and trade-offs

Explain LLM fundamentals and trade-offs LLM Fundamentals — Onsite Interview Task Context: Assume a modern transformer-based LLM. Provide precise, conc...

Machine Learning
9
0
71 people solved
Jul 17, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer

Explain surprisal and its units

You are discussing a language-modeling / NLP project. The interviewer asks about surprisal. 1. Define surprisal for an event/token with probability \(...

Machine Learning
6
0
54 people solved
Nov 20, 2025
Cadence logo
Cadence
Medium
Machine Learning EngineerNew Grad Locked

Explain Transformer Positional Encoding

This question evaluates understanding of positional encoding in Transformer architectures, including how positional information is integrated into tok...

Machine Learning
3
0
26 people solved
Jan 5, 2026
Zillow logo
Zillow
Medium
Machine Learning Engineer

Explain why LLMs produce hallucinations

Large language models (LLMs) are known to "hallucinate"—that is, they sometimes produce fluent, confident answers that are factually incorrect or unsu...

Machine Learning
7
0
60 people solved
Sep 24, 2025
TikTok logo
TikTok
Hard
Machine Learning Engineer

Implement attention and nucleus sampling; compare to top-k

Implement Multi‑Head Attention and Nucleus (Top‑p) Sampling Context You are building core components used in Transformer-based language models. Implem...

Machine Learning
7
0
70 people solved
Aug 11, 2025
Snapchat logo
Snapchat
Medium
Machine Learning Engineer

Explain Core ML Concepts

Answer these machine-learning fundamentals questions: 1. Explain the difference between batch normalization and layer normalization, including how eac...

Machine Learning
2
0
44 people solved
Jun 28, 2025
DRW logo
DRW
Medium
Machine Learning Engineer

Explain core ML and DL fundamentals

Explain core ML and DL fundamentals Answer the following machine-learning / deep-learning concept questions. Where useful, include the formula, the in...

Machine Learning
13
0
90 people solved
Jul 31, 2025
LinkedIn logo
LinkedIn
Medium
Machine Learning Engineer Locked

Explain Core ML Fundamentals

Review ML fundamentals including logistic regression, cross-entropy loss, batch versus stochastic gradient descent, batch size tradeoffs, overfitting,...

Machine Learning
5
0
52 people solved
May 3, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer

Explain core components of reinforcement learning

In reinforcement learning, we model an agent that interacts with an environment over time. The agent observes the state of the environment, takes acti...

Machine Learning
7
0
51 people solved
Oct 26, 2025
PayPal logo
PayPal
Hard
Machine Learning Engineer

Assess LLMs for fraud detection

LLMs in Fraud Detection: Near-Term vs. Long-Term Roles Context You are designing fraud detection for a large-scale digital payments platform with: - R...

Machine Learning
16
0
130 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Machine Learning EngineerSenior+

Explain XGBoost Parallelism Strategies

Explain How XGBoost Parallelizes Training Scope Describe how XGBoost achieves parallelism: 1. Within a single machine - Histogram-based split findi...

Machine Learning
7
0
75 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Machine Learning Engineer

Explain XGBoost depth, regularization, and dropout

ML Conceptual Questions (Onsite) Answer the following: (a) Gradient-boosted decision trees: How does maximum tree depth affect bias/variance, overfitt...

Machine Learning
8
0
120 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Machine Learning Engineer

Implement 1D convex minimization in Python

Question Implement, in Python, an algorithm that minimizes a 1D black-box convex function F(x) over a closed interval [a, b]. Assume F is convex (henc...

Machine Learning
20
0
170 people solved
Sep 6, 2025
Sealth logo
Sealth
Easy
Machine Learning Engineer Locked

Represent k-means as an MLP

This question evaluates understanding of how the nearest-centroid step of k-means can be expressed as a fully connected neural network layer with acti...

Machine Learning
9
0
61 people solved
Apr 12, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer

Explain core ML fundamentals

Explain core ML fundamentals ML Fundamentals — Onsite Interview Task Context: Answer the following fundamentals as if in an onsite ML Engineer intervi...

Machine Learning
8
0
70 people solved
Jul 17, 2025
Dandy logo
Dandy
Medium
Machine Learning Engineer Locked

Explain ML fundamentals (activations, CV, vision, sorting)

This question evaluates core machine learning competencies including neural network behavior and activation functions, model evaluation and cross-vali...

Machine Learning
7
0
59 people solved
Jan 17, 2026
Applied Intuition logo
Applied Intuition
Medium
Machine Learning Engineer

Implement correct attention masking

Autoregressive Transformer: Correct Attention Masking with Padding Context: You are implementing decoder self-attention for an autoregressive Transfor...

Machine Learning
6
0
119 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Machine Learning EngineerSenior+

Explain Collaborative Filtering Approaches

Collaborative Filtering for Recommendations: Approaches, Losses, Regularization, Cold Start, Bias, Evaluation, and Scale Context You are designing a r...

Machine Learning
10
0
73 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer Locked

Design a search relevance prediction approach

This question evaluates competency in machine learning for search relevance, including relevance modeling, feature engineering across lexical, semanti...

Machine Learning
4
0
42 people solved
Jan 6, 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