Interview practice plan

M

Software Engineer II

Microsoft · Hyderabad

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

Product managementObservability.NETSQLPythonAzureShell scriptingNode.jsReactLLMsData modelingC#JavaScriptTypeScriptDynamics 365

Also named in the description, not covered below: Observability, LLMs, Data modeling, TypeScript, Dynamics 365. 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

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.

  • Write the one-page brief for a feature that lets candidates track their job applications. What goes in it?

    What good looks like

    Problem and evidence, target users, goals and non-goals, success metrics, key user flows, risks and open questions.

02Required skill0/3

SQL

This role asks for SQL.

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

  • What is an index, how does a B-tree index speed up a query, and when does adding an index hurt?

    What good looks like

    Sorted structure enabling seeks instead of scans; costs on writes and storage; low-selectivity columns and functions on columns can stop it being used.

  • Compute a 7-day rolling average of daily revenue, including days with no sales.

    What good looks like

    Build a calendar of dates, LEFT JOIN the sales, fill missing days with zero, then AVG over ROWS BETWEEN 6 PRECEDING AND CURRENT ROW.

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.

  • Explain decorators. Write one that retries a function with exponential backoff.

    What good looks like

    A function that wraps another, functools.wraps to keep metadata, configurable retries and delays, and only retrying exceptions that are actually transient.

  • 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

Azure

This role asks for Azure.

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

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

05Required skill0/3

JavaScript

This role asks for Node.js and JavaScript. These JavaScript questions cover the ground they share.

  • Explain the event loop. In what order do setTimeout, a resolved Promise and code after await run?

    What good looks like

    Call stack, microtask queue (promises) drained before the next macrotask (timers), and how await splits a function into a microtask continuation.

  • Implement debounce, and explain when you would use debounce versus throttle.

    What good looks like

    Debounce waits for a pause (search input), throttle limits the rate (scroll handlers). Handle this, arguments and clearing the timer.

  • How do you handle errors in async code? What happens to an unhandled promise rejection?

    What good looks like

    try/catch around await, .catch on chains, Promise.allSettled when partial failure is fine, and a global handler for logging unhandled rejections.

06Required skill0/3

React

This role asks for React.

  • How does React decide when to re-render a component, and how do you prevent unnecessary re-renders?

    What good looks like

    State or prop changes and parent re-renders; fix with better state placement first, then memo, useMemo and useCallback where profiling shows a real cost.

  • What are the rules of hooks, and why do they exist?

    What good looks like

    Call hooks at the top level and only from components or custom hooks, because React tracks hook state by call order between renders.

  • How do you make a React page accessible?

    What good looks like

    Semantic HTML, labelled controls, focus management for dialogs, full keyboard support, ARIA only when native elements cannot do it, and testing with a screen reader.

07Fundamentals0/3

Core programming

This role asks for .NET, Shell scripting 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.

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

    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.

08Every 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 had to learn something new quickly to deliver on a deadline.

    What good looks like

    Name the specific gap, show how you learned (sources, people, practice) and quantify what you shipped. Interviewers want a repeatable learning method, not heroics.

  • Walk me through a project you are proud of and your specific role in it.

    What good looks like

    Separate "we" from "I". Cover the problem, the decisions you personally made, the trade-offs, and a measurable result.

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

  • What is a goal you set for yourself in the last year, and how did you track it?

    What good looks like

    Pick a measurable goal, describe the system you used to track it, and be honest about where you fell short.

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 Product management and Observability 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/8 done

Saved in this browser only.

Interview prep: Software Engineer II at Microsoft | LYDJ