Question 1: CORE SPRING BOOT - Application Properties Purpose
What is the primary purpose of application.properties or application.yml in a Spring Boot application?
Question 2: CORE SPRING BOOT - YAML vs Properties
Which of the following is a key difference between application.yml and application.properties?
Question 3: CORE SPRING BOOT - Default Configuration File
What is the default location of application.properties or application.yml in a Spring Boot project?
Question 4: CORE SPRING BOOT - Profile-Specific Configuration
How can you define configuration specific to a Spring profile in properties or YAML?
Question 5: CORE SPRING BOOT - Binding Properties to POJO
Which annotation allows binding properties from application.properties or application.yml to a Java POJO?
Question 6: CORE SPRING BOOT - Using @Value Annotation
What is the purpose of the @Value annotation in Spring Boot configuration?
Question 7: CORE SPRING BOOT - Nested YAML Configuration
How do you define nested properties in a YAML configuration file?
Question 8: CORE SPRING BOOT - Environment Variables Override
In Spring Boot, which of the following has the highest precedence when determining a configuration value?
Question 9: CORE SPRING BOOT - Multi-Document YAML
How can you define multiple Spring profiles in a single YAML file?
Question 10: CORE SPRING BOOT - External Configuration Locations
How can Spring Boot load configuration files from external locations outside the JAR?