nerdexam
Linux_Foundation

KCNA · Question #8

What is the main role of the Kubernetes DNS within a cluster?

The correct answer is D. Provides consistent DNS Names for Pods and Services for workloads that need to communicate. Kubernetes DNS provides consistent and stable DNS names for Pods and Services within the cluster, enabling reliable communication between workloads.

Submitted by kevin_r· May 4, 2026Kubernetes Fundamentals

Question

What is the main role of the Kubernetes DNS within a cluster?

Options

  • AActs as a DNS server for virtual machines that are running outside the cluster.
  • BProvides a DNS as a Service, allowing users to create zones and registries for domains that they
  • CAllows Pods running in dual stack to convert IPv6 calls into IPv4 calls.
  • DProvides consistent DNS Names for Pods and Services for workloads that need to communicate

How the community answered

(38 responses)
  • A
    3% (1)
  • C
    5% (2)
  • D
    92% (35)

Why each option

Kubernetes DNS provides consistent and stable DNS names for Pods and Services within the cluster, enabling reliable communication between workloads.

AActs as a DNS server for virtual machines that are running outside the cluster.

Kubernetes DNS serves internal cluster resources and does not act as a DNS server for virtual machines running outside the cluster.

BProvides a DNS as a Service, allowing users to create zones and registries for domains that they

While it provides DNS, its primary role is for internal cluster resources, not for users to create arbitrary zones and registries for external domains they own.

CAllows Pods running in dual stack to convert IPv6 calls into IPv4 calls.

Kubernetes DNS handles name resolution and does not convert IPv6 calls into IPv4 calls; dual-stack networking allows Pods to use both, but the DNS resolver itself doesn't translate protocols.

DProvides consistent DNS Names for Pods and Services for workloads that need to communicateCorrect

The Kubernetes DNS service (like CoreDNS) automatically assigns DNS names to Services and Pods within the cluster, allowing workloads to discover and communicate with each other using stable, human-readable names instead of volatile IP addresses. This is fundamental for inter-service communication.

Concept tested: Kubernetes Service Discovery via DNS

Source: https://kubernetes.io/docs/concepts/services-networking/dns-for-services-pods/

Topics

#Kubernetes DNS#Service Discovery#Cluster Networking#Inter-Service Communication

Community Discussion

No community discussion yet for this question.

Full KCNA Practice