KCNA · Question #72
How many different Kubernetes service types can you define?
The correct answer is C. 4. Kubernetes allows defining four primary service types to expose applications running in pods to external or internal traffic.
Question
How many different Kubernetes service types can you define?
Options
- A2
- B3
- C4
- D5
How the community answered
(25 responses)- A4% (1)
- B4% (1)
- C88% (22)
- D4% (1)
Why each option
Kubernetes allows defining four primary service types to expose applications running in pods to external or internal traffic.
There are more than 2 service types available in Kubernetes.
There are more than 3 service types available in Kubernetes.
Kubernetes offers four main service types: ClusterIP, NodePort, LoadBalancer, and ExternalName. Each type serves different purposes for making a set of pods accessible, either internally within the cluster or externally.
There are exactly 4 primary service types, not 5.
Concept tested: Kubernetes Service Types
Source: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
Topics
Community Discussion
No community discussion yet for this question.