Interview practice plan

M

Software Engineer II

Microsoft · Hyderabad

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

Distributed systemsCI/CDC#JavaC++AzureAWSGCPAgileObservability

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 28 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 CI/CD.

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

  • How do you manage infrastructure as code safely across environments and a team?

    What good looks like

    Remote state with locking, reusable modules, plans reviewed in pull requests, separate state per environment, drift detection and least-privilege CI credentials.

  • How should secrets be handled in a CI/CD pipeline?

    What good looks like

    A secrets manager or the platform's secret store, short-lived federated credentials, masking in logs, and never committing secrets to the repo.

02Required skill0/3

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 like

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

  • How do you design an immutable class in Java, and why is immutability useful?

    What good looks like

    Final class and fields, no setters, defensive copies of mutable inputs, or records. Benefits: thread safety, safe sharing and predictable caching.

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

  • How do managed identities work, and why are they better than storing connection strings?

    What good looks like

    Azure issues and rotates credentials for the resource, removing secrets from config; grant the identity least-privilege roles on targets.

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

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

  • Explain IAM users, roles and policies. How does a Lambda or EC2 instance get credentials without hard-coded keys?

    What good looks like

    Roles assumed by services issue temporary credentials; policies grant least privilege; never embed long-lived access keys in code or images.

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

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

  • Explain how IAM works in GCP: projects, service accounts and least privilege.

    What good looks like

    Resource hierarchy with inherited policies, predefined versus custom roles, service accounts for workloads, and avoiding downloaded keys.

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

06Required skill0/3

Agile

This role asks for Agile.

  • How do you run sprint planning so the team commits to something realistic?

    What good looks like

    A refined backlog, capacity based on real availability, historical velocity as a guide, a clear sprint goal, and room for unplanned work.

  • The team carries over stories every sprint. What do you do?

    What good looks like

    Look at story size, work in progress, interruptions and dependencies, agree retro actions with owners, and track flow metrics such as cycle time.

  • Scrum or Kanban: when would you use each?

    What good looks like

    Scrum for planned increments with a stable team; Kanban for continuous, interrupt-driven work such as support. Mention WIP limits.

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.

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

  • 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

This role asks for Distributed systems, so expect an architecture round. State requirements and numbers first, then 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.

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

  • Design the REST API for a multi-tenant SaaS product.

    What good looks like

    Resource modelling, versioning, pagination, authentication and tenant isolation, idempotent writes, and a consistent error contract.

09Every loop0/4

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.

  • Tell me about a time you worked with unclear or changing requirements.

    What good looks like

    Show how you reduced ambiguity: clarifying questions, writing down assumptions, small experiments and getting explicit sign-off.

  • Give an example of when you went beyond your role to fix a problem for your team or a customer.

    What good looks like

    Pick something with real impact, explain why it mattered, and how you involved the owner rather than quietly working around them.

  • 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 a project you owned was at risk of missing its date.

    What good looks like

    Show early detection, honest escalation and the scope, sequencing or resourcing levers you pulled. Avoid stories that end with "we all worked weekends".

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 Distributed systems and CI/CD 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: Software Engineer II at Microsoft | LYDJ