DEV Community

Kailash Nirmal
Kailash Nirmal

Posted on • Edited on

15

JP Morgan Interview Question & Answers | Java Developer 7+ Years Experience for Mumbai

Hello Developers, my name is Kailash. A few days ago, my old colleague and dear friend interviewed for JP Morgan in Mumbai. After the interview, he shared with me the questions he remembered. I would like to share those interview questions with you all. I have also covered them on my YouTube channel with answers, so if you want to see the answers, you can visit my YouTube channel. I will share the links at the end of the post. Please note that these are real interview questions that he faced. My intention is simply to help anyone who is seeking a job, and if my post can assist them, I will consider my job done. I believe in sharing knowledge. So, it goes like this:

  1. What is caching ? What is Distributed cache system design ?

  2. What are the difference Between Callable and Runnable in Java?

  3. How to create a Docker file of a Spring Boot project?

  4. Can you explain Spring Boot core concepts?

  5. Multithreading use cases ..how do we handle huge data and design related questions like how do you design an application

  6. Can you explain How HashMap and concurrentHashMap works?

  7. What exactly is containerization, and what are the steps involved in creating containers?

  8. Write code to invoke a rest service? Use RestTemplate

  9. What sets PCF apart from other cloud service providers, such as GCP, Azure, and AWS?

  10. How is the GIT and Jenkins configured, how does the build job execute when there is any git push.

  11. Print the count of employees with respective months. Given Employee table with ID and DOJmonth. Hint: User count and groupby

  12. How can the listener listen to Kafka queue. how does the topic work in Kafka.

  13. What is the difference between -X and -XX arguments ?

  14. Explain different areas of Java Heap.

  15. Can System.exit takes negative value?

  16. Write a program to Sort elements of a list in predefined order

  17. What is default thread pool used by CompletableFuture

  18. How to calculate the thread pool size based on the number of CPU cores.

  19. What is service discovery?

  20. What is blue green deployment strategy ?

  21. Design Round Question. How would you propose a solution of this problem?

Design Round: A parking lot with multiple entries and exit points. 2 constraints:
When the Vehicle enters, it should be directed to the closest empty slot.
When the Vehicle exits, it should be directed towards the closest exit points.

YouTube video URLs are available. If you are seeking answers to each question, please take a look

Part - 1 https://youtu.be/ClvRd8nfuTQ?si=BVQj-UTv4RFVEcrH
Part - 2 https://youtu.be/qLFG0BZc3BA?si=rSTRYf8jQxDArxc4

Thanks,
Kailash
(Java Charter)
Happy Learning :) and Happy Coding :)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (2)

Collapse
 
menshen profile image
macoli

why not show here

Collapse
 
kailashnirmal profile image
Kailash Nirmal

I'm sorry if I misunderstood your comment, but could you please clarify what you mean by 'why not show here'? I want to make sure I address your concern accurately

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more