Medium-EasyUnderstandKubernetes & DockerMultiple Choice

What is the difference between a ClusterIP and a NodePort Service in Kubernetes?

Understand Tests comprehension and ability to explain concepts.

Answer Options

AClusterIP is only for stateful apps; NodePort is for stateless apps
BClusterIP exposes the service on an internal cluster IP only; NodePort also exposes it on a static port on every node's external IP
CNodePort requires a cloud provider; ClusterIP does not
DClusterIP can span multiple clusters; NodePort cannot

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 15+ more Kubernetes & Docker questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Kubernetes & Docker topic (DevOps & Containers).

More Kubernetes & Docker Questions