nerdexam
Broadcom-VMware

2V0-72.22PSE · Question #59

How can the Health Indicator status severity order be changed?

The correct answer is D. Using the property management.health.status.order. Option D is correct because Spring Boot exposes the management.health.status.order property specifically to let you define the severity precedence of health statuses (e.g., DOWN,OUT_OF_SERVICE,UNKNOWN,UP). The HealthAggregator reads this ordered list to determine the overall…

Cloud Native

Question

How can the Health Indicator status severity order be changed?

Options

  • AUsing the @Primary annotation
  • BUsing the @Ordered annotation
  • CIt cannot be changed.
  • DUsing the property management.health.status.order

How the community answered

(41 responses)
  • A
    5% (2)
  • B
    2% (1)
  • C
    2% (1)
  • D
    90% (37)

Explanation

Option D is correct because Spring Boot exposes the management.health.status.order property specifically to let you define the severity precedence of health statuses (e.g., DOWN,OUT_OF_SERVICE,UNKNOWN,UP). The HealthAggregator reads this ordered list to determine the overall system health when multiple indicators report different statuses.

  • A (@Primary) is wrong because @Primary resolves bean ambiguity in the Spring context - it has no concept of health status ordering.
  • B (@Ordered) is wrong because @Ordered controls the execution order of beans in a chain, not the severity ranking of health statuses.
  • C (cannot be changed) is wrong because Spring Boot intentionally makes this configurable to support custom status types beyond the built-in defaults.

Memory tip: Think of it as a management concern - you manage the health status priority through management.health.status.order, just like other actuator behavior lives under the management.* namespace.

Topics

#Health Indicators#Actuator Configuration#Status Severity#Management Properties

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22PSE Practice