Health Checks & Heartbeats — Concept Check
Questions on Health Checks & Heartbeats. Health checks probe services to determine if they are alive and ready to handle traffic. Heartbeats are periodic signals nodes send to indicate they are operational. Both are essential for automated failure detection.
Questions in this quiz
7 questions on Health Checks & Heartbeats — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A service in your Kubernetes cluster is not receiving any traffic. The readiness probe shows failures. What should you check first?
- ADisk space
- BDatabase connectivity
- CNetwork latency
- DCPU usage
2.In a distributed system, a node stops sending heartbeats. What action should the coordinator take?
- ASend more heartbeats
- BIgnore the missing heartbeats
- CRestart the node
- DAssume the node is healthy
3.A Kubernetes pod restarts frequently due to liveness probe failures. What might be the cause?
- AThe application takes too long to start
- BThe health endpoint is returning 200 OK
- CThe container image is too large
- DThe readiness probe is misconfigured
4.What is the primary difference between health checks and heartbeats in distributed systems?
- ABoth are push-based
- BBoth are pull-based
- CHealth checks are push-based, heartbeats are pull-based
- DHeartbeats are push-based, health checks are pull-based
5.A node in your system is not responding to heartbeats. What is a likely outcome if this continues?
- AThe node will be marked as healthy
- BThe node will be assumed failed
- CThe node will automatically heal
- DThe node will receive more traffic
6.Which of the following is true about readiness checks in Kubernetes?
- AThey restart the pod on failure
- BThey delay start of other probes
- CThey are ignored during startup
- DThey remove the pod from Service endpoints on failure
7.What does a liveness probe failure indicate in a Kubernetes pod?
- AThe pod is experiencing high CPU usage
- BThe pod is ready to serve traffic
- CThe pod is fully operational
- DThe pod needs to be restarted