exam questions

Exam KCNA All Questions

View all questions & answers for the KCNA exam

Exam KCNA topic 1 question 36 discussion

Actual exam question from Linux Foundation's KCNA
Question #: 36
Topic #: 1
[All KCNA Questions]

What is a probe within Kubernetes?

  • A. A monitoring mechanism of the Kubernetes API.
  • B. A pre-operational scope issued by the kubectl agent.
  • C. A diagnostic performed periodically by the kubelet on a container.
  • D. A logging mechanism of the Kubernetes API.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
shahy0
1 week, 2 days ago
Selected Answer: C
Probes are used to determine if a container is running correctly and if it is ready to serve traffic. Kubernetes supports three types of probes: Liveness Probe Readiness Probe Startup Probe
upvoted 1 times
...
SeaH0rse66
3 months, 3 weeks ago
Selected Answer: C
Within Kubernetes, a "probe" refers to a diagnostic mechanism used by the kubelet to check the health of containers running within pods.Probes are configured within the PodSpec of Kubernetes pods and are used to determine if the containers within the pod are healthy and ready to serve traffic. There are three types of probes: Liveness Probe: Determines if the container is still running and healthy. If the liveness probe fails, Kubernetes restarts the container. Readiness Probe: Determines if the container is ready to serve traffic. If the readiness probe fails, the pod is removed from load balancers, and no traffic is routed to it. Startup Probe: Similar to the liveness probe, but only runs during the initial startup of a container. It helps delay the liveness and readiness probes until the application inside the container has started.
upvoted 3 times
...
phcunha
5 months, 2 weeks ago
Think of a probe in Kubernetes like a heart rate monitor attached to a patient in a hospital. Just as the heart rate monitor continuously checks the patient's heart rate to ensure they are alive and functioning correctly, Kubernetes probes continuously monitor the health of containers to ensure they are running and capable of serving traffic. If the heart rate monitor detects irregularities or a lack of heartbeat, medical staff take action to revive or stabilize the patient. Similarly, if Kubernetes probes detect issues with a container, Kubernetes takes action to restart or replace the container, ensuring the application remains available and responsive.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago