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

CKA study material · question 387 of 1000

A Service resolves but returns nothing. Which misconfigurations are likely? Choose two.

  1. The Service has type ClusterIP
  2. The Service has more than one port
  3. A numeric port was written as a string
  4. targetPort does not match the port the Pods listen on
Show the answer

Answer: D. targetPort does not match the port the Pods listen on
C. A numeric port was written as a string

A mismatched targetPort and a port written as "9376" instead of 9376 both leave a Service with no working backend.

Source: Debug Services (Kubernetes) — Is the Service defined correctly?

Challenge yourself on this topic → Study as cards