CompTIA Network+ N10-009 ports and protocols quiz
Review important N10-009 ports, compare TCP and UDP, and test yourself with four troubleshooting scenarios.
Common ports and protocols
For the N10-009 Networking Concepts objective, remember what the service does and which transport it normally uses. A port number can suggest what a service is, but applications can be configured to use other ports.
| Service | Port and transport | What to remember |
|---|---|---|
| SSH / SFTP | TCP 22 | Secure remote shell. SFTP transfers files over SSH. |
| Telnet | TCP 23 | Remote terminal without SSH's encryption. |
| DNS | UDP and TCP 53 | Name resolution commonly uses UDP. TCP is also used, for example when a response is truncated. |
| DHCPv4 | UDP 67 and 68 | 67 is the server port. 68 is the client port. |
| HTTP | TCP 80 | Default for ordinary HTTP. |
| HTTPS | TCP 443 | HTTPS over HTTP/1.1 or HTTP/2 commonly uses TCP 443. HTTP/3 uses QUIC over UDP, usually on the same port number. |
| SNMP | UDP 161 and 162 | Devices typically receive management requests on 161. Managers typically receive notifications on 162. |
| SMB | TCP 445 | Direct-hosted Windows file and printer sharing. |
| RDP | TCP and UDP 3389 | Default port for Windows Remote Desktop. |
Four Network+ practice questions
Say the answer and explain why before opening it. These are original study scenarios.
An administrator can ping a server and needs its encrypted command line. Which default service and port fit?
SSH on TCP 22. Ping confirms IP reachability, while the question asks about secure remote shell access. RDP is a different service.
Short DNS replies work, but a resolver retries after a truncated reply. The firewall currently allows only UDP 53. Which transport should you check next?
TCP 53. DNS can retry over TCP when a UDP response is truncated. Allowing UDP alone can leave failures that affect only some names or responses.
A brand-new DHCPv4 client broadcasts a discovery. Which UDP port is the server listening on and which port does the client use?
Server 67, client 68. Remember who receives the packet. The discovery from the client is destined for the server's port 67.
A monitoring system polls a switch successfully but never receives the notifications the switch sends on its own. Which destination port should you check?
UDP 162 on the management system. Successful polling on UDP 161 does not show that the reverse notification path works.
Official references
Try the port 22 Short
Watch on the Layer Nine Notes YouTube channel
Keep studying
The printable Network+ N10-009 sheet carries the port table alongside OSI, IP addressing and other exam topics.