← All Companies
Company Interview Guide
Amazon
Machine-learning questions reported by Amazon candidates alongside questions matched to Amazon’s loop via role signals. Solid chips = candidate-reported; dashed = inferred.
149candidate-reported
160inferred
4series covered
172hot right now
Amazon loop at a glance: OA → onsite mixing ML breadth, applied-science case studies, and Leadership Principles. Classical ML, experimentation, and business-metric trade-offs show up frequently. How we source tags → · All companies →

DL0032 · Transformer VS RNN →
FEATURED
High-Frequency Sprint
Top 6 Questions to Practice First
Cross-Validation
Learning Rate Selection
What are the best practices for selecting an optimal learning rate? The Problem: You must fill in the learning rate for a new training job.
Attention Mechanism
Please explain the concept of “Attention Mechanism.” The Problem: A team’s English-to-German translator squeezes every sen
Transformer VS RNN
What makes Transformers more parallel-friendly than RNNs? The Problem: A team has one 8-GPU node and a two-week deadline to train a language
Spam Email Detection
Design an end-to-end Machine Learning system to effectively detect and filter spam emails in a high-volume email service. Describe how you
Debug Normalization Leakage
All Amazon Questions (309)
| Series | ID | Title | Companies | Topics | Format | Level |
|---|---|---|---|---|---|---|
| ML | ML0002 | Machine Learning Type What is the difference between supervised learning and unsupervised learning? The Problem: The same data team receives two requests. One is to flag spam in inco | Google, Microsoft, Bolt | Basics, Data Eng, Loss | Concept | Easy |
| ML | ML0003 | Overfitting What is overfitting and how to avoid overfitting? The Problem: A classifier reaches 99% accuracy on its training rows, ships unchanged, and then reaches only 61 | Google, Microsoft, Apple | Fit, Loss, Validation | Concept | Easy |
| ML | ML0004 | Underfitting What is underfitting, how do you recognize it, and how can you fix it? The Problem: A house-price model scores R² 0.41 on train and 0.39 on validation, well sho | Google, Microsoft, Apple | Basics, Fit, Validation | Concept | Easy |
| ML | ML0005 | Discriminative and Generative What are the differences between discriminative and generative models? The Problem: Two models are trained on the same labeled spam dataset and reach the same t | Amazon, Google, Microsoft | Data Eng, GenAI, Stats | Concept | Medium |
| ML | ML0006 | Cross-Validation | Google, Microsoft, Uber | Data Eng, Stats, Validation | Concept | Medium |
| ML | ML0008 | Learning Rate Selection What are the best practices for selecting an optimal learning rate? The Problem: You must fill in the learning rate for a new training job. Each full run takes | Amazon, Google, Microsoft | Basics, Loss, Optim | Concept | Easy |
| ML | ML0009 | Batch Size Selection What are the best strategies for selecting the appropriate batch size? The Problem: You are about to train a ResNet-18 from scratch on 50,000 images using one 1 | Google, Microsoft, NVIDIA | Basics, Data Eng, Optim | Concept | Easy |
| ML | ML0010 | Epoch Selection What are effective strategies for selecting the appropriate number of training epochs in machine learning? The Problem: An image classifier with a fixed GPU bud | Google, Microsoft, Oracle | Basics, Fit, Validation | Concept | Easy |
| ML | ML0011 | Precision and Recall What are Precision and Recall? The Problem: A fraud model and a do-nothing model reach almost the same accuracy on a test set where only 0.5% of transactions ar | Amazon, Google, Microsoft | Data Eng, Metrics, Retrieval | Concept | Easy |
| ML | ML0012 | F1 Score What is F1 Score? The Problem: A fraud dataset has only 10 frauds in 1,000 transactions. A model that never flags anything scores 99.0% accuracy and beats a mod | Amazon, Google, Microsoft | Data Eng, Metrics, Safety | Concept | Easy |
| ML | ML0013 | Accuracy What is accuracy? The Problem: A cat-vs-dog classifier has labeled eight test images, and its predictions sit next to the true labels. A product lead wants a si | Google, Microsoft, Uber | Data Eng, Metrics | Concept | Easy |
| ML | ML0014 | Confusion Matrix What is the confusion matrix? The Problem: A spam filter reports a single 95% accuracy on a test set where 950 of 1000 emails are not spam. The team needs to kn | Google, Microsoft, Uber | Data Eng, Metrics | Concept | Easy |
| ML | ML0015 | ROC Curve | Amazon, Google, Microsoft | Data Eng, Metrics | Concept | Medium |
| ML | ML0016 | AUC What is AUC? The Problem: Two spam filters score the same eight emails, and both reach 75% accuracy at threshold 0.5. Moving the threshold changes which filter | Amazon, Google, Microsoft | Metrics, Ranking, Stats | Concept | Easy |
| ML | ML0018 | Data Normalization Why is data normalization used in Machine Learning? The Problem: A raw loan-applicant table mixes income in dollars, age in years, and utilization as a fraction | Amazon, Google, Microsoft | Data Eng, NN, Norm | Concept | Easy |
| ML | ML0019 | Imbalanced Data | Amazon, Google, Meta | Data Eng, Metrics, Safety | Case Study | Medium |
| ML | ML0020 | Data Split How to split the dataset? The Problem: A team has 50,000 labeled emails and a first model that was fit and scored on the very same rows, reporting 98% accuracy. | Amazon, Google, Microsoft | Basics, Data Eng, Validation | Concept | Easy |
| ML | ML0021 | L1 Loss L2 Loss What are the key differences between L1 loss and L2 loss? The Problem: A line is fit to 10 house sales, one of which looks like a data-entry typo. Each residual | Amazon, Google, Microsoft | Loss, Optim, Safety | Concept | Easy |
| ML | ML0022 | Cross Entropy Loss | Amazon, Google, Microsoft | Data Eng, Loss, Stats | Concept | Easy |
| ML | ML0023 | Gradient Descent What is Gradient Descent in machine learning? The Problem: A network starts with 1.2 million random weights and a training loss of 2.31. Trying every weight com | Amazon, Google, Microsoft | Basics, Loss, Optim | Concept | Easy |