CK.V · CKAD practice question

When troubleshooting a ClusterIP Service that exists and has a matching selector, which command shows the endpoints currently backing the Service?

Choose one answer
Check answer and explanation

Correct answer: kubectl get endpointslices -l kubernetes.io/service-name= -n (or kubectl describe svc -n )

Explanation

Inspecting EndpointSlices (labeled with kubernetes.io/service-name) or kubectl describe svc shows whether matching ready Pod endpoints are attached to the Service.

Common trap

Inspecting EndpointSlices (labeled with kubernetes.io/service-name) or kubectl describe svc shows whether matching ready Pod endpoints are attached to the Service.

Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.

Report an error in this question