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.
Senior Java Programmer Interview Questions
5,561 senior java programmer interview questions shared by candidates
Java programs and 1 sql query
HashMap internal working, microservices architecture
Coding exercise on string on coderpad
Attended 6 rounds. Java 8, Spring Boot, Microservices along with design patterns. These are the main area of focus in interviews. And mainly they will expect to write a program using java streams. So we should be good at Java 8 stream api's.
All core java to advanced java questions.
They give a leet code, and you give a proper answer with 100% complexity of that code. If you aren't able to do this, then you are rejected.
Java, spring boot, microservies , Scenario based questions and the interview lasted for 1 hour. There was a coding round too.
Leetcode medium questions.
Java design patterns
Viewing 5351 - 5360 interview questions