SDE2 Interview Questions at Microsoft

Published July 22, 2026 · Updated July 22, 2026

7 real SDE2 interview questions asked at Microsoft. Covers Technical, System Design, HR rounds. Sourced from engineers who cleared the loop.

7 questions
385 upvotes
Rounds: 3
Top topic: system-design

Interview Signals — What Microsoft Asks SDE2s

Frequently Asked Topics
system-design3x
arrays1x
domain1x
behavioral1x
graphs1x
Interview Rounds
Technical3q
System Design3q
HR1q

All SDE2 Questions Asked at Microsoft

Microsoft Hard System Design round

Design Microsoft Teams' presence system. How do you propagate "online / away / busy" status to millions of users with sub-second latency without overwhelming the backend?

↑ 89 upvotes · 27 engineers asked this · SDE2
Microsoft Hard System Design round Distributed SystemsAzure

Design Azure Blob Storage. How do you store, replicate, and serve petabytes of unstructured data with 11 nines of durability? Cover: chunking, erasure coding vs 3-way replication, geo-redundancy, and handling hot blobs.

↑ 57 upvotes · 36 engineers asked this · SDE2
Microsoft Hard Technical round JavaPythonC#

Given a 2D grid of 0s and 1s, count the number of islands. Then extend: find the largest island, and then explain how you would solve this for a streaming grid that changes in real time using a Union-Find structure.

↑ 54 upvotes · 34 engineers asked this · SDE2
Microsoft Hard System Design round Distributed SystemsWebSockets

Design a collaborative code editor like VS Code Live Share. Multiple developers edit the same file simultaneously with cursors visible to all. Cover: OT vs CRDT, undo/redo in a collaborative context, and low-latency sync across regions.

↑ 49 upvotes · 30 engineers asked this · SDE2
Microsoft Medium Technical round .NETC#

Explain the difference between process and thread in Windows. What is a fiber? Describe how the .NET thread pool works and when you would use async/await vs raw Thread vs ThreadPool.

↑ 48 upvotes · 29 engineers asked this · SDE2
Microsoft Medium HR round

Microsoft asks about "growth mindset". Tell me about a significant technical failure you experienced. What did you learn and how did you change your approach as a result?

↑ 45 upvotes · 27 engineers asked this · SDE2
Microsoft Medium Technical round

Given a matrix of 0s and 1s, find the largest rectangle containing only 1s and return its area. Walk through the histogram-based O(n*m) solution and discuss why the naive O(n2*m2) approach is unacceptable at scale.

↑ 43 upvotes · 38 engineers asked this · SDE2

Practice these questions with AI feedback

Get instant grading on your answers, identify your weak areas, and generate a personalised 14-day study plan — all free.

Build my study plan →

Other companies hiring SDE2s

Amazon SDE2 questions Google SDE2 questions Flipkart SDE2 questions Infosys SDE2 questions TCS SDE2 questions Swiggy SDE2 questions

More at Microsoft

All Microsoft questions Microsoft interview process Prepare for Microsoft

Frequently asked questions

What topics does Microsoft ask SDE2s?
Common topics: system-design, arrays, domain, behavioral, graphs.
What rounds are there in Microsoft SDE2 interview?
Reported rounds: Technical, System Design, HR.
What experience level does Microsoft hire SDE2s at?
Experience levels vary by team.