VMware Carbon Black Cloud Enterprise EDR (2020) — Question 65

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

Answer options

Correct answer: B

Explanation

The correct answer is B, NodePort, as it allows external traffic to access the service using a designated port on each node. The other options do not expose the service externally: A (Headless) does not assign a port, C (ExternalName) maps to an external DNS name, and D (ClusterIP) is used for internal communication only.