← All Companies
Company Interview Guide
Microsoft
Machine-learning questions reported by Microsoft candidates alongside questions matched to Microsoft’s loop via role signals. Solid chips = candidate-reported; dashed = inferred.
93candidate-reported
34inferred
4series covered
94hot right now
Microsoft loop at a glance: balanced loops spanning classical ML, LLM/RAG architecture, PyTorch debugging, and production MLOps. How we source tags → · All companies →
High-Frequency Sprint
Top 6 Questions to Practice First
Machine Learning Type
What is the difference between supervised learning and unsupervised learning? The Problem: The same data team receives two requests. One is
Overfitting
What is overfitting and how to avoid overfitting? The Problem: A classifier reaches 99% accuracy on its training rows, ships unchanged, and
LLM Bias Detection Mitigation
How do you detect and mitigate bias in LLM outputs, and what pipeline of classifier scoring, threshold calibration, and mitigation strategie
SFT Sample Packing and Loss Masks
Realtime Voice Agent
Masked Self-Attention
All Microsoft Questions (127)
| 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 | ML0007 | Dropout What is dropout in neural network training? The Problem: A model definition contains a Dropout(p=0.5) layer. In training mode, feeding the same image three time | Google, Microsoft, ByteDance/TikTok | Basics, Fit, NN | 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 | ML0017 | Data Augmentation What are the common data augmentation techniques? The Problem: A team has only 240 labeled photos and no budget to label more. Their classifier scores 99% on tr | Google, Microsoft, AMD | Basics, Data Eng, Fit | 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 |
