Top 50
Prep plan
Updated weekly · Last refresh Aug 30

Microsoft AI Engineer Interview Questions

The questions to prepare for a Microsoft AI Engineer interview. Questions from real interview reports rank first. Updated weekly.

50questions
~7htotal time
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
CodingStart here. 8 questions · ~70 min
Design an LRU CacheMedium
Practice

Implement an LRU cache in O(1) average time using a hash table and doubly linked list.

Hash TablesQueueLinked ListsMicrosoft
Maximum Path Sum in TreeHard
Practice
Recently asked

Use DFS tree dynamic programming to compute the maximum path sum across any parent-child path in a binary tree.

RecursionTreesGraphsMicrosoft
More Coding questions with a free account
2
Pipelines8 questions · ~70 min
3
Model Evaluation9 questions · ~78 min
Choose a Classification ThresholdMedium

Choose a decision threshold for a classifier using precision, recall, calibration, and confusion matrix tradeoffs.

Confusion MatrixPrecisionThreshold TuningMicrosoft
More Model Evaluation questions with a free account
4
NLP6 questions · ~52 min
Explain Transformer Self-AttentionHard

Explain how transformer self-attention works, including its role in sequence modeling and why it scales better than RNNs.

Neural NetworksLanguage ModelsDeep LearningMicrosoft
More NLP questions with a free account
5
Machine Learning8 questions · ~70 min
Improve Loan Default Prediction FeaturesEasy

Build and compare baseline and engineered-feature classifiers for consumer loan default prediction, and explain how feature engineering changes model performance.

Cross-ValidationFeature EngineeringSupervised LearningMicrosoft
More Machine Learning questions with a free account
6
System Design4 questions · ~35 min
Design an LLM Serving PlatformHard

Design an LLM serving system that balances latency, cost, scalability, and safety for production traffic.

Cold StartFeature StoreModel ServingMicrosoft
More System Design questions with a free account
7
More topics7 questions · ~61 min
Evaluate Faithfulness and RelevanceMedium

Evaluates your evaluation framework for grounding quality and usefulness in generative AI outputs.

Microsoft
More questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.