Practice: Java Backend Interview Drill
55 min · Advanced
This drill mixes the whole module the way a backend technical round does: rapid-fire questions on REST, Spring, JPA, SQL, JDBC, security and testing, three SQL queries to write, three buggy snippets to fix, and one request to walk through aloud. Answer each one out loud first, then check.
Topics in this lesson
- Round 1: rapid-fire backend questions
- Round 2: three SQL queries on the ShopLite schema
- Round 3: spot the problem: N+1, field injection, SQL concatenation
- Round 4: walk a request from controller to database aloud
Interview questions this lesson answers
- What is REST, in one line?
- PUT or PATCH to change only a student's phone number?
- Which status code for creating a resource, and what goes with it?
- When do you return 409?
@PathVariablevs@RequestParam?- What is dependency injection?
- What is the difference between
@Component,@Serviceand@Repository? @Beanvs@Component?- How does Spring Boot auto-configuration work?
- What does
@SpringBootApplicationcontain?
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.