Spring Boot Quiz (Set 18)

Spring Boot (Set 8)

1 / 10

What is the purpose of the '@Component' annotation in Spring?

2 / 10

In Spring Boot, what is the primary role of the 'starter' dependencies?

3 / 10

What is the purpose of the '@Transactional' annotation in Spring?

4 / 10

In Spring Boot, what is the default embedded database?

5 / 10

What is the purpose of the '@Scheduled' annotation in Spring?

6 / 10

What is the purpose of the '@RestController' annotation in Spring MVC?

7 / 10

Which annotation is used to define a JPA entity class?

8 / 10

What is the primary purpose of Spring Data JPA?

9 / 10

In Spring Boot, how can you exclude specific auto-configuration classes?

10 / 10

What is the purpose of the '@RequestBody' annotation in Spring MVC?

Your score is

The average score is 0%

0%