2V0-71.23 Question 106
Single answerA development team has deployed a Kubernetes application on a Tanzu Kubernetes Grid cluster. The application needs to expose its services to external users using DNS names that are automatically managed and updated when the application scales or changes. Which role does External DNS play in this scenario?
- A
Automatically provisions DNS records in the external DNS provider based on Kubernetes Ingress and Service resources.
- B
Routes HTTP traffic from external clients to the appropriate Kubernetes services within the cluster.
- C
Manages internal DNS resolution for pods and services within the Kubernetes cluster.
- D
Provides a mechanism to secure DNS queries using encryption between clients and the DNS server.
Show answer and explanation
Correct answer: A
Explanation
External DNS plays a critical role in Kubernetes environments, especially when applications need to expose services to external users. It automates the process of creating and updating DNS records in external DNS providers (like AWS Route 53, Google Cloud DNS, etc.) based on Kubernetes resources such as Services and Ingress. This ensures that DNS records remain in sync with the state of the cluster, simplifying operations and reducing manual configuration efforts.
- A. Correct.
Correct: External DNS integrates with external DNS providers to automatically create and manage DNS records based on Kubernetes resources like Ingress and Services.
- B. Incorrect.
Incorrect: This describes the role of an Ingress controller, which handles routing of HTTP/S traffic, not DNS record management.
- C. Incorrect.
Incorrect: Internal DNS resolution for pods and services is handled by CoreDNS, not External DNS.
- D. Incorrect.
Incorrect: Securing DNS queries using encryption (e.g., DNS over HTTPS) is not a responsibility of External DNS.