Spring Boot Practice Test

Spring Boot Externalized Configuration and Profiles Questions and Answers

Free · Instant Results

A Spring Boot application defines the property `server.port=8080` in its `application.properties` file. An OS environment variable is set as `SERVER_PORT=7070`. The application is then launched with the command: `java -jar app.jar --server.port=9090`. On which port will the application start?
▶ Start Practice Test