Bird
0
0

Given the following configuration:

medium📝 component behavior Q13 of 15
Spring Boot - Actuator
Given the following configuration:
management.endpoints.web.exposure.include=health,info

Which endpoints will be accessible via HTTP?
AOnly /health and /info endpoints
BAll Actuator endpoints
CNo endpoints are accessible
DOnly /metrics endpoint
Step-by-Step Solution
Solution:
  1. Step 1: Read the exposure.include property

    The property lists health and info, so only these endpoints are exposed.
  2. Step 2: Understand what exposure.include controls

    It controls which endpoints are accessible via HTTP; others remain hidden.
  3. Final Answer:

    Only /health and /info endpoints -> Option A
  4. Quick Check:

    Exposure include = health,info means only those endpoints [OK]
Quick Trick: Check exposure.include list to know accessible endpoints [OK]
Common Mistakes:
  • Assuming all endpoints are exposed by default
  • Confusing exposure.include with enabling endpoints
  • Thinking metrics endpoint is included without listing it

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Spring Boot Quizzes