Interview practice plan

M

Senior Software Engineer

Microsoft · Bengaluru

EngineeringSenior28 practice questions

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.

AzureC#C++JavaPythonProduct managementLinuxAWSGCPDockerKubernetes

Also named in the description, not covered below: Linux, Docker, Kubernetes. 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 28 questions practised

Answer each one out loud, then tick it. Progress is saved in this browser only.

01Required skill0/3

Azure

This role asks for Azure.

  • How would you organise Azure management groups, subscriptions and resource groups for several teams?

    What good looks like

    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 like

    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 like

    Federated workload identity instead of stored secrets, Key Vault, environment approvals, infrastructure as code with Bicep or Terraform, and policy checks.

02Required skill0/3

Java

This role asks for Java.

  • How does garbage collection work in the JVM, and how would you tune it for a low-latency service?

    What good looks like

    Generational heap, G1 versus ZGC trade-offs, reading GC logs, and reducing allocation rate before reaching for JVM flags.

  • Explain the Java Memory Model. What do volatile and synchronized actually guarantee?

    What good looks like

    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 like

    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.

03Required skill0/3

Python

This role asks for Python.

  • Explain the GIL and how it affects threading, multiprocessing and asyncio.

    What good looks like

    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 like

    Reference counting plus a cyclic garbage collector, fragmentation, unbounded caches or globals, and using tracemalloc to find the growth.

  • A Python data-processing script takes hours. How do you speed it up?

    What good looks like

    Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.

04Required skill0/3

Product management

This role asks for Product management.

  • Tell me about a product decision you made with incomplete data.

    What good looks like

    Explain what you knew and did not know, how you limited the downside (a small bet, a reversible decision), and what you learned afterwards.

  • Engineering estimates a feature at three times what you expected. What do you do?

    What good looks like

    Understand what drives the estimate, look for a smaller version that tests the core value, revisit priority, and decide together rather than pushing back on the number.

  • How do you decide whether to build, buy or partner for a new capability?

    What good looks like

    Strategic differentiation, time to market, total cost of ownership, integration and vendor risk, and the team's capacity.

05Required skill0/3

AWS

This role asks for AWS.

  • How would you design a highly available web application on AWS across multiple availability zones?

    What good looks like

    Load balancer across AZs, auto-scaling stateless compute, a multi-AZ database, externalised sessions, health checks and a tested failover plan.

  • When would you choose Lambda, ECS on Fargate or EC2 for a workload?

    What good looks like

    Execution time limits, cold starts, steady versus spiky traffic cost, packaging and operational overhead. Tie the choice to the workload's shape.

  • The AWS bill has grown 40% in six months. How do you bring it under control?

    What good looks like

    Tagging and cost allocation first, then rightsizing, savings plans, storage lifecycle rules, data transfer review, and budgets with alerts.

06Required skill0/3

GCP

This role asks for GCP.

  • When would you choose Cloud Run, GKE or Compute Engine?

    What good looks like

    Cloud Run for stateless containers with minimal ops, GKE for complex orchestration needs, VMs for special runtimes or licensing; compare cost and control.

  • How does BigQuery pricing work, and how do you keep query costs under control?

    What good looks like

    On-demand bytes scanned versus capacity pricing, partitioning and clustering, avoiding SELECT *, dry runs, and per-user quotas.

  • Design an event-driven pipeline on Pub/Sub. How do you handle duplicate and out-of-order messages?

    What good looks like

    At-least-once delivery means idempotent consumers, ordering keys where order matters, dead-letter topics, and replay strategy.

07Fundamentals0/3

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 like

    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 like

    Separate pure logic from I/O, inject dependencies instead of constructing them inside, and keep functions small with clear inputs and outputs.

  • Walk me through what happens when you type a URL into a browser and press Enter.

    What good looks like

    DNS, TCP and TLS handshakes, the HTTP request, server processing, then parsing, rendering and loading sub-resources. Depth in one area beats a shallow list.

08Design round0/3

System design

Senior engineering roles almost always include a design round. State requirements and rough numbers first, then walk through trade-offs.

  • Design an upload and processing pipeline for large documents such as resumes.

    What good looks like

    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.

  • Design a real-time chat system with one-to-one and group messages.

    What good looks like

    Connection handling (WebSockets), ordering and delivery receipts, offline storage and sync, fan-out for groups, and presence.

  • Your service's p99 latency doubled after a release. Walk me through how you investigate.

    What good looks like

    Check what changed, compare dashboards and traces, isolate by endpoint and dependency, roll back first if users are hurting, then find the root cause with profiling.

09Every loop0/4

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 like

    Show that you disagreed on substance with evidence, listened properly, and committed once a decision was made, even if it went the other way.

  • Describe a time you had several urgent priorities at once. How did you decide what to do first?

    What good looks like

    Explain your criteria (impact, deadlines, dependencies), how you communicated the trade-offs, and what you deliberately dropped or delayed.

  • Describe the most complex technical or analytical problem you have solved.

    What good looks like

    Explain why it was hard, the options you considered, how you de-risked the chosen approach, and what you would do differently now.

  • Tell me about a time you worked closely with a team in another time zone or culture.

    What good looks like

    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

51

added in 30 days

54

in Engineering

Product & SoftwareGCC

Hiring most for

  • Engineering54
  • Other27
  • Data & AI14
  • Operations7

Cities

Hyderabad · 79Bengaluru · 20Mumbai · 5Pune · 3Noida · 2
See all 120 roles at Microsoft →

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 Azure and C# 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 done

Saved in this browser only.

Interview prep: Senior Software Engineer at Microsoft | LYDJ