advancedTop 100 Interview Questions

What's the difference between liveness and readiness probes for a Spring Boot app using Actuator?

Spring Boot Actuator exposes separate health groups/endpoints for liveness (`/actuator/health/liveness` — is the JVM/process fundamentally OK) and readiness (`/actuator/health/readiness` — are dependencies like the DB connection pool actually available); mapping each to the correct orchestrator probe type avoids restart loops during normal warm-up or transient dependency hiccups.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to Why use Testcontainers in a Dockerized Spring Boot project's test suite?← Back to all Docker questions