Interview practice plan

MS

Java Lead_Vice President _Software Engineer

Morgan Stanley · Bengaluru

EngineeringLead / Manager28 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.

JavaSpring BootMicroservicesREST APIsKafkaSQLDistributed systemsCI/CDObservabilityLLMsAzureGitPythonETLLangChainReact

Also named in the description, not covered below: Observability, Python, ETL, React. 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

Java

This role asks for Java and Spring Boot. These Java questions cover the ground they share.

  • How does Spring Boot auto-configuration decide which beans to create, and how do you override it?

    What good looks like

    Conditional annotations on classpath, properties and missing beans; override by defining your own bean, properties or exclusions, and debug with the conditions report.

  • Explain @Transactional: propagation, self-invocation and which exceptions trigger a rollback.

    What good looks like

    It is proxy-based, so calls within the same class bypass it; by default only unchecked exceptions roll back; know REQUIRED versus REQUIRES_NEW.

  • How would you make a Spring Boot service production-ready?

    What good looks like

    Health and readiness endpoints, externalised config and secrets, structured logs, metrics and tracing, connection pool sizing and graceful shutdown.

02Required skill0/3

Kafka

This role asks for Kafka.

  • Explain at-most-once, at-least-once and exactly-once delivery. How would you get effectively-once processing?

    What good looks like

    Idempotent producers and transactions, committing offsets after processing, and idempotent consumers keyed on a business id.

  • A consumer group is lagging badly. How do you diagnose and fix it?

    What good looks like

    Check lag per partition, slow processing versus too few partitions or consumers, rebalancing storms, and batching or scaling out.

  • How would you choose the number of partitions for a new topic?

    What good looks like

    Target throughput per partition, consumer parallelism, key distribution, and the cost of too many partitions; increasing later changes key-to-partition mapping.

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

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

04Required skill0/3

CI/CD & IaC

This role asks for CI/CD and Git. 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.

05Required skill0/3

LLMs & GenAI

This role asks for LLMs, LangChain and RAG. These LLMs & GenAI questions cover the ground they share.

  • Explain retrieval-augmented generation. When does it beat fine-tuning?

    What good looks like

    RAG grounds answers in fresh, citable documents without retraining; fine-tuning changes style or format behaviour. Many systems use both.

  • What are the main cost and latency levers for an LLM application in production?

    What good looks like

    Model choice and routing, prompt caching, trimming context, batching, streaming responses, and caching repeated answers.

  • What security risks are specific to LLM applications, and how do you mitigate prompt injection?

    What good looks like

    Treat retrieved content as untrusted data, give tools least privilege, validate outputs, require human confirmation for side effects, and log for review.

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

07Design round0/3

System design

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

  • How would you break a monolith into microservices? Where would you start?

    What good looks like

    Start from domain boundaries and the parts that change most, use a strangler approach, plan for shared data and distributed transactions, and invest in observability first.

  • 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 lead and manager roles, the focus is on people decisions, prioritisation and leading through change. Use the STAR structure.

  • Describe a piece of feedback that changed how you work.

    What good looks like

    State the feedback, your honest first reaction and the concrete behaviour you changed. Close with evidence that the change stuck.

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

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

09Leadership0/3

Leadership

The title marks this as a senior leadership role. Expect questions on hiring, developing people and setting priorities.

  • How do you balance delivery pressure against technical debt or quality?

    What good looks like

    Give a concrete mechanism (a capacity budget, a debt register, quality gates) and an example where you made the trade-off explicit to stakeholders.

  • How would you approach your first 90 days in this role?

    What good looks like

    Listen and map stakeholders first, find one or two early wins, then set direction with the team. Promising a big re-org on day one is a red flag.

  • How do you give difficult feedback to a very experienced peer or senior colleague?

    What good looks like

    Keep it private, specific and about behaviour and impact. Show that you also invited their side and agreed on a next step.

Company research brief: Morgan Stanley

From the roles we track on LYDJ, refreshed daily from the official careers page.

70

open roles

20

added in 30 days

9

in Engineering

Banking & Financial ServicesGCC

Hiring most for

  • Other35
  • Engineering9
  • Operations7
  • Finance & Legal7

Cities

Mumbai · 51Bengaluru · 19
See all 70 roles at Morgan Stanley →

Read before the interview

Questions to ask them

  • ›There are several open Engineering roles at Morgan Stanley right now. How is the team growing, and where does this role fit?
  • ›The company hires in Mumbai, Bengaluru. How do teams across locations work together day to day?
  • ›How does the team use Java and Spring Boot 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: Java Lead_Vice President _Software Engineer at Morgan Stanley | LYDJ