Skip to content
Sharp

Spring Core · interview question

Why do application properties and profiles matter in a production Spring Boot app?

Multiple choiceMediumchapter-9-curatedpremiumspring-coreapplication-properties
Choose one answer
Answer and explanation

Correct answer

D. They let the same code run across dev, test, and prod with environment-specific settings

Why

Profiles and externalized properties keep credentials, logging levels, and infrastructure settings out of source code. That is how one application can move safely between local development and production.

Test yourself on Spring Core

A free test with instant, explained results. No account needed.

Start free test
All Spring Core questions →