Exam 5v0-2320 All QuestionsBrowse all questions from this exam
Question 74

Which Kubernetes Service Types exposes the service externally using a static port?

    Correct Answer: B

    NodePort is the Kubernetes Service Type that exposes the service externally using a static port. In a NodePort service, Kubernetes assigns a static port on every node in the cluster, which allows external clients to access the service using the node's IP address and the allocated static port.

Discussion
obeythefistOption: B

I will go with B, here's why: https://medium.com/google-cloud/kubernetes-nodeport-vs-loadbalancer-vs-ingress-when-should-i-use-what-922f010849e0 A. Headless - No, this is nonsense B. NodePort - Yes, a nodeport is a primitive way to provide external access to a service C. ExternalName - No, this doesn't provide any access to anything, it's a name D. ClusterIP - No, ClusterIP is always internal

Abhi333Option: B

B Node Port

KingJ92Option: B

The Kubernetes Service Type that exposes the service externally using a static port is: B. NodePort In a NodePort service, Kubernetes allocates a static port on each node in the cluster. This port is used to expose the service externally. Clients can reach the service using the node's IP address and the allocated static port.