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

CKA study material · question 771 of 1000

For which Service ports does cluster DNS create SRV records?

  1. All ports of every Service
  2. Only ports on headless Services
  3. Only ports with a nodePort allocated
  4. Only named ports
Show the answer

Answer: D. Only named ports

SRV records are created for named ports of both normal and headless Services, in the form _port-name._protocol followed by the Service's DNS name.

Source: DNS for Services and Pods (Kubernetes) — Services › SRV records

Challenge yourself on this topic → Study as cards