CK.V · CKAD practice question
A Service named redis-svc has spec.clusterIP: None and a matching selector for StatefulSet Pods redis-0, redis-1, redis-2. What does a DNS query for redis-svc..svc.cluster.local return?
Check answer and explanation
Correct answer: A records for the individual ready Pods rather than a single virtual cluster IP
Explanation
A headless Service (clusterIP: None) has no cluster IP and resolves directly to the IP addresses of matching ready Pods.
Common trap
A headless Service (clusterIP: None) has no cluster IP and resolves directly to the IP addresses of matching ready Pods.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.