Recall & Review
beginner
What is a liveness probe in Kubernetes?
A liveness probe checks if a container is alive. If it fails, Kubernetes restarts the container to fix it.
Click to reveal answer
beginner
What happens when a readiness probe fails?
When a readiness probe fails, Kubernetes stops sending traffic to the container but does not restart it.
Click to reveal answer
intermediate
How does Kubernetes decide to restart a container after a probe failure?
Kubernetes restarts a container only if the liveness probe fails. Readiness probe failures do not cause restarts.
Click to reveal answer
intermediate
What is the difference between a startup probe and a liveness probe?
A startup probe checks if the container application has started. It prevents premature liveness probe failures during startup.
Click to reveal answer
beginner
Why is it important to configure probes correctly in Kubernetes?
Correct probe configuration ensures containers restart only when needed and traffic is routed properly, improving app reliability.
Click to reveal answer
What does a failing liveness probe cause in Kubernetes?
✗ Incorrect
A failing liveness probe triggers Kubernetes to restart the container to fix the issue.
If a readiness probe fails, what happens?
✗ Incorrect
A failing readiness probe causes Kubernetes to stop sending traffic to the container but does not restart it.
Which probe helps avoid restarting a container too early during startup?
✗ Incorrect
The startup probe checks if the container has started properly before liveness probes begin.
What is the main purpose of a readiness probe?
✗ Incorrect
Readiness probes check if a container is ready to accept traffic without restarting it.
What happens if all probes are misconfigured?
✗ Incorrect
Misconfigured probes can cause unnecessary restarts or improper traffic routing, harming app stability.
Explain how Kubernetes uses liveness and readiness probes to manage container health and traffic.
Think about what happens when each probe fails.
You got /3 concepts.
Describe the role of a startup probe and why it is useful in Kubernetes container management.
Consider container startup delays and probe timing.
You got /3 concepts.