I remember some of the questions only might be it will help you. so basically they have divided the interview into 3 rounds as usual.
1- The first round mainly focuses on core Java but most questions were asked on java-8.
(a- What are the functionalities introduced in Java 8.
b- changes in the existing system also like memory changes
internal implementation changes in hashmap, what is the significance of those changes,
changes in interfaces, and diamond problems related to interfaces.
e-how lambda expressions and functional interfaces related to each other.
f- can we extend the interface on functional interfaces
e- some coding problem based on stream API of java 8)
g- Optional class usage and advantages
and in the last few minutes asked questions on solid principle and Java design patterns, especially those which I have implemented on my previous projects, and how to put custom checks on hashmap internal methods.
so these are the questions they asked me in my first round?(Edited)
so after 1week, they scheduled the second round in which most of the questions were asked on spring boot and cloud things and microservice design patterns.
1- the difference between monolithic and micro-service
2- the difference between beans and component annotation
3-what is an idempotent in rest api.
4- they will ask you to create one micro-service and all packages like controller, dao, entity, and repository on some scenario and put all the annotations corresponding to it.
5- what is the use case of using CDN system design?
6- Scaling-related question which would you prefer horizontal or vertical how do you decide which should be used?
and again after 1 or 2 weeks, they will schedule a managerial interview
in which they can ask anything.
like situational-based questions and technical questions from anywhere from Java, spring, cloud, etc
So here are the things which I remember. Maybe it will help you.