Spring Boot - ActuatorWhat is the default security behavior of Spring Boot actuator endpoints when Spring Security is on the classpath?AAll endpoints require authenticationBOnly health endpoint is public, others require authenticationCAll endpoints are publicly accessibleDOnly info endpoint is public, others require authenticationCheck Answer
Step-by-Step SolutionSolution:Step 1: Recall default actuator security behaviorBy default, with Spring Security, the health endpoint is public, others are secured.Step 2: Verify info endpoint accessThe info endpoint is secured by default, not public.Final Answer:Only health endpoint is public, others require authentication -> Option BQuick Check:Default actuator security = health public, others secured [OK]Quick Trick: Health endpoint is public by default with Spring Security [OK]Common Mistakes:Assuming all endpoints are publicThinking info endpoint is public by defaultBelieving no authentication is needed
Master "Actuator" in Spring Boot9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallPerf
More Spring Boot Quizzes API Documentation - Generating client code from spec - Quiz 4medium API Documentation - @Operation annotation for descriptions - Quiz 13medium API Documentation - @Operation annotation for descriptions - Quiz 5medium Aspect-Oriented Programming - @Around advice for full control - Quiz 8hard Async Processing - @Async for async methods - Quiz 3easy Docker and Deployment - Dockerfile for Spring Boot - Quiz 4medium Spring Boot Actuator - Prometheus and Grafana integration concept - Quiz 13medium Testing Spring Boot Applications - @MockBean for mocking dependencies - Quiz 2easy Testing Spring Boot Applications - Test containers for database testing - Quiz 14medium Testing Spring Boot Applications - @MockBean for mocking dependencies - Quiz 1easy