Exam KCNA All QuestionsBrowse all questions from this exam
Question 29

Which statement about Ingress is correct?

    Correct Answer: D

    Ingress in Kubernetes is an API object that manages external access to services within a cluster. It typically provides HTTP and HTTPS routing to services based on incoming requests' hostnames, paths, or other criteria. Therefore, Ingress exposes routes from outside the cluster to services in the cluster, effectively acting as an entry point for external traffic to reach services inside the cluster.

Discussion
phcunhaOption: D

D. Ingress exposes routes from outside the cluster to services in the cluster. Explanation: Ingress in Kubernetes is an API object that manages external access to services within a cluster. It provides HTTP and HTTPS routing to services based on incoming requests' hostnames, paths, or other criteria. Ingress exposes routes from outside the cluster to services inside the cluster, acting as an entry point for external traffic to reach services. An analogy for Ingress could be a building's main entrance gate. Just as a main entrance gate controls access to different sections or floors within a building, Ingress controls access to different services within a Kubernetes cluster based on defined routing rules.

AbhishekJoshiOption: D

https://kubernetes.io/docs/concepts/services-networking/ingress/#:~:text=Ingress%20exposes%20HTTP%20and%20HTTPS,defined%20on%20the%20Ingress%20resource.&text=An%20Ingress%20may%20be%20configured,offer%20name%2Dbased%20virtual%20hosting.