Core Spring Boot Test 1

    Question 1CORE SPRING BOOT - Application Properties Purpose

    What is the primary purpose of application.properties or application.yml in a Spring Boot application?

    Question 2CORE SPRING BOOT - Spring Boot Auto-Configuration Mechanism

    What is the primary mechanism that enables Spring Boot's "auto-configuration" feature?

    Question 3CORE SPRING BOOT - @SpringBootApplication Annotation

    The @SpringBootApplication annotation is a convenience annotation that combines which three annotations?

    Question 4CORE SPRING BOOT - @RestController Purpose

    What is the primary purpose of the `@RestController` annotation in Spring Boot?

    Question 5CORE SPRING BOOT - Dependency Injection Concept

    What is the main purpose of Dependency Injection (DI) in Spring Boot?

    Question 6CORE SPRING BOOT - Purpose of Profiles

    What is the main purpose of using profiles in Spring Boot?

    Question 7CORE SPRING BOOT - Actuator Purpose

    What is the primary purpose of Spring Boot Actuator?

    Question 8CORE SPRING BOOT - Purpose of @ControllerAdvice

    What is the main purpose of the @ControllerAdvice annotation in Spring Boot?

    Question 9CORE SPRING BOOT - Purpose of SLF4J

    What is the primary purpose of SLF4J in Spring Boot?

    Question 10CORE SPRING BOOT - Purpose of Embedded Servers

    What is the main advantage of using embedded servers in Spring Boot?

    Question 11CORE SPRING BOOT - YAML vs Properties

    Which of the following is a key difference between application.yml and application.properties?

    Question 12CORE SPRING BOOT - @Component Annotation

    What is the main purpose of the @Component annotation in Spring Boot?

    Question 13CORE SPRING BOOT - @GetMapping vs @RequestMapping

    Which statement is correct regarding `@GetMapping` and `@RequestMapping`?

    Question 14CORE SPRING BOOT - Constructor Injection

    Which of the following best describes constructor-based dependency injection?

    Question 15CORE SPRING BOOT - @Profile Annotation

    Which of the following best describes the @Profile annotation?

    Question 16CORE SPRING BOOT - Enabling Actuator Endpoints

    How do you enable Spring Boot Actuator endpoints?

    Question 17CORE SPRING BOOT - Purpose of @ExceptionHandler

    Which statement correctly describes @ExceptionHandler in Spring Boot?

    Question 18CORE SPRING BOOT - Logback Integration

    Which logging framework is used by default in Spring Boot?

    Question 19CORE SPRING BOOT - Default Embedded Server

    Which embedded server does Spring Boot use by default in a web application?