Interview practice plan
Senior Software Engineer - Backend/ Infra
Microsoft · Hyderabad
Practice content written by LYDJ for interview preparation. These are common questions for this kind of role, not this employer's actual interview questions.
What this role asks for
Skills we found in the job description. The plan below is built around them.
Also named in the description, not covered below: Observability. Review these on your own.
Sign in to see your gap areas first. We compare this role with the skills on your profile.
0 of 19 questions practised
Answer each one out loud, then tick it. Progress is saved in this browser only.
Java
This role asks for Java.
Explain the Java Memory Model. What do volatile and synchronized actually guarantee?
What good looks likeHide hint
Visibility versus atomicity, happens-before, and why a volatile counter++ is still not thread-safe (use atomics or locks).
When would you use CompletableFuture, a bounded ExecutorService, or virtual threads?
What good looks likeHide hint
Virtual threads for blocking I/O-heavy code, CompletableFuture for composing async steps, bounded pools for CPU-bound work, and the pinning caveats of virtual threads.
Your Java service throws OutOfMemoryError in production about once a week. How do you investigate?
What good looks likeHide hint
Heap dump on OOM, analyse retained sizes and dominators, check caches and unbounded collections, and correlate with traffic or batch jobs.
JavaScript
This role asks for JavaScript.
Explain the event loop. In what order do setTimeout, a resolved Promise and code after await run?
What good looks likeHide hint
Call stack, microtask queue (promises) drained before the next macrotask (timers), and how await splits a function into a microtask continuation.
How do you handle errors in async code? What happens to an unhandled promise rejection?
What good looks likeHide hint
try/catch around await, .catch on chains, Promise.allSettled when partial failure is fine, and a global handler for logging unhandled rejections.
How would you find and fix a memory leak in a single-page app?
What good looks likeHide hint
Heap snapshots in browser DevTools, detached DOM nodes, listeners and intervals not cleaned up, and caches that grow with every navigation.
Python
This role asks for Python.
Explain the GIL and how it affects threading, multiprocessing and asyncio.
What good looks likeHide hint
Threads help I/O-bound work but not CPU-bound Python code; multiprocessing sidesteps the GIL at a memory and IPC cost; asyncio suits many concurrent I/O tasks.
How do you structure a Python codebase so a team can work on it safely?
What good looks likeHide hint
Locked dependencies, pyproject-based packaging, type hints checked in CI, pytest with fixtures, linting and formatting, and clear module boundaries.
A Python data-processing script takes hours. How do you speed it up?
What good looks likeHide hint
Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.
Core programming
This role asks for C++ and C#. We do not have questions specific to these yet, so practise these fundamentals and answer them in that language.
Explain the difference between a process and a thread, and when you would use each.
What good looks likeHide hint
Memory isolation versus shared memory, cost of creation and context switches, and the synchronisation problems that sharing introduces.
How would you find and fix a memory leak in a long-running service?
What good looks likeHide hint
Confirm with memory metrics over time, take and compare heap snapshots, look for unbounded caches, listeners and global collections, then add a regression check.
What makes code testable? Show how you would refactor a function to make it easier to test.
What good looks likeHide hint
Separate pure logic from I/O, inject dependencies instead of constructing them inside, and keep functions small with clear inputs and outputs.
System design
This role asks for Distributed systems, so expect an architecture round. State requirements and numbers first, then trade-offs.
Design the home feed for a professional networking app.
What good looks likeHide hint
Discuss fan-out on write versus read, very large accounts, ranking, pagination and cache invalidation, and state your trade-offs explicitly.
How would you break a monolith into microservices? Where would you start?
What good looks likeHide hint
Start from domain boundaries and the parts that change most, use a strangler approach, plan for shared data and distributed transactions, and invest in observability first.
Design a distributed cache. How do you handle node failures and hot keys?
What good looks likeHide hint
Consistent hashing, replication, eviction policy, protection against cache stampedes, and the consistency guarantees callers can actually live with.
Behavioural
Every interview loop has a behavioural round. For senior roles, expect probing on influence without authority, judgement under pressure and raising the bar for others. Use the STAR structure.
Give an example of when you went beyond your role to fix a problem for your team or a customer.
What good looks likeHide hint
Pick something with real impact, explain why it mattered, and how you involved the owner rather than quietly working around them.
Tell me about a time a project you owned was at risk of missing its date.
What good looks likeHide hint
Show early detection, honest escalation and the scope, sequencing or resourcing levers you pulled. Avoid stories that end with "we all worked weekends".
Why do you want this role, and why now?
What good looks likeHide hint
Connect two or three specific requirements of the role to your experience and to a direction you are deliberately moving in. Generic praise of the company scores poorly.
Tell me about a time you worked closely with a team in another time zone or culture.
What good looks likeHide hint
Mention concrete practices (async updates, overlap hours, written decisions) and a moment where a misunderstanding was caught and fixed.
Company research brief: Microsoft
From the roles we track on LYDJ, refreshed daily from the official careers page.
120
open roles
57
added in 30 days
49
in Engineering
Hiring most for
- Engineering49
- Other31
- Data & AI14
- Operations8
Read before the interview
Questions to ask them
- ›There are several open Engineering roles at Microsoft right now. How is the team growing, and where does this role fit?
- ›The company hires in Hyderabad, Bengaluru, Mumbai. How do teams across locations work together day to day?
- ›How does the team use Distributed systems and Observability today, and what would you like to change?
- ›What does success look like in this role after six months?
- ›What is the biggest challenge the team is facing this year?
Preparation checklist
0/9 doneSaved in this browser only.