- Home
- All questions
- Question 794
CKA study material · question 794 of 1000
A NetworkPolicy rule sets endPort: 32768 but omits port. Why is that invalid?
Show the answer
Answer: B. endPort must be accompanied by port and be at least as large
endPort defines the upper bound of a range, so port must also be set, both values must be numeric, and endPort must be equal to or greater than port.
Source: Network Policies (Kubernetes) — Targeting a range of ports