Interview practice plan

M

Senior Software Engineer - GitHub

Microsoft · Hyderabad

EngineeringSenior25 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.

GitDistributed systemsObservabilityC#JavaC++PythonRubyKubernetesCI/CDMySQL

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.

01Required skill0/3

CI/CD & IaC

This role asks for Git and CI/CD. These CI/CD & IaC questions cover the ground they share.

  • Design a CI/CD pipeline for a service with many contributors. Which gates would you put before production?

    What good looks like

    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 like

    Blast radius, rollback speed, infrastructure cost and how good your metrics are for judging a canary. Give a case for each.

  • The build takes 40 minutes. How do you bring it down?

    What good looks like

    Measure where time goes, cache dependencies, parallelise and shard tests, only build what changed, and fix or quarantine the slowest tests.

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).

  • Your Java service throws OutOfMemoryError in production about once a week. How do you investigate?

    What good looks like

    Heap dump on OOM, analyse retained sizes and dominators, check caches and unbounded collections, and correlate with traffic or batch jobs.

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.

  • How do you structure a Python codebase so a team can work on it safely?

    What good looks like

    Locked dependencies, pyproject-based packaging, type hints checked in CI, pytest with fixtures, linting and formatting, and clear module boundaries.

04Required skill0/3

Kubernetes

This role asks for Kubernetes.

  • How do liveness, readiness and startup probes differ, and how can a bad probe cause an outage?

    What good looks like

    Readiness controls traffic, liveness restarts, startup protects slow boots. A liveness probe that checks a shared dependency can restart every pod at once.

  • How do you achieve zero-downtime deployments and safe rollbacks on Kubernetes?

    What good looks like

    Rolling update settings, readiness probes, PodDisruptionBudgets, graceful shutdown with preStop hooks, and canary releases with automated rollback.

  • How would you secure a Kubernetes cluster used by several teams?

    What good looks like

    RBAC with least privilege, namespaces and network policies, pod security standards, image scanning and signing, secrets management and audit logs.

05Required skill0/3

SQL

This role asks for MySQL. These SQL questions cover the ground it builds on.

  • Find users who were active on at least three consecutive days.

    What good looks like

    A gaps-and-islands pattern: subtract ROW_NUMBER() from the activity date, group by user and that difference, and count.

  • A query that used to take 2 seconds now takes 2 minutes. How do you debug it?

    What good looks like

    Read the execution plan, check stale statistics, missing or unused indexes, data growth and skew, parameter-sensitive plans, and locking.

  • Explain transaction isolation levels and an anomaly each one prevents.

    What good looks like

    Dirty reads, non-repeatable reads and phantoms across read committed, repeatable read and serializable, and how MVCC databases implement them.

06Fundamentals0/3

Core programming

This role asks for C#, C++ and Ruby. 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 like

    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 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.

07Design round0/3

System design

This role asks for Distributed systems, so expect an architecture round. State requirements and numbers first, then trade-offs.

  • Design a job alerts system that emails users when new roles match their saved searches.

    What good looks like

    Cover ingestion, matching at scale (inverted index versus per-user scans), batching and de-duplication, unsubscribe and rate limits, and failure handling.

  • Design a distributed cache. How do you handle node failures and hot keys?

    What good looks like

    Consistent hashing, replication, eviction policy, protection against cache stampedes, and the consistency guarantees callers can actually live with.

  • 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.

08Every 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.

  • 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.

  • Tell me about a time you influenced an important decision without having formal authority.

    What good looks like

    Cover how you built the case (data, prototypes, allies), handled objections and what changed. Strong answers show patience and shared credit.

  • Why do you want this role, and why now?

    What good looks like

    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 used data to change someone's mind.

    What good looks like

    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

Product & SoftwareGCC

Hiring most for

  • Engineering49
  • Other31
  • Data & AI14
  • Operations8

Cities

Hyderabad · 78Bengaluru · 17Mumbai · 7Gurugram · 2Pune · 1
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 Git and Distributed systems 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 - GitHub at Microsoft | LYDJ