Spring Boot Application Properties & YAML Configuration

    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 - YAML vs Properties

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

    Question 3CORE SPRING BOOT - Default Configuration File

    What is the default location of application.properties or application.yml in a Spring Boot project?

    Question 4CORE SPRING BOOT - Profile-Specific Configuration

    How can you define configuration specific to a Spring profile in properties or YAML?

    Question 5CORE SPRING BOOT - Binding Properties to POJO

    Which annotation allows binding properties from application.properties or application.yml to a Java POJO?

    Question 6CORE SPRING BOOT - Using @Value Annotation

    What is the purpose of the @Value annotation in Spring Boot configuration?

    Question 7CORE SPRING BOOT - Nested YAML Configuration

    How do you define nested properties in a YAML configuration file?

    Question 8CORE SPRING BOOT - Environment Variables Override

    In Spring Boot, which of the following has the highest precedence when determining a configuration value?

    Question 9CORE SPRING BOOT - Multi-Document YAML

    How can you define multiple Spring profiles in a single YAML file?

    Question 10CORE SPRING BOOT - External Configuration Locations

    How can Spring Boot load configuration files from external locations outside the JAR?