1V0-71.21 · Question #33
Which Kubernetes Service type can be accessed only from within the Kubernetes cluster?
The correct answer is A. ClusterIP. ClusterIP is the default Kubernetes Service type and assigns a virtual IP address that is only reachable from within the cluster, making it ideal for internal service-to-service communication. NodePort (B) exposes the Service on a static port on every node's IP, making it…
Question
Which Kubernetes Service type can be accessed only from within the Kubernetes cluster?
Options
- AClusterIP
- BNodePort
- CLoadBalancer
- DClusterRoleBinding
How the community answered
(27 responses)- A89% (24)
- B4% (1)
- C4% (1)
- D4% (1)
Explanation
ClusterIP is the default Kubernetes Service type and assigns a virtual IP address that is only reachable from within the cluster, making it ideal for internal service-to-service communication.
NodePort (B) exposes the Service on a static port on every node's IP, making it accessible from outside the cluster. LoadBalancer (C) goes further by provisioning an external cloud load balancer, also enabling external access. ClusterRoleBinding (D) is not a Service type at all - it's an RBAC resource that grants cluster-wide permissions to users or service accounts.
Memory tip: Think "ClusterIP = Internal Private" - the name itself tells you it lives inside the cluster and never leaves it.
Topics
Community Discussion
No community discussion yet for this question.