Spring Boot Fundamentals Quiz
Test your knowledge of Spring Boot basics including auto-configuration, dependency injection, REST APIs, and core concepts
This quiz covers fundamental Spring Boot concepts including dependency injection, auto-configuration, Spring MVC, REST APIs, application properties, and Spring Boot starters. Perfect for developers new to Spring Boot or those looking to solidify their understanding of core concepts.
Each question includes detailed explanations to help you understand Spring Boot better and build production-ready applications.
- 01
What is the main purpose of Spring Boot?
- 02
Which annotation is used to mark a class as a Spring Boot application?
- 03
What is the default port for a Spring Boot web application?
- 04
Which annotation is used to create a REST controller in Spring Boot?
- 05
What is the purpose of @Autowired annotation?
- 06
Which file is used for application configuration in Spring Boot?
- 07
What is a Spring Boot Starter?
- 08
Which annotation maps HTTP GET requests to a specific handler method?
- 09
What is the purpose of @Service annotation?
- 10
Which embedded server does Spring Boot use by default for web applications?
- 11
What is the purpose of @PathVariable annotation?
- 12
What is Spring Boot Actuator used for?
- 13
Which annotation is used to mark a class as a JPA entity?
- 14
What is the purpose of @RequestBody annotation?
- 15
What is the purpose of @ComponentScan annotation?