Spring Boot Interview Material (Basics)
Q: What is Spring Boot?
A: Framework that simplifies Spring application development with auto-configuration and
embedded servers.
Q: Advantages of Spring Boot
A: Auto configuration, starter dependencies, embedded servers, production-ready features.
Q: What is @SpringBootApplication?
A: Combination of @Configuration, @EnableAutoConfiguration and @ComponentScan.
Q: What are Starter Dependencies?
A: Predefined dependency bundles such as spring-boot-starter-web.
Q: Difference between Spring and Spring Boot
A: Spring requires more configuration; Spring Boot reduces boilerplate.
Q: What is Dependency Injection?
A: Technique where Spring manages object creation and injection.
Q: What is Bean?
A: Object managed by the Spring container.
Q: What is [Link]?
A: Configuration file used to define application settings.
Q: What is REST API?
A: Architectural style for web services using HTTP methods.
Q: Common Annotations
A: @RestController, @Service, @Repository, @Autowired, @Component.