nerdexam
Linux_FoundationLinux_Foundation

KCNA · Question #37

KCNA Question #37: Real Exam Question with Answer & Explanation

The correct answer is B: Yes, but you must specify an unambiguous name for each port.. Kubernetes Services can expose multiple ports, provided that each port definition within the service is assigned a unique, unambiguous name.

Submitted by anna_se· May 4, 2026Kubernetes Fundamentals

Question

Can a Kubernetes Service expose multiple ports?

Options

  • ANo, you can only expose one port per each Service.
  • BYes, but you must specify an unambiguous name for each port.
  • CYes, the only requirement is to use different port numbers.
  • DNo, because the only port you can expose is port number 443.

Explanation

Kubernetes Services can expose multiple ports, provided that each port definition within the service is assigned a unique, unambiguous name.

Common mistakes.

  • A. This statement is incorrect; Kubernetes Services are designed to support exposing multiple ports.
  • C. While different port numbers are necessary, the critical requirement for multiple ports is that each port definition must have a unique name, not just different numbers.
  • D. This statement is incorrect; Kubernetes Services can expose any valid port number, not exclusively port 443.

Concept tested. Kubernetes Service multiple port exposure

Reference. https://kubernetes.io/docs/concepts/services-networking/service/#multi-port-services

Topics

#Kubernetes Service#Networking#Port Configuration

Community Discussion

No community discussion yet for this question.

Full KCNA PracticeBrowse All KCNA Questions