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

CKA study material · question 779 of 1000

An administrator needs to change how cluster DNS forwards external queries. Where is that configured?

  1. A flag on the kubelet
  2. The kube-dns Service annotations
  3. A ConfigMap holding CoreDNS's Corefile
  4. The API server's --dns-domain flag
Show the answer

Answer: C. A ConfigMap holding CoreDNS's Corefile

CoreDNS is configured through a Corefile kept in a ConfigMap, so cluster DNS behaviour is changed by editing that object rather than a component flag.

Source: Customizing DNS Service (Kubernetes) — CoreDNS › CoreDNS ConfigMap options

Challenge yourself on this topic → Study as cards