morgan stanley logo
Morgan Stanley· Backend Engineer

Morgan Stanley – Interview Experience (Backend Engineer | Java + Microservices)

Result
Ongoing
Experience
2.4 years
Posted
25 Nov 2025
498 reads

Summary

I recently interviewed for a Backend Engineer position at Morgan Stanley, focusing on Java and Microservices, leveraging my 2.4 years of experience. The process involved multiple technical rounds testing my DSA, System Design, and core Java knowledge, culminating in managerial and HR discussions.

How it went

Round 1 Online – Technical (Java + DSA + System Design Basics)

This round started with a deep dive into my resume, where we discussed my end-to-end projects in detail. Following that, I was asked questions on Data Structures and Algorithms, specifically regarding Anagrams and its variations.

The discussion then moved to Microservices concepts:

  • How to track a request across microservices, focusing on Distributed Tracing.
  • Questions about the build tools I have used in my projects.
  • The flow of a CI/CD Pipeline.
  • The responsibilities of an API Gateway in a microservices architecture.

Round 2 Offline – Technical + Low-Level Design + SQL

The second round, conducted offline, covered a broader range of topics:

  • Explanation of SOLID principles and their real-world mapping.
  • A comparison between Monolithic and Microservices architectures, including their pros, cons, and appropriate use cases.
  • Another DSA question, this time on spiral printing of a matrix.
  • Detailed questions about Kubernetes, specifically deployment steps, scaling strategies, and managing instances.
  • A Low-Level Design (LLD) problem where I had to write a complete service on paper, detailing the flow from Controller to Service, DAO, and Entity layers.
  • Two query-based SQL questions (details not specified).
  • Discussions around UI Architecture.
  • My latest project was also discussed, covering its architecture, my role, and the challenges I faced.

Round 3 – Advanced Java + Concurrency + Managerial

This round was split into technical and managerial sections.

Technical Questions:

  • A multithreading scenario: find the highest number in a random matrix using multiple threads.
  • Explanation of CAS (Compare-And-Swap) in Java.
  • Discussion on transaction management in Java.

Managerial Questions:

  • My reaction if I were asked to report to a junior colleague.
  • How I would react if I was not promoted.
  • My problem-solving approach: do I solve first and ask later, or understand from others and then solve?

SQL Conceptual:

  • Given table1 (10 rows) and table2 (20 rows), what would be the output count of SELECT * FROM table1, table2?
  • After deleting 10 rows from table1, what would be the expected output count from the same query?

HR Round – Discussion

The final round was a standard HR discussion covering:

  • My basic details, current role, and responsibilities.
  • My current residence and relocation preferences.
  • My current and expected CTC.
  • What I know about Morgan Stanley and their stock.
  • Why I want to join Morgan Stanley, requiring justification.
  • My willingness to move to Bangalore and the justification for it.

Questions asked (17)

  1. 01

    Anagrams and its Variations

    Data Structures & Algorithms · Medium

    Discuss problems related to identifying anagrams of strings and their various common problem variations.

  2. 02

    Distributed Tracing in Microservices

    System Design

    Explain how to track a request as it flows across multiple microservices in a distributed system, specifically discussing concepts like Distributed Tracing.

  3. 03

    Build Tools Discussion

    Other

    Discuss common build tools used in project development.

  4. 04

    CI/CD Pipeline Flow

    Other

    Describe the end-to-end flow of a Continuous Integration/Continuous Delivery (CI/CD) pipeline.

  5. 05

    API Gateway Responsibilities

    System Design

    Explain the key responsibilities and functions of an API Gateway in a microservices architecture.

  6. 06

    SOLID Principles and Real-World Applications

    Other

    Explain the SOLID principles of object-oriented design and provide examples of their real-world application.

  7. 07

    Monolithic vs. Microservices Architecture

    System Design

    Compare and contrast Monolithic and Microservices architectures, discussing their pros, cons, and appropriate use cases.

  8. 08

    Spiral Matrix Traversal

    Data Structures & Algorithms · Medium

    Given a matrix, print its elements in spiral order.

  9. 09

    Kubernetes Deployment and Scaling

    System Design

    Discuss the steps involved in deploying applications using Kubernetes, including concepts of scaling and managing instances.

  10. 10

    Low-Level Design of a Service

    System Design

    Design a complete service on paper, outlining its architecture from Controller to Service layer, Data Access Object (DAO), and Entity mapping.

  11. 11

    Find Max in Matrix using Threads

    Data Structures & Algorithms · Hard

    Design a multithreaded solution to find the highest number in a randomly generated matrix.

  12. 12

    Compare-And-Swap (CAS) in Java

    Other

    Explain the Compare-And-Swap (CAS) operation in Java, including its usage and benefits in concurrent programming.

  13. 13

    Transaction Management in Java

    Other

    Discuss transaction management concepts and implementations in Java applications.

  14. 14

    Reporting to a Junior Colleague

    Behavioral

    How would you react if you were asked to report to a colleague who is junior to you in terms of experience or tenure?

  15. 15

    Reaction to Not Being Promoted

    Behavioral

    How would you react if you were not promoted, especially if you felt you deserved it?

  16. 16

    Problem-Solving Approach

    Behavioral

    Describe your preferred problem-solving approach: do you attempt to solve problems independently first, or do you seek understanding and input from others before proceeding?

  17. 17

    SQL Cartesian Product and Row Count

    Other · Easy

    Given two tables, table1 with 10 rows and table2 with 20 rows, what is the expected output count of SELECT * FROM table1, table2? Also, what would be the expected output count after deleting 10 rows from table1?

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Morgan Stanley recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!