Bird
0
0

Which Spring Boot property is used to enable security for actuator endpoints?

easy📝 Conceptual Q1 of 15
Spring Boot - Actuator
Which Spring Boot property is used to enable security for actuator endpoints?
Amanagement.endpoints.web.exposure.include
Bmanagement.endpoints.web.base-path
Cmanagement.endpoint.health.enabled
Dmanagement.endpoints.web.security.enabled
Step-by-Step Solution
Solution:
  1. Step 1: Understand actuator security properties

    Spring Boot uses management.endpoints.web.security.enabled to enable security on actuator endpoints.
  2. Step 2: Differentiate from exposure and base-path properties

    Other properties control which endpoints are exposed or their URL base path, not security.
  3. Final Answer:

    management.endpoints.web.security.enabled -> Option D
  4. Quick Check:

    Security property = management.endpoints.web.security.enabled [OK]
Quick Trick: Security for actuator endpoints uses management.endpoints.web.security.enabled [OK]
Common Mistakes:
  • Confusing exposure property with security property
  • Using base-path property to control security
  • Assuming health.enabled controls security

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Spring Boot Quizzes