Recall & Review
beginner
What is a liveness probe in Kubernetes?
A liveness probe is a check Kubernetes uses to see if a container is still running and healthy. If the probe fails, Kubernetes restarts the container to fix it.
Click to reveal answer
beginner
How does Kubernetes react when a liveness probe fails?
Kubernetes restarts the container to try to fix the problem when the liveness probe fails.
Click to reveal answer
intermediate
Name three types of liveness probes supported by Kubernetes.
Kubernetes supports HTTP GET requests, TCP socket checks, and running a command inside the container as liveness probes.
Click to reveal answer
intermediate
Why is it important to set the initial delay for a liveness probe?
Initial delay lets the container start up fully before Kubernetes starts checking its health, preventing false restarts.
Click to reveal answer
intermediate
What is the difference between a liveness probe and a readiness probe?
A liveness probe checks if the container should be restarted, while a readiness probe checks if the container is ready to accept traffic.
Click to reveal answer
What happens if a liveness probe fails in Kubernetes?
✗ Incorrect
When a liveness probe fails, Kubernetes restarts the container to recover it.
Which of these is NOT a type of liveness probe?
✗ Incorrect
Memory usage check is not a built-in liveness probe type in Kubernetes.
Why do we use an initial delay in liveness probes?
✗ Incorrect
Initial delay waits before starting health checks to avoid false failures during startup.
Which Kubernetes object uses liveness probes?
✗ Incorrect
Liveness probes are configured on containers inside Pods.
What is the main goal of a liveness probe?
✗ Incorrect
Liveness probes check if the container is alive and restart it if it is not.
Explain what a liveness probe is and why it is useful in Kubernetes.
Think about how Kubernetes keeps containers running smoothly.
You got /3 concepts.
Describe the different types of liveness probes and when you might use each.
Consider how you can check container health in different ways.
You got /4 concepts.