What is the highest valid port number? Enter an integer.
1 TCP, UDP, and Port Fundamentals Online Quiz Questions
Use this free practice quiz with 20 questions to review 1 TCP, UDP, and Port Fundamentals, test your knowledge, and prepare for your next test or exam.
A packet addressed to TCP port 22 must be carrying SSH traffic.
- A
True
- B
False
A client selects source port 50000 for a temporary connection. Which IANA port range category contains this port?
- A
System (well-known)
- B
Dynamic/private
- C
User (registered)
- D
Outside the valid port range
A packet is addressed to destination UDP port 123. Which service is commonly associated with this protocol-and-port pair?
- A
SSH
- B
DHCP
- C
NTP
- D
HTTP
For DHCP, the server uses UDP port , and the client uses UDP port .
What protocol-and-port pair is commonly assigned to SSH?
TCP provides a reliable, ordered byte stream, retransmitting lost data and acknowledging received data.
- A
True
- B
False
Select all statements that correctly describe UDP.
- A
It sends separate datagrams without first establishing a connection.
- B
It guarantees that every message is delivered in order.
- C
It does not itself guarantee delivery or order.
- D
An application can add its own reliability mechanisms.
A network analyst sees traffic using UDP port 443. Which interpretation is best supported?
- A
It cannot be HTTP/3 because HTTPS always uses TCP.
- B
It could be HTTP/3 over QUIC, but the port alone does not prove the application.
- C
It must be DNS because UDP port 443 is reserved for DNS.
- D
It must be NTP because all UDP traffic uses port 123.
A client at 192.0.2.10 sends a TCP request from source port 53000 to a web server at 203.0.113.20, destination port 443. Which port is the better clue to the intended server service?
- A
Port 53000, because client source ports identify the server service.
- B
Both ports equally, because a client and server must use the same port.
- C
Port 443, because it is the destination port associated with the server service.
- D
Neither port, because TCP does not use port numbers.
Together, the source and destination addresses, source and destination ports, and transport distinguish a flow.
Select all service-and-port statements that are correct.
- A
HTTP — TCP 80
- B
NTP — UDP 123
- C
DNS — UDP 53 and TCP 53
- D
HTTPS — TCP only
A device receives traffic addressed to TCP port 53 and UDP port 53. Why are these not the same transport endpoint?
- A
They are the same endpoint because their port numbers match.
- B
UDP port 53 is invalid because only TCP can use port 53.
- C
They are distinct endpoints because TCP and UDP have separate port spaces.
- D
They must belong to different applications because the transports differ.
An application team is choosing a transport for delay-sensitive voice traffic. Compare TCP and UDP for this use case, including their delivery behavior, and explain why neither protocol is universally the better choice.
A DHCP server is waiting to receive client requests. Which destination protocol-and-port pair is conventionally used on the server side?
- A
UDP port 67
- B
UDP port 68
- C
TCP port 67
- D
TCP port 68
In the example flow from 192.0.2.10:53000 to 203.0.113.20:443, what is the client's source port?
A packet is addressed to destination TCP port 22. Which conclusion is justified by the port assignment?
- A
The traffic is definitely SSH because TCP port 22 authenticates the application.
- B
TCP port 22 is a clue that the traffic may be SSH, but it does not prove which program is using the port.
- C
TCP port 22 cannot be associated with any service.
- D
The traffic must be a UDP service because port 22 is a system port.
True or false: HTTPS necessarily uses TCP.
- A
True
- B
False
A packet is addressed to destination UDP port 123. Which common network service does this port conventionally indicate?
An application needs data delivered as a reliable, ordered byte stream, with lost data retransmitted. Which transport protocol fits these requirements?
- A
UDP, because it guarantees ordered delivery without establishing a connection.
- B
TCP, because it provides a reliable, ordered byte stream and retransmits lost data.
- C
UDP, because datagrams are always delivered exactly once.
- D
TCP, because it sends independent datagrams without first establishing a connection.
Related study packs and tools
- Quiz
1 Foundations of Threat Analysis
A medium-difficulty quiz on threat-analysis concepts, evidence, lifecycle, and defensive decisions.
- Flashcards
2 Protocols and Ports
Review how TCP and UDP work, what common network ports indicate, and how to interpret port clues cautiously.
CompTIA A+ NetworkingUpdated - Quiz
2 Protocols and Ports
A medium-difficulty quiz on interpreting network protocols, ports, and common traffic patterns.
CompTIA A+ NetworkingUpdated - Quiz
2 Virtual Machines
A medium-difficulty quiz on virtual machine architecture, provisioning, networking, storage, and operations.
- Quiz
3 Accessories and Peripheral Devices
A medium-difficulty quiz on selecting, connecting, configuring, and troubleshooting laptop accessories and peripheral devices.
CompTIA A+ Mobile DevicesUpdated - Study guide
3 Containers and Containerization
Learn how containers, images, registries, and runtimes work together, and how container isolation compares with virtual machines.
- Quiz
4 Mobile Connectivity
A 14-question quiz on applying mobile connectivity concepts to common settings, usage, and troubleshooting situations.
CompTIA A+ Mobile DevicesUpdated - Quiz
5 Cloud Service Models
A medium-difficulty quiz on applying and distinguishing IaaS, PaaS, and SaaS, including their responsibilities, trade-offs, and appropriate uses.
- Quiz
5 Network Operations and Reliability
A medium-difficulty quiz on network operations, monitoring, configuration management, resilience, and recovery planning.
- Quiz
6 Certificates and Public Key Infrastructure
A medium-difficulty quiz on certificates and public key infrastructure, focused on applying concepts to practical validation and issuance scenarios.
- Quiz
6 Diagnosing Network Problems
A medium-difficulty quiz on diagnosing network problems by testing systematically, interpreting evidence, and narrowing down likely causes.
- Study guide
7 Integrated Troubleshooting Practice
A practical workflow for isolating mixed hardware, display, storage, mobile-device, and network problems, protecting data, and verifying repairs.