Amazon Machine Learning Engineer interview questions

28 Machine Learning Engineers have shared notes from their Amazon interviews, with the questions they were asked in each round. That is 9% of the 316 Amazon interview notes on Screna AI.

28 Machine Learning Engineer interview notes

Amazon·Machine Learning Engineer·Technical Phone Screen

Jun 2026
Amazon ML engineer screen, just one question about logistic regression. Pretty barebones from what I can tell but the concept they were probing is deeper than it sounds.
  • What is logistic regression, and why do we use the log transformation in it?

“The 'what is logistic regression' part is easy enough, but the 'why log' follow-up is where people trip.”

View Post

Amazon·Machine Learning Engineer·Technical Phone Screen

Jun 2026
Amazon ML engineer interview that was basically a four-part Morse code problem, each part building on the last. By the end I was writing backtracking code and genuinely unsure if I was still in a coding interview or some kind of puzzle competition.
  • Write a function that encodes a plain text string into Morse code, using separators between characters and words.
  • Now decode a Morse code string that has separators back into readable text.
  • Decode a Morse string with no separators at all, given that the input is guaranteed to be a single word from a known vocabulary.
  • Extend the decoder to handle a separator-free Morse string that could represent multiple words from the vocabulary, using backtracking to find all valid decodings.

“This part was fine.”

View Post

Amazon·Machine Learning Engineer·Technical Phone Screen

Jun 2026
Amazon ML engineer interview that was basically one meaty streaming systems question dressed up as a coding problem. More design thinking than pure algorithm work, which I wasn't fully expecting.
  • Given a stream of user book-reading events with fields like user ID, book ID, current position, and total duration, design a system to detect 'abusive' books. A single event is abusive if the user jumped to the last 5% of the book without ever reaching the first 10%. A book overall is abusive if more than 20% of its events meet that condition. How do you implement this as a streaming solution?

“I started with the per-(user, book) progress cache idea pretty quickly, tracking whether the first 10% threshold had been crossed.”

View Post

Amazon·Machine Learning Engineer·Technical Phone Screen

Jun 2026
Amazon ML Engineer technical screen, pretty deep on the applied ML side. They wanted specifics, not generalities, and I felt that pressure pretty fast.
  • Walk through your ML or deep learning project in detail. Which learning rate scheduler did you use and why did you choose it over the alternatives?
  • Explain how gradient clipping works. What's the difference between norm-based and value-based clipping, and in what situations do you actually need it?

“I talked about warmup plus cosine decay because that's what I'd used most recently, but they kept pushing.”

View Post

Amazon·Machine Learning Engineer·Hiring Manager Screen

Jun 2026
Hiring manager round for an MLE role at Amazon, mostly a conversation about team direction with one meaty technical question about model performance gaps. Pretty low-key overall but the core ML question had a lot of surface area and I don't think I covered it as cleanly as I should have.
  • Your model performs significantly worse in production than it did during offline evaluation. How do you diagnose and fix that?

“This question has so many branches and I kind of scattered my answer across all of them without landing cleanly on any.”

View Post

Amazon·Machine Learning Engineer·Onsite - System Design / Architecture

Jun 2026
Amazon ML engineer system design round, single big question that sprawled across like four different topics. The scope was brutal and I'm still not sure I covered enough ground on the RL portion.
  • Design a complete ML system for an agent that operates a computer's GUI to complete tasks. Walk through pretraining, finetuning, reinforcement learning, and inference end to end.

“This question ate up the entire session.”

View Post

Amazon·Machine Learning Engineer·Technical Phone Screen

Jun 2026
Amazon ML Engineer screen with a classic greedy problem. Nothing too wild but the two-pass trick is one of those things you either know or you spend the whole interview reinventing it from scratch.
  • Given an array of ratings for children standing in a line, find the minimum number of candies to distribute such that every child gets at least one and any child with a higher rating than a neighbor gets more candies than that neighbor.

“The naive approach of trying to handle both directions at once will wreck you.”

View Post

Amazon·Machine Learning Engineer·Technical Phone Screen

May 2026
Amazon ML engineer technical screen, basically one long coding question that asked me to build a neural network from scratch using only NumPy. No PyTorch, no autograd, just raw math and array ops. Harder than I expected to keep all the shapes straight under pressure.
  • Implement a feed-forward neural network from scratch using only NumPy, including forward pass, loss computation, backpropagation, and a mini-batch SGD training loop. Demonstrate it working on a small dataset.

“This one took me the full session.”

View Post

Amazon·Machine Learning Engineer·Technical Phone Screen

May 2026
Interviewed for an ML Engineer role at Amazon, got asked a pretty foundational question about the difference between inference and training. Short screen, nothing too crazy.
  • What is the difference between inference and training in machine learning?

“Knew this one but fumbled the delivery a bit.”

View Post

Amazon·Machine Learning Engineer·Technical Phone Screen

May 2026
Amazon ML engineer loop, heavy on fundamentals. Eight questions back to back covering everything from transformer internals to contrastive loss implementation. Felt more like a written exam than a conversation, which I wasn't fully expecting.
  • Walk through the Transformer architecture including attention, multi-head attention, positional encoding, and the encoder/decoder structure.
  • What are the advantages of Transformers over RNNs, LSTMs, and CNNs for modeling sequences?
  • What is the difference between Adam and AdamW, and what does decoupled weight decay actually mean in practice?
  • Explain PPO, specifically the clipped objective, how advantage estimation works, and why it's the go-to algorithm for RLHF.
  • What are the main challenges when training a VQ-VAE, including codebook collapse, the straight-through estimator, and commitment loss?
  • Write out the RoPE (Rotary Position Embedding) formula and explain the relative-position invariance property.
  • What are the architectural differences between CLIP and Qwen-VL in terms of encoder layout, modality alignment, and fusion strategy?
  • Implement InfoNCE loss in PyTorch using in-batch negatives.

“Probably the most expected question on the list and I still fumbled the positional encoding explanation a bit.”

View Post