Spring Boot - ActuatorWhich interface must you implement to create a custom health check in Spring Boot?AHealthIndicatorBHealthCheckCHealthServiceDHealthStatusCheck Answer
Step-by-Step SolutionSolution:Step 1: Recall Spring Boot health customizationCustom health checks require implementing a specific interface.Step 2: Identify correct interfaceThe interface to implement is HealthIndicator, which requires overriding health().Final Answer:HealthIndicator -> Option AQuick Check:Custom health check interface = HealthIndicator [OK]Quick Trick: Custom health checks need HealthIndicator interface [OK]Common Mistakes:Using HealthCheck instead of HealthIndicatorConfusing with HealthService or HealthStatusNot overriding health() method
Master "Actuator" in Spring Boot9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallPerf
More Spring Boot Quizzes Advanced Patterns - Event publishing with ApplicationEventPublisher - Quiz 3easy Advanced Patterns - Custom auto-configuration - Quiz 7medium Advanced Patterns - Why enterprise patterns matter - Quiz 15hard Aspect-Oriented Programming - @Around advice for full control - Quiz 14medium Async Processing - Exception handling in async - Quiz 15hard Caching - Redis as cache provider - Quiz 14medium Docker and Deployment - Why containerization matters - Quiz 15hard Spring Boot Actuator - Actuator endpoints overview - Quiz 10hard Spring Boot Actuator - Metrics with Micrometer - Quiz 15hard Testing Spring Boot Applications - @SpringBootTest for integration tests - Quiz 12easy