Recall & Review
beginner
What is a ClusterIP service in Kubernetes?
A ClusterIP service exposes the service on an internal IP in the cluster. It is reachable only within the cluster and not from outside.
Click to reveal answer
intermediate
How does a ClusterIP service route traffic to pods?
It uses kube-proxy to route requests sent to the ClusterIP to one of the backend pods selected by labels.
Click to reveal answer
beginner
Which use case fits best for a ClusterIP service?
When you want to expose a service only inside the cluster, for example, for internal communication between microservices.
Click to reveal answer
beginner
What is the default service type in Kubernetes if none is specified?
ClusterIP is the default service type if you do not specify any other type.
Click to reveal answer
beginner
Can a ClusterIP service be accessed from outside the Kubernetes cluster?
No, ClusterIP services are only accessible inside the cluster. To access from outside, use NodePort or LoadBalancer types.
Click to reveal answer
What does a ClusterIP service expose?
✗ Incorrect
ClusterIP exposes an internal IP reachable only within the Kubernetes cluster.
Which Kubernetes service type allows external access by default?
✗ Incorrect
NodePort exposes the service on a port on each node, allowing external access.
What is the default service type if none is specified in Kubernetes?
✗ Incorrect
ClusterIP is the default service type in Kubernetes.
How does a ClusterIP service select which pods to send traffic to?
✗ Incorrect
ClusterIP services use label selectors to route traffic to matching pods.
Can you access a ClusterIP service from outside the Kubernetes cluster?
✗ Incorrect
ClusterIP services are internal, but you can access them externally using port forwarding or proxies.
Explain what a ClusterIP service is and when you would use it.
Think about services that do not need to be exposed outside the cluster.
You got /4 concepts.
Describe how Kubernetes routes traffic to pods using a ClusterIP service.
Focus on how the service finds the right pods to send requests to.
You got /4 concepts.