Interview practice plan
Sr Software Engineer
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 22 questions practised
Answer each one out loud, then tick it. Progress is saved in this browser only.
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 does Python manage memory, and why might a long-running process keep growing?
What good looks likeHide hint
Reference counting plus a cyclic garbage collector, fragmentation, unbounded caches or globals, and using tracemalloc to find the growth.
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.
LLMs & GenAI
This role asks for LLMs and Generative AI. These LLMs & GenAI questions cover the ground they share.
How do you reduce hallucinations in a question-answering system over company documents?
What good looks likeHide hint
Improve retrieval (chunking, hybrid search, reranking), instruct the model to answer only from sources with citations, allow it to abstain, and measure with evals.
What are the main cost and latency levers for an LLM application in production?
What good looks likeHide hint
Model choice and routing, prompt caching, trimming context, batching, streaming responses, and caching repeated answers.
What security risks are specific to LLM applications, and how do you mitigate prompt injection?
What good looks likeHide hint
Treat retrieved content as untrusted data, give tools least privilege, validate outputs, require human confirmation for side effects, and log for review.
Product management
This role asks for Product management.
How do you prioritise a roadmap when sales, engineering and leadership all want different things?
What good looks likeHide hint
Tie decisions to strategy, use a transparent framework (impact, confidence, effort), share the trade-offs openly, and say no with reasons.
Tell me about a product decision you made with incomplete data.
What good looks likeHide hint
Explain what you knew and did not know, how you limited the downside (a small bet, a reversible decision), and what you learned afterwards.
How do you decide whether to build, buy or partner for a new capability?
What good looks likeHide hint
Strategic differentiation, time to market, total cost of ownership, integration and vendor risk, and the team's capacity.
CI/CD & IaC
This role asks for CI/CD.
Design a CI/CD pipeline for a service with many contributors. Which gates would you put before production?
What good looks likeHide hint
Fast unit tests on every PR, integration and security scans, build once and promote the same artifact, staged environments, and automated rollback.
Blue-green, canary or rolling deployment: how do you choose?
What good looks likeHide hint
Blast radius, rollback speed, infrastructure cost and how good your metrics are for judging a canary. Give a case for each.
How do you manage infrastructure as code safely across environments and a team?
What good looks likeHide hint
Remote state with locking, reusable modules, plans reviewed in pull requests, separate state per environment, drift detection and least-privilege CI credentials.
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.
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.
Compare the time complexity of lookups and inserts in arrays, hash maps and balanced trees. When does the difference matter in practice?
What good looks likeHide hint
Know the Big-O, but also mention ordering needs, worst cases, memory overhead and cache locality, with a real example where it changed a design.
System design
This role asks for System design, so expect an architecture round. State requirements and numbers first, then trade-offs.
Design a rate limiter for a public API.
What good looks likeHide hint
Compare token bucket, fixed and sliding windows; decide where it lives (gateway or service), how counters are shared across nodes, and how clients learn they are limited.
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 an upload and processing pipeline for large documents such as resumes.
What good looks likeHide hint
Direct-to-storage uploads with signed URLs, async processing through a queue, retries and a dead-letter queue, malware scanning, and status updates for the user.
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.
Tell me about a time you disagreed with a teammate or your manager. How did it resolve?
What good looks likeHide hint
Show that you disagreed on substance with evidence, listened properly, and committed once a decision was made, even if it went the other way.
Tell me about a time you worked with unclear or changing requirements.
What good looks likeHide hint
Show how you reduced ambiguity: clarifying questions, writing down assumptions, small experiments and getting explicit sign-off.
Describe a time you had to deliver bad news to a stakeholder.
What good looks likeHide hint
Show that you told them early, came with options and a recommendation rather than just the problem, and kept their trust.
Tell me about a time you used data to change someone's mind.
What good looks likeHide hint
Explain what the data showed, how you made it understandable for that audience, and which decision changed as a result.
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 C# and Python 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.