Role - Java Backend developer
Experience - 3 years 9 months
Location - Remote
Round 1 - AI Interview
- How is dependency injection achieved and what are its advantages?
- Difference between abstract class and interface. In what case will you use interface?
- How does Java achieve garbage collection and what will happen if it is not done?
- How do you manage exceptions in spring boot APIs?
- How will you make your system resilient and fault tolerant?
- Difference between component service and repository
- What is the advantage of spring boot over traditional spring framework?
- Discuss the database schema for an e-commerce system. How will you maintain data consistency and integrity in your design?
- Difference between left join and inner join with example
- How will you optimize a slow running MySQL query?
- How to deploy microservices on AWS and how will you make it secured?
- What is the advantage of microservices over monolith and when should monolith be preferred?
- How do you manage communication between microservices? How will you monitor and trace requests across multiple microservices?
- What is list comprehension in python?
- Discuss an instance where Python can be preferred over Java for backend development.
- How does Python handle garbage collection?
- Difference between .json() and .loads()
Round 2 -
- Project discussion and follow-up questions
- Explain inner and left join
- Write the output of a given SQL query based on joins
- Write a query to list the rows present in 1st table but not in 2nd table without using any nested query
- Discuss about the annotations - Component, Service, Repository
- Which design patterns have you used in your projects
- What is Executor Service?
- Explain the internal working of HashMap
- How will you debug and optimize a slow running query
- Why doesn't java have multiple inheritance.
Verdict - Negative (as I could write SQL query in a nested manner only)
Overall - Rejected as each round was eliminatory