2V0-72-22 practice question 8 of 15
Which two statements are correct regarding the Health Indicator status? (Choose two.)
Full set: 79 questionsThe Spring Boot Actuator health endpoint aggregates status from multiple HealthIndicator components. The framework allows for full customization of the health system. Developers can define custom status types by creating beans of type Status and registering them. The default built-in statuses are DOWN, OUTOFSERVICE, UP, and UNKNOWN. While the question incorrectly swaps the default severity order of UP and UNKNOWN (the correct default is DOWN, OUTOFSERVICE, UP, UNKNOWN), it correctly lists the names of the built-in statuses, making it a better choice than the other incorrect options.
A. The final health status is derived from the first status in the severity-sorted list (the most severe), not the last.
B. The status with the highest severity (e.g., DOWN) is used as the top-level status, not the one with the least severity.
E. The severity order is configurable via the management.endpoint.health.status.order application property.
1. Spring Boot Reference Documentation, 3.2.5, "Actuator - Monitoring Health". Section 4.2. It details the auto-configured HealthIndicators.
2. Spring Boot Reference Documentation, 3.2.5, "Actuator - Custom HealthIndicators". Section 4.2.2. This section explains how to write custom health indicators and define custom statuses.
3. Spring Boot Reference Documentation, 3.2.5, Appendix A: Common application properties. The property management.endpoint.health.status.order is listed, confirming that the order can be changed.
Keep practicing
Take the free 2V0-72-22 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 2V0-72-22 practice questions
- Question 1Which two statements describe Spring JdbcTemplate? (Choose two.)
- Question 2Which two options will inject the value of the daily.limit system property? (Choose two.)
- Question 3Which two statements are true regarding Spring and Spring Boot Testing? (Choose two.)
- Question 4Which two statements are correct regarding Spring Boot auto-configuration customization? …
- Question 5Which two statements are true about @Controller annotated classes? (Choose two.)
- Question 6Which statement is true? (Choose the best
