CompTIA A+ Core 1 · 220-1201
Objective 2.1: TCP and UDP ports, protocols and what they're for
Try it now: 8 quick questions on this objective, no account needed.
Objective 2.1 · Ports and protocols
1 / 880
Which protocol?
Practice questions for A+ Core 1 objective 2.1, “TCP and UDP ports, protocols and what they're for.” Every question is original, written to the 220-1201 exam objectives, and comes with a full explanation — answer them below to see instant grading.
This objective sits in Domain 2.0: Networking, which is about 23% of the exam — so mastering it moves your readiness score meaningfully.
More 2.1 practice questions
Objective 2.1 · practice questions
1 / 5A technician is configuring firewall rules and needs to allow outbound POP3 traffic for email retrieval. Which port must be permitted?
All 5 questions, with answers
1.A technician is configuring firewall rules and needs to allow outbound POP3 traffic for email retrieval. Which port must be permitted?
- A.25
- B.110
- C.143
- D.587
Answer: B. 110. POP3 (Post Office Protocol version 3) uses port 110 for retrieving email from a mail server to the client device. Unlike IMAP, POP3 typically downloads and deletes messages from the server, storing them locally. Port 25 is SMTP (server-to-server), port 143 is IMAP, and port 587 is authenticated SMTP submission.
2.An employee is configuring a network monitoring application that needs to receive SNMP trap messages. On which port should the application listen?
- A.161
- B.162
- C.389
- D.514
Answer: B. 162. SNMP (Simple Network Management Protocol) uses port 161 for polling (manager queries agents) and port 162 for trap messages (agents proactively send alerts to the manager). The application receiving traps must listen on UDP port 162. Port 389 is LDAP and port 514 is Syslog, both different network management-related protocols.
3.A network engineer is asked to explain the difference between TCP and UDP for the A+ exam. Which statement correctly describes TCP compared to UDP?
- A.TCP is connectionless and delivers data faster with no error checking
- B.TCP is connection-oriented and provides guaranteed delivery with sequencing and error correction
- C.TCP uses less overhead than UDP because it sends raw packets without headers
- D.TCP is used exclusively for real-time applications like VoIP and streaming
Answer: B. TCP is connection-oriented and provides guaranteed delivery with sequencing and error correction. TCP (Transmission Control Protocol) is a connection-oriented protocol that establishes a session via a three-way handshake and provides guaranteed, ordered delivery using sequence numbers, acknowledgements, and retransmission of lost segments. UDP (User Datagram Protocol) is connectionless, offers no delivery guarantees, and is preferred for real-time applications where low latency is more important than reliability, such as VoIP and video streaming. TCP's reliability mechanisms add overhead compared to UDP.
4.Which protocol is responsible for dynamically assigning IP addresses to client devices, and which ports does it use?
- A.DNS using ports 53 UDP and TCP
- B.DHCP using ports 67 and 68
- C.LDAP using port 389
- D.SMTP using port 25
Answer: B. DHCP using ports 67 and 68. DHCP (Dynamic Host Configuration Protocol) uses port 67 on the server side to receive client requests and port 68 on the client side to receive responses. It operates over UDP because the four-step DORA process (Discover, Offer, Request, Acknowledge) requires broadcast communication before a client has an IP address. DNS uses port 53, not DHCP's ports.
5.A security scan identifies port 23 open on a network switch. Why should this be considered a vulnerability?
- A.Port 23 is used for encrypted management and should always be open
- B.Port 23 (Telnet) transmits management credentials in cleartext, making it susceptible to interception
- C.Port 23 is used by SMTP and can be exploited for email relay attacks
- D.Port 23 is a high-numbered port that bypasses firewall rules
Answer: B. Port 23 (Telnet) transmits management credentials in cleartext, making it susceptible to interception. Telnet on port 23 sends all data, including authentication credentials (username and password), in cleartext that can be captured by anyone with access to the network path using a packet sniffer. Network devices should be managed exclusively via SSH on port 22, which encrypts all session data. Discovering open Telnet on managed infrastructure is a high-priority finding in a security audit.
Learn 2.1 and every other objective
Your A+ Core 1 path walks the whole exam in short stops, one objective at a time, and maps where you stand as you go.
Start my A+ Core 1 pathNo account needed to start.