Which file format is generally used in Spring Boot for configuring application properties?
- JSON
- Properties
- XML
- YAML
In Spring Boot, YAML (YAML Ain't Markup Language) is the commonly used format for configuring application properties. YAML offers a more human-readable and concise way to define properties compared to XML or JSON. While XML and JSON are supported in some cases, YAML is the preferred choice for Spring Boot.
Loading...
Related Quiz
- In Spring Security, to apply method security, one needs to enable it using the _____ annotation on a configuration class.
- How can you ensure that the ApplicationContext is not loaded while performing unit testing on web layers in Spring Boot?
- How can you configure different token lifetimes for different OAuth2 clients in a Spring Boot application?
- In Spring Security, how can you implement method-level security annotations?
- You are developing a Spring Boot application which has conflicting auto-configuration classes. How would you analyze and resolve these conflicts to ensure the correct configurations are applied?