1.Merge two sorted array into one 2. Remove object from array list based on some conditions 3. Find max2 from unsorted arrays. It took around 1hr30 mins, interviewer helped
Java Senior Interview Questions
6,029 java senior interview questions shared by candidates
Core Java concepts, Spring boot concepts DSA questions and core Java output related questions Project discussion and some basic concepts on microservices
what is generic in java, what is streams?
Why java does not support multiple inheritance? what is the root cause?
What is eureka in microservices and where it is used?
all java basic and spring boot an d hibernate
SQL question to display product_categories and quantities sold
Tell me about yourself. Past projects
1. Project Discussion: I was asked to explain the current architecture of my project. I spoke about our microservices-based payment platform using Spring Boot, Kafka, Redis, and PostgreSQL. 2. Deep Dive into Challenges: They asked about the most challenging issue I faced. I shared how we handled message duplication and retries when Kafka consumers failed and how we used Redis for idempotency. 3. Core Spring Concepts: Questions included: Scopes of Spring beans, Use of Prototype scope and related implementation, Common mistakes with Singleton beans, How to exclude packages from component scanning 4. Transaction Management: They asked about @Transactional and how Spring manages transactions under the hood. 5. JPA & Hibernate: Topics included: Features of JPA, Optimizing queries to prevent repetitive DB hits 6. Kafka Scenario-Based: A practical scenario: what to do when a Kafka producer fails. I explained storing failed messages, retry strategies, DB optimizations, and caching using Redis.
Design and architecture experience , cloud native experience
Viewing 5711 - 5720 interview questions