Courseiva
Container Orchestration →easyMultiple Choice

KCNA Container Orchestration Practice Question

What is the purpose of a readiness probe in a Kubernetes pod?

⚠ Common exam trap

Many candidates confuse readiness probes with liveness probes, mistakenly thinking both are used for restarting unhealthy containers, when in fact readiness probes only control traffic routing and do not trigger restarts.

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

✓

To signal that the pod is ready to accept traffic

A readiness probe in Kubernetes determines whether a container inside a pod is ready to start accepting traffic. If the probe fails, the pod is removed from the Service's endpoints, ensuring that only healthy pods receive requests. This is distinct from liveness probes, which check if the container is alive and should be restarted.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    To determine if the pod should be terminated

    Why it's wrong here

    No such probe.

  • ✗

    To check if the pod is alive and restart it if not

    Why it's wrong here

    That describes a liveness probe, which restarts containers on failure. A readiness probe instead controls whether the pod's IP is included in Service endpoints, removing it from load balancing until checks pass. It is tempting because both probes use similar HTTP or command checks, so the restart behaviour of liveness is easily misattributed to readiness.

  • ✗

    To measure CPU usage of the container

    Why it's wrong here

    CPU usage is collected by metrics-server or resource metrics, not probes; readiness checks are user-defined commands, HTTP requests or TCP connections that report whether the container can accept traffic. It is tempting because resource-based autoscaling also reacts to CPU, but that mechanism scales replicas rather than gating Service endpoint membership.

  • ✓

    To signal that the pod is ready to accept traffic

    Why this is correct

    A readiness probe determines whether a container is prepared to serve requests, controlling whether the pod's IP is included in Service endpoints. Failing probes remove the pod from load balancing without restarting it, satisfying the requirement to signal traffic acceptance rather than container liveness or startup completion.

About these practice questions

Courseiva writes every KCNA question from scratch — 930 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This KCNA 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 KCNA exam.