Bird
0
0

Which statement best describes the functionality of a ClusterIP service in Kubernetes?

easy📝 Conceptual Q1 of 15
Kubernetes - Services
Which statement best describes the functionality of a ClusterIP service in Kubernetes?
AIt exposes the service externally using a cloud provider's load balancer
BIt exposes the service on a cluster-internal IP accessible only within the cluster
CIt assigns a static external IP to the service for public access
DIt creates a DNS entry for the service without assigning an IP
Step-by-Step Solution
Solution:
  1. Step 1: Understand ClusterIP

    A ClusterIP service exposes the service on an internal IP address within the cluster.
  2. Step 2: Differentiate from other types

    LoadBalancer exposes externally, NodePort exposes on nodes, and ExternalName maps DNS.
  3. Final Answer:

    It exposes the service on a cluster-internal IP accessible only within the cluster -> Option B
  4. Quick Check:

    ClusterIP is internal only [OK]
Quick Trick: ClusterIP is internal-only service IP [OK]
Common Mistakes:
  • Confusing ClusterIP with LoadBalancer
  • Assuming ClusterIP exposes service externally
  • Thinking ClusterIP assigns external DNS

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes