Interview practice plan
Lead Software Engineer : Vice President
Morgan Stanley · Mumbai
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.
Sign in to see your gap areas first. We compare this role with the skills on your profile.
0 of 22 questions practised
Answer each one out loud, then tick it. Progress is saved in this browser only.
Java
This role asks for Java and Spring Boot. These Java questions cover the ground they share.
How does garbage collection work in the JVM, and how would you tune it for a low-latency service?
What good looks likeHide hint
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 likeHide hint
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 likeHide hint
Heap dump on OOM, analyse retained sizes and dominators, check caches and unbounded collections, and correlate with traffic or batch jobs.
Agile
This role asks for Agile.
The team carries over stories every sprint. What do you do?
What good looks likeHide hint
Look at story size, work in progress, interruptions and dependencies, agree retro actions with owners, and track flow metrics such as cycle time.
How do you make retrospectives actually lead to change?
What good looks likeHide hint
Vary the format, focus on one or two actions with owners and dates, review last retro's actions first, and make it safe to speak honestly.
How do you coordinate several agile teams working on one product?
What good looks likeHide hint
A shared roadmap and dependency view, joint planning on a regular cadence, clear ownership boundaries, and lightweight rituals rather than heavy process.
SQL
This role asks for SQL.
Find users who were active on at least three consecutive days.
What good looks likeHide hint
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 likeHide hint
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 likeHide hint
Dirty reads, non-repeatable reads and phantoms across read committed, repeatable read and serializable, and how MVCC databases implement them.
TypeScript
This role asks for Angular. These TypeScript questions cover the ground it builds on.
What are discriminated unions, and how do they help with exhaustive checks?
What good looks likeHide hint
A shared literal field narrows the type in a switch; assigning the default case to never makes the compiler flag any unhandled variant.
When is using any or a type assertion acceptable, and how do you keep a large codebase strictly typed?
What good looks likeHide hint
Prefer unknown plus narrowing, enable strict mode, validate external data at the boundary, and tighten gradually with lint rules.
How would you keep frontend API types in sync with the backend?
What good looks likeHide hint
Generate types from an OpenAPI or GraphQL schema, share a contracts package, and validate responses at runtime where data crosses a trust boundary.
System design
This role asks for Microservices, 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 likeHide hint
Cover ingestion, matching at scale (inverted index versus per-user scans), batching and de-duplication, unsubscribe and rate limits, and failure handling.
Design the home feed for a professional networking app.
What good looks likeHide hint
Discuss fan-out on write versus read, very large accounts, ranking, pagination and cache invalidation, and state your trade-offs explicitly.
How would you break a monolith into microservices? Where would you start?
What good looks likeHide hint
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.
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 likeHide hint
State the feedback, your honest first reaction and the concrete behaviour you changed. Close with evidence that the change stuck.
Tell me about a mistake you made at work and what happened next.
What good looks likeHide hint
Own it without blaming others, explain how you contained the impact, and what you changed so it would not happen again.
Why do you want this role, and why now?
What good looks likeHide hint
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.
Describe a time you had to deliver bad news to a stakeholder.
What good looks likeHide hint
Show that you told them early, came with options and a recommendation rather than just the problem, and kept their trust.
Leadership
The title marks this as a senior leadership role. Expect questions on hiring, developing people and setting priorities.
How do you decide what your team should not work on?
What good looks likeHide hint
Show a prioritisation framework tied to business goals, and how you say no to stakeholders while keeping the relationship intact.
Tell me about a time you resolved a conflict between two people on your team.
What good looks likeHide hint
Show you addressed it early and privately, focused on behaviours and shared goals rather than personalities, and followed up afterwards.
Tell me about a time you led a team through a significant change, such as a re-org or new way of working.
What good looks likeHide hint
Explain the why you communicated, how you handled resistance, and how you measured whether the change actually worked.
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
Hiring most for
- Other35
- Engineering9
- Operations7
- Finance & Legal7
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 Agile 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 doneSaved in this browser only.