Kubernetes and Cloud Native Associate (KCNA) — Question 58
What is the main role of the Kubernetes DNS within a cluster?
Answer options
- A. Acts as a DNS server for virtual machines that are running outside the cluster.
- B. Provides a DNS as a Service, allowing users to create zones and registries for domains that they own.
- C. Allows Pods running in dual stack to convert IPv6 calls into IPv4 calls.
- D. Provides consistent DNS Names for Pods and Services for workloads that need to communicate with each other.
Correct answer: D
Explanation
The correct answer is D because Kubernetes DNS is designed to provide consistent DNS naming for Pods and Services, facilitating communication between them within the cluster. Options A and B are incorrect as they refer to external DNS functionalities that are not part of the Kubernetes DNS role, while option C inaccurately describes a feature not specifically related to the primary purpose of Kubernetes DNS.