nerdexam
Linux_Foundation

KCNA · Question #137

What is the main purpose of the Ingress in Kubernetes?

The correct answer is D. Access HTTP and HTTPS services running in the cluster based on their path. An Ingress resource (D) routes external HTTP and HTTPS traffic to internal Services based on URL paths (e.g., /api → service-a) and hostnames. It is specifically designed for Layer 7 (HTTP/HTTPS) traffic. Options A and B are wrong because Ingress routes by path/hostname, not by…

Submitted by mateo_ar· May 4, 2026Kubernetes Fundamentals

Question

What is the main purpose of the Ingress in Kubernetes?

Options

  • AAccess HTTP and HTTPS services running in the cluster based on their IP address.
  • BAccess services different from HTTP or HTTPS running in the cluster based on their IP address.
  • CAccess services different from HTTP or HTTPS running in the cluster based on their path
  • DAccess HTTP and HTTPS services running in the cluster based on their path.

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    5% (2)
  • C
    3% (1)
  • D
    90% (36)

Explanation

An Ingress resource (D) routes external HTTP and HTTPS traffic to internal Services based on URL paths (e.g., /api → service-a) and hostnames. It is specifically designed for Layer 7 (HTTP/HTTPS) traffic. Options A and B are wrong because Ingress routes by path/hostname, not by IP address. Option C is wrong because Ingress handles HTTP/HTTPS, not other protocols - non-HTTP services require a LoadBalancer or NodePort Service instead.

Topics

#Kubernetes Ingress#Networking#HTTP/HTTPS#Service Access

Community Discussion

No community discussion yet for this question.

Full KCNA Practice