Study. uk . com
  1. Home
  2. All questions
  3. Question 768

CKA study material · question 768 of 1000

A Pod resolves the DNS name of a headless Service. What does it get back?

  1. A single cluster IP
  2. A CNAME to the first backing Pod
  3. An SRV record only
  4. The addresses of all the backing Pods
Show the answer

Answer: D. The addresses of all the backing Pods

A normal Service resolves to its cluster IP; a headless Service resolves to the set of Pod addresses, leaving the client to choose among them.

Source: DNS for Services and Pods (Kubernetes) — Services › A/AAAA records

Challenge yourself on this topic → Study as cards