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

CKA study material · question 776 of 1000

A Pod uses dnsPolicy ClusterFirst and adds options in its dnsConfig. What happens to the options the policy would have produced?

  1. They are replaced entirely by the dnsConfig options
  2. They are merged with the dnsConfig options
  3. They take precedence over the dnsConfig options
  4. They are dropped, since dnsConfig requires dnsPolicy None
Show the answer

Answer: B. They are merged with the dnsConfig options

dnsConfig works alongside any dnsPolicy, and its options are merged into those the policy generated rather than replacing them wholesale.

Source: DNS for Services and Pods (Kubernetes) — Pods › Pod's DNS Config

Challenge yourself on this topic → Study as cards