CKAD Application Observability and Maintenance Practice Question
Which THREE of the following are best practices for configuring readiness probes?
⚠ Common exam trap
Candidates often confuse readiness probes with liveness probes, mistakenly thinking readiness probes can restart containers or that sharing the same endpoint is acceptable, when in fact readiness probes only control traffic routing and should use a separate, dependency-aware endpoint.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Set initialDelaySeconds to avoid startup race conditions
Setting `initialDelaySeconds` in a readiness probe prevents the probe from starting before the container's application has had time to initialize. Without this delay, the probe might fail immediately during startup, causing the container to be prematurely marked as not ready and removed from service, even though the application would have become ready given a few more seconds. This avoids race conditions between container startup and probe evaluation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use the same endpoint as the liveness probe
Why it's wrong here
Reusing the same endpoint for liveness and readiness couples two different lifecycle signals, so a transient dependency outage that should only stop traffic would also trigger a container restart by the kubelet. Liveness probes must reflect only the process's basic health, while readiness probes may include downstream dependencies, and conflating them can cause cascading restarts or hiding real problems.
- ✗
Configure the probe to restart the container if it fails
Why it's wrong here
A readiness probe has no influence on container restarts; it only removes or adds the pod's IP to the associated Service's endpoints. Restart behavior is governed by the kubelet based on the liveness probe result and the container's restartPolicy, so setting a readiness probe to restart is not a valid configuration and misunderstands the Kubernetes probe model.
- ✓
Set initialDelaySeconds to avoid startup race conditions
Why this is correct
Setting initialDelaySeconds gives the application a grace period to finish startup tasks such as loading configuration, connecting to databases, or opening listen sockets before the kubelet begins sending probe requests. Without this delay, a still-initializing container may fail its first probes and be repeatedly restarted, creating a crash loop instead of a healthy pod.
- ✓
Use a separate endpoint from the liveness probe
Why this is correct
Using a separate endpoint for readiness, such as /ready rather than /healthz, lets the readiness probe check application dependencies and load while the liveness probe stays focused on detecting deadlocks or fatal process failures. This separation prevents a temporary dependency slowdown from falsely killing the container, because only readiness fails and traffic is stopped without a restart.
- ✓
Use an HTTP GET request to a lightweight endpoint
Why this is correct
An HTTP GET request to a lightweight endpoint such as /healthz is a best practice because HTTP probes are natively supported by kubelet and require no exec overhead. Keeping the endpoint lightweight—returning a fast 200 without querying heavy databases or performing expensive work—ensures probing has minimal impact on container performance and avoids false failures under load.
Go deeper
Related to this question
About these practice questions
This CKAD question is part of Courseiva's 826-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CKAD practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CKAD exam.