Quick check · free · no sign-up

Java Backend Developer: 5 questions to test yourself

Pick one answer for each question, then see your score and why each answer is right. It takes about two minutes.

What is JPA?
What is the main difference between @Service and @Component in Spring?
Which HTTP status should an API return when the requested resource doesn't exist?
What is the N+1 query problem in an ORM?
By default, for which exceptions does Spring's @Transactional roll back?

Free · No sign-up · Nothing is saved · Updated 16 Nov 2026