Kubernetes and Cloud Native Associate (KCNA) — Question 3
What function does kube-proxy provide to a cluster?
Answer options
- A. Implementing the Ingress resource type for application traffic.
- B. Forwarding data to the correct endpoints for Services.
- C. Managing data egress from the cluster nodes to the network.
- D. Managing access to the Kubernetes API.
Correct answer: B
Explanation
The correct answer is B, as kube-proxy is responsible for directing network traffic to the appropriate Service endpoints within a Kubernetes cluster. Option A is incorrect because Ingress is managed by a different component, not kube-proxy. Options C and D are also incorrect since they pertain to egress management and API access, which are not functions of kube-proxy.