Kubernetes and Cloud Native Associate (KCNA) — Question 31
Which statement about Ingress is correct?
Answer options
- A. Ingress provides a simple way to track network endpoints within a cluster.
- B. Ingress is a Service type like NodePort and ClusterIP.
- C. Ingress is a construct that allows you to specify how a Pod is allowed to communicate.
- D. Ingress exposes routes from outside the cluster to services in the cluster.
Correct answer: D
Explanation
The correct answer is D because Ingress specifically manages external access to services within a Kubernetes cluster, routing requests to the appropriate services. Options A, B, and C are incorrect as they misrepresent the role of Ingress; it is not merely for tracking endpoints or a Service type and does not directly specify intra-Pod communication.