CNSP practice question 14 of 15
How many usable TCP/UDP ports are there?
Full set: 60 questionsDomain Network Security Protocols
TCP and UDP identify communicating applications with a 16-bit “port” field. A 16-bit unsigned integer can encode 0–65 535 inclusive. Port 0 is reserved by IANA and not used for normal connections, leaving 65 535 ports (1-65 535) that are actually usable for services and ephemeral client bindings. Therefore, the number of usable TCP/UDP ports is 65 535.
A. 65 536 Includes port 0, but 0 is reserved—not normally usable.
C. 63 535 Arithmetic error; far fewer than the 16-bit capacity minus the reserved value.
D. 65 335 Transposed digits; does not equal 2^16 – 1 usable ports.
1. IETF RFC 6335
§2.1 “Port Numbers” – 16-bit range 0–65 535; port 0 reserved (https://www.rfc-editor.org/rfc/rfc6335).
2. IETF RFC 9293 (TCP)
§3.1 Header Format – Source/Destination Port fields are 16 bits (p.20).
3. IETF RFC 768 (UDP)
§1 – “Source Port
Destination Port: 16 bits” defining same range.
4. IANA Service Name and Port Number Registry
Introduction – notes port 0 as “reserved.”
5. MIT OpenCourseWare 6.033 “Computer Systems Engineering
” Lecture notes “Networking: TCP & UDP” – slide on 16-bit port field
reserving 0.
Keep practicing
Take the free CNSP practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CNSP practice questions
- Question 1Which Kerberos ticket is required to generate a Silver Ticket?
- Question 2What is the response from a closed UDP port which is not behind a firewall?
- Question 3Which of the following techniques can be used to bypass network segmentation during infra…
- Question 4What RID is given to an Administrator account on a Microsoft Windows machine?
- Question 6On a Microsoft Windows Operating System, what does the following command do? net localgro…
- Question 7The Management Information Base (MIB) is a collection of object groups that is managed by…
