Kubernetes and Cloud Native Associate (KCNA) — Question 136
What is the main purpose of the Ingress in Kubernetes?
Answer options
- A. Access HTTP and HTTPS services running in the cluster based on their IP address.
- B. Access services different from HTTP or HTTPS running in the cluster based on their IP address.
- C. Access services different from HTTP or HTTPS running in the cluster based on their path
- D. Access HTTP and HTTPS services running in the cluster based on their path.
Correct answer: D
Explanation
The correct answer is D because Ingress is specifically designed to manage HTTP and HTTPS routing based on the request path. Options A and B incorrectly associate Ingress with IP address routing, while option C refers to non-HTTP/S services, which Ingress does not handle.