CK.V · CKAD practice question
A Service named payments-api has port: 80 and targetPort: 8443. What does this mean for traffic hitting payments-api?
Check answer and explanation
Correct answer: Clients connect to the Service on TCP port 80, and traffic is forwarded to container port 8443 on matching Pods
Explanation
In a Service, port is the port exposed by the Service itself, while targetPort is the port on the target Pod/container receiving the forwarded traffic.
Common trap
In a Service, port is the port exposed by the Service itself, while targetPort is the port on the target Pod/container receiving the forwarded traffic.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.