Spring Boot Quiz (Set 15)

Spring Boot (Set 5)

1 / 10

In Spring Security, what is the purpose of a UserDetails object?

2 / 10

What does the Spring Boot Starter Parent provide to your project?

3 / 10

Which annotation is used to define a bean in Spring?

4 / 10

What is the purpose of the Spring Boot CommandLineRunner?

5 / 10

Which annotation is used to define a component as a candidate for autowiring?

6 / 10

In Spring Boot, what is the purpose of the 'application.properties' (or 'application.yml') file?

7 / 10

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

8 / 10

What is the primary purpose of Spring Boot Actuator?

9 / 10

In Spring Boot, how can you specify the port on which the embedded web server listens?

10 / 10

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

Your score is

The average score is 0%

0%