In Spring Boot, the properties defined in the _____ file are used to configure the application.
- application.properties
- application.yml
- config.yml
- main.properties
In Spring Boot, the properties defined in the application.yml file are used to configure the application. While you can also use application.properties, YAML configuration files are a popular choice due to their readability and ease of use for defining properties.
Loading...
Related Quiz
- In Spring Boot, the _____ annotation is used to indicate that a method's return value should be stored in the cache.
- Can Bean Validation be applied to method parameters in Spring Boot, and if so, how?
- How does Spring Security handle password encoding by default?
- To simulate HTTP requests and responses in integration tests, Spring Boot provides the _____ class, allowing for testing of controller methods without starting the server.
- You are assigned to implement a high-throughput, low-latency service using Spring Boot. How would you leverage WebFlux and Reactive Streams to achieve these requirements?