Bird
0
0

Why does Spring Boot Actuator disable some endpoints by default, such as /shutdown?

hard📝 Conceptual Q10 of 15
Spring Boot - Actuator
Why does Spring Boot Actuator disable some endpoints by default, such as /shutdown?
ATo prevent accidental or unauthorized application shutdowns
BBecause those endpoints are deprecated and no longer supported
CTo reduce application startup time
DBecause they require additional dependencies not included by default
Step-by-Step Solution
Solution:
  1. Step 1: Understand security concerns with sensitive endpoints

    Endpoints like /shutdown can stop the app, so they are disabled by default to avoid accidental or unauthorized use.
  2. Step 2: Eliminate other reasons

    They are not deprecated, do not affect startup time significantly, and do not require extra dependencies by default.
  3. Final Answer:

    To prevent accidental or unauthorized application shutdowns -> Option A
  4. Quick Check:

    Security reasons disable sensitive endpoints by default [OK]
Quick Trick: Sensitive endpoints disabled by default for safety [OK]
Common Mistakes:
  • Thinking endpoints are deprecated
  • Assuming startup speed reasons
  • Believing extra dependencies cause disablement

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Spring Boot Quizzes