Study. uk . com
  1. Home
  2. All questions
  3. Question 750

CKA study material · question 750 of 1000

A NodePort Service has three backing Pods on three of a cluster's ten nodes. Which nodes answer on the allocated node port?

  1. Only the three nodes running a backing Pod
  2. Only nodes labelled as ingress nodes
  3. Only the node the client's request first reaches
  4. All ten
Show the answer

Answer: D. All ten

A NodePort Service is reachable at that port on every node's address, whether or not the node runs one of the backing Pods; a node with none forwards the traffic on unless externalTrafficPolicy is Local.

Source: Service (Kubernetes) — Service type › type: NodePort

Challenge yourself on this topic → Study as cards