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

CKA study material · question 706 of 1000

An engineer sets externalName to 203.0.113.10 on an ExternalName Service, and nothing resolves. Why?

  1. The address must be inside the Service CIDR
  2. externalName accepts only private addresses
  3. The value is treated as a DNS name made of digits, which will not resolve
  4. ExternalName requires a port to be declared alongside the address
Show the answer

Answer: C. The value is treated as a DNS name made of digits, which will not resolve

An ExternalName value is always a DNS name, even when it looks like an address, and such names are not resolved. Pointing at a fixed address calls for a headless Service with a hand-written EndpointSlice.

Source: Service (Kubernetes) — Service type › type: ExternalName

Challenge yourself on this topic → Study as cards