Question 31
Kubernetes FundamentalsWhich of the following is NOT a Kubernetes Service type?
Correct answer: C
Explanation
Kubernetes Service types are "ClusterIP," "NodePort," and "LoadBalancer"; these define how a Service is exposed. "Ingress" is not a Service type because it is a separate API object used to manage external HTTP/HTTPS routing to Services.
Why each option is right or wrong
A. ClusterIP
B. NodePort
C. Ingress
Under the Kubernetes API, Service is a distinct resource defined in the core/v1 API, and its `spec.type` field is limited to the built-in Service types `ClusterIP`, `NodePort`, and `LoadBalancer` (with `ExternalName` also defined in the API). Ingress is not a Service type at all; it is a separate networking API object (`networking.k8s.io/v1`) used to route HTTP/HTTPS traffic to Services, so it cannot be selected as a Service type.
D. ExternalName