Spring Boot Fundamentals

Test your understanding of Spring Boot core concepts and auto-configuration.

1. Which annotation is used to mark the main class of a Spring Boot application?
2. Which of the following are core features of Spring Boot?
3. Spring Boot requires explicit XML configuration for most applications.
4. What is the default embedded server used by Spring Boot for web applications? (one word)
5. Which file is the default for external configuration in a Spring Boot application?
6. Which of these are valid Spring Boot starter dependencies?
7. @RestController is a combination of @Controller and @ResponseBody.
8. What does Spring Boot Actuator primarily provide to monitor and manage applications? (one word, plural)
9. What is the default server port for a Spring Boot web application?
10. Which annotations are used for dependency injection in Spring Boot?
11. Spring Boot DevTools provides automatic application restart when files are modified during development.
12. What configuration file format uses indentation and colons instead of key=value pairs? (file extension)
13. What does @SpringBootApplication combine?
14. What are benefits of using Spring Boot starters?
15. Spring Boot applications must be deployed to an external application server (e.g., Tomcat) to run.
16. What annotation binds external configuration properties to a Java class? (starts with @Configuration)
17. Which dependency is required to add Spring Boot Actuator to a project?
18. Which embedded servers are supported by Spring Boot?
19. @Value annotation can inject values from application.properties into a bean.
20. Which class is used to bootstrap a Spring Boot application in the main method? (e.g., SpringApplication.run(...))
Answered 0 of 0 — 0 correct