Interview practice plan
Software Engineer 2
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 25 questions practised
Answer each one out loud, then tick it. Progress is saved in this browser only.
Azure
This role asks for Azure.
How would you organise Azure management groups, subscriptions and resource groups for several teams?
What good looks likeHide hint
Management groups for policy inheritance, subscriptions as billing and isolation boundaries, resource groups per workload lifecycle, and consistent tagging.
When would you pick App Service, Azure Functions or AKS?
What good looks likeHide hint
Compare operational effort, scaling model, execution limits, cost profile and team skills, and give a workload that fits each.
How would you build a secure pipeline that deploys infrastructure and apps to Azure?
What good looks likeHide hint
Federated workload identity instead of stored secrets, Key Vault, environment approvals, infrastructure as code with Bicep or Terraform, and policy checks.
Kubernetes
This role asks for Kubernetes.
Explain Pods, Deployments, Services and Ingress. How does a request reach a container?
What good looks likeHide hint
Ingress routes to a Service, which load-balances across Pod endpoints selected by labels; Deployments manage ReplicaSets of Pods.
What are resource requests and limits, and what happens when a container exceeds them?
What good looks likeHide hint
Scheduling uses requests; CPU is throttled at the limit while memory over the limit is OOMKilled; requests and limits set the QoS class.
How do you achieve zero-downtime deployments and safe rollbacks on Kubernetes?
What good looks likeHide hint
Rolling update settings, readiness probes, PodDisruptionBudgets, graceful shutdown with preStop hooks, and canary releases with automated rollback.
ETL & data pipelines
This role asks for Data warehousing. These ETL & data pipelines questions cover the ground it builds on.
Explain slowly changing dimensions, especially Type 1 versus Type 2.
What good looks likeHide hint
Type 1 overwrites history, Type 2 adds a new row with effective dates and a current flag; choose based on whether reports need history.
Batch or streaming: how do you decide for a new use case?
What good looks likeHide hint
How fresh the data must be, cost and operational complexity, late data handling, and whether micro-batches are good enough.
Star schema or one wide denormalised table: what are the trade-offs for analytics?
What good looks likeHide hint
Star schemas keep dimensions consistent and reusable; wide tables are simpler and faster for specific use cases but duplicate logic. Many teams use both layers.
Java
This role asks for Java.
What is the difference between checked and unchecked exceptions, and how do you decide which to throw?
What good looks likeHide hint
Checked for recoverable conditions the caller must handle, unchecked for programming errors. Mention wrapping, not swallowing exceptions, and keeping the cause.
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.
How do you design an immutable class in Java, and why is immutability useful?
What good looks likeHide hint
Final class and fields, no setters, defensive copies of mutable inputs, or records. Benefits: thread safety, safe sharing and predictable caching.
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.
Explain decorators. Write one that retries a function with exponential backoff.
What good looks likeHide hint
A function that wraps another, functools.wraps to keep metadata, configurable retries and delays, and only retrying exceptions that are actually transient.
What goes wrong with def add(item, items=[])?
What good looks likeHide hint
Default arguments are evaluated once, so the list is shared across calls. Use None as the default and create the list inside.
Core programming
This role asks for C#, .NET 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 Distributed systems, so expect an architecture round. State requirements and numbers first, then trade-offs.
Design a URL shortener that handles 100 million redirects a day.
What good looks likeHide hint
Clarify the read/write ratio, design ID generation, storage and caching, then cover hot keys, analytics and expiry. Back-of-envelope numbers earn credit.
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.
Design the REST API for a multi-tenant SaaS product.
What good looks likeHide hint
Resource modelling, versioning, pagination, authentication and tenant isolation, idempotent writes, and a consistent error contract.
Behavioural
Every interview loop has a behavioural round. At mid level, expect questions on delivering independently, handling ambiguity and working through disagreement. Use the STAR structure.
Describe a piece of feedback that changed how you work.
What good looks likeHide hint
State the feedback, your honest first reaction and the concrete behaviour you changed. Close with evidence that the change stuck.
Describe a time you had several urgent priorities at once. How did you decide what to do first?
What good looks likeHide hint
Explain your criteria (impact, deadlines, dependencies), how you communicated the trade-offs, and what you deliberately dropped or delayed.
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".
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
55
added in 30 days
48
in Engineering
Hiring most for
- Engineering48
- Other29
- Data & AI16
- Operations7
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 .NET 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.