KCNA · Question #89
The IPv4/IPv6 dual stack in Kubernetes:
The correct answer is D. Allows you to create IPv4 and IPv6 dual stack services. Kubernetes IPv4/IPv6 dual-stack support enables clusters to assign both IPv4 and IPv6 addresses to Pods and Services.
Question
The IPv4/IPv6 dual stack in Kubernetes:
Options
- ATranslates an IPv4 request from a service to an IPv6 service.
- BAllows you to access the IPv4 address by using the IPv6 address.
- CRequires NetworkPolicies to prevent services from mixing requests.
- DAllows you to create IPv4 and IPv6 dual stack services.
How the community answered
(30 responses)- A3% (1)
- C3% (1)
- D93% (28)
Why each option
Kubernetes IPv4/IPv6 dual-stack support enables clusters to assign both IPv4 and IPv6 addresses to Pods and Services.
Dual-stack networking assigns both address types; it does not translate requests between IPv4 and IPv6 services itself.
You cannot access an IPv4 address directly using an IPv6 address; they are distinct address families.
While NetworkPolicies are important for security, dual-stack itself does not inherently *require* them to prevent mixing requests, as services are typically configured to expose specific protocol families.
With IPv4/IPv6 dual-stack, Kubernetes allows services to be configured with both IPv4 and IPv6 addresses, enabling endpoints (Pods) to be reached via either protocol. This feature supports modern network environments where both address families are in use.
Concept tested: Kubernetes IPv4/IPv6 dual-stack networking
Source: https://kubernetes.io/docs/concepts/services-networking/dual-stack/
Topics
Community Discussion
No community discussion yet for this question.