nerdexam
Broadcom-VMware

2V0-72.22PSE · Question #21

What two options are auto-configured Spring Boot Actuator HealthIndicators? (Choose two.)

The correct answer is A. DataSourceHealthIndicator D. RabbitHealthIndicator. Spring Boot Actuator ships with auto-configured HealthIndicator implementations for technologies that have first-class Spring Boot auto-configuration support. DataSourceHealthIndicator (A) activates automatically when a DataSource bean is present (i.e., any JDBC-backed…

Core Spring

Question

What two options are auto-configured Spring Boot Actuator HealthIndicators? (Choose two.)

Options

  • ADataSourceHealthIndicator
  • BGoogleCloudDataStoreHealthIndicator
  • CDynamoDBHealthIndicator
  • DRabbitHealthIndicator
  • EOktaHealthIndicator

How the community answered

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

Explanation

Spring Boot Actuator ships with auto-configured HealthIndicator implementations for technologies that have first-class Spring Boot auto-configuration support. DataSourceHealthIndicator (A) activates automatically when a DataSource bean is present (i.e., any JDBC-backed database), and RabbitHealthIndicator (D) activates when the Spring AMQP dependency is on the classpath - both are part of spring-boot-actuator-autoconfigure.

The distractors are wrong because they belong outside Spring Boot's core auto-configuration:

  • B (GoogleCloudDataStore) is provided by Spring Cloud GCP, a separate project.
  • C (DynamoDB) requires AWS-specific SDKs not bundled with Spring Boot Actuator.
  • E (Okta) is a third-party identity provider with no built-in Actuator integration.

Memory tip: If it's in spring-boot-actuator-autoconfigure (JDBC, Redis, RabbitMQ, MongoDB, Cassandra, Mail, etc.), it's auto-configured. If it needs a cloud-vendor or third-party library outside the Spring ecosystem core, it's not.

Topics

#Spring Boot Actuator#HealthIndicators#Auto-configuration#Monitoring

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22PSE Practice