I applied for a position through Naukri and received an email for a virtual interview. The interview was scheduled almost one week after I submitted my application. The first round was a technical round, where my practical knowledge and skills were evaluated. After clearing that, I had the second round which was the managerial round, focused more on problem-solving approach, communication, and team fit.
Interview questions [1]
Question 1
What is the difference between @Component, @Service, and @Repository in Spring Boot?
Why do we need separate stereotypes if they all behave similarly for component scanning?
2. How does Spring handle dependency injection?
Explain constructor injection vs setter injection and which one is recommended and why.
3. What is the difference between EntityManager and Hibernate Session?
When would you use one over the other?
4. How does Spring Boot auto-configuration work?
Explain the role of spring.factories and @EnableAutoConfiguration.
5. Explain the lifecycle of a Spring Bean.
What are @PostConstruct and @PreDestroy, and when would you use them?
I applied through other source. I interviewed at Infosys (Bengaluru) in Mar 2025
Interview
My interview experience was both insightful and professionally rewarding. The process began with an initial screening focused on my technical background, particularly my expertise in Java, Spring Boot, and microservices. The interviewer asked scenario-based questions to evaluate my understanding of RESTful API design, database optimization, and exception handling in distributed systems. I was also asked to explain my experience with multithreading, concurrency, and performance tuning in real-world applications.
The next round focused on system design and architecture principles. I was asked to design a scalable backend service, explaining my approach to handling load balancing, caching, and fault tolerance. I emphasized how I have implemented Redis caching, asynchronous calls, and Docker-based deployments on AWS EC2 instances in my projects.
Behavioral questions explored my problem-solving mindset, teamwork, and how I adapt to agile environments. I shared examples from my work at Tata Consultancy Services, where I contributed to designing event-driven microservices for the Banking and Insurance domains.
The interview was a balanced mix of technical and behavioral questions, testing problem-solving, communication, and confidence. Panel was professional, supportive, and provided clear feedback, making the overall experience insightful and positive.