Bird
0
0

You want to configure a Spring Boot app to use a custom banner text from application.properties. Which property should you set?

hard📝 Application Q8 of 15
Spring Boot - Fundamentals
You want to configure a Spring Boot app to use a custom banner text from application.properties. Which property should you set?
Aspring.banner.location
Bspring.banner.text
Cspring.banner.file
Dspring.banner.enabled
Step-by-Step Solution
Solution:
  1. Step 1: Recall banner configuration properties

    Spring Boot uses spring.banner.location to specify banner file location.
  2. Step 2: Check other options

    Other options do not exist or control enabling, not text location.
  3. Final Answer:

    Use spring.banner.location to set custom banner file -> Option A
  4. Quick Check:

    Banner file location = spring.banner.location [OK]
Quick Trick: Use spring.banner.location for custom banner file [OK]
Common Mistakes:
  • Using non-existent spring.banner.text
  • Confusing enabling flag with location
  • Trying to set banner text directly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Spring Boot Quizzes