Exam 2v0-7222 All QuestionsBrowse all questions from this exam
Question 22

Spring Boot will find and load property files in which of the following? (Choose the best answer.)

    Correct Answer: C

    In Spring Boot, the convention is to use 'application.properties' or 'application.yml' files for configuration. These files are usually located in the classpath root. These property files are automatically loaded by Spring Boot and are widely used for providing various settings such as database configurations, server properties, and other application-specific properties. Therefore, 'application.properties' or 'application.yml' is the correct answer.

Discussion
james2033Option: C

Configuration file is application.properties or application.yml . Definitely.