Mock Round: Java Backend Role
60 min · Advanced
A Java backend round often runs about an hour and moves from your project into Spring, JPA, REST and SQL, then asks you to review code and solve one problem. This mock gives you the script, the follow-up chains interviewers use to go deeper, a code-review snippet, a coding problem and a rubric to score yourself.
Topics in this lesson
- The 60-minute script and its rubric
- Follow-up chains: how interviewers go deeper
- Code-review snippet
- The coding problem: top products by revenue
- Optional design question: a URL shortener in five minutes
Interview questions this lesson answers
- Walk me through your project's architecture.
- What is Spring Boot, and how is it different from Spring?
- What is dependency injection?
- Two beans implement the same interface. What happens when you inject it?
- What are bean scopes?
- What does @SpringBootApplication include?
- What is the difference between @Component, @Service, @Repository and @Controller?
- What does @Transactional do?
- Why might @Transactional not work?
- What is the difference between lazy and eager loading in JPA?
Sign in free to continue this lesson
Create a free account to read every lesson, practise with the exercises and keep track of your progress.