MediumAnalyzeSpring Bootmultiple-choice
What is the difference between liveness and readiness probes in Kubernetes?
Analyze — Tests ability to break down and examine complex problems.
Answer Options
ALiveness checks CPU usage; readiness checks memory usage
BLiveness determines if the container should be restarted; readiness determines if it should receive traffic
CLiveness is for HTTP apps; readiness is for TCP apps
DLiveness probes run at startup; readiness probes run continuously
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 15+ more Spring Boot questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the Spring Boot topic (Programming Languages).
More Spring Boot Questions
Which annotation combination does @SpringBootApplication replace?
EasyWhy is constructor injection preferred over field injection in Spring?
Medium-EasyWhat HTTP status code should a successful POST that creates a resource return?
EasyWhat is the N+1 query problem in Spring Data JPA?
MediumWhat does @Transactional do when placed on a service method?
Medium-Easy