CompTIA A+ Core 1 · Domain 2 of 5 · 23% of the exam

CompTIA A+ Core 1 Domain 2: Networking

48 free practice questions for Networking in the CompTIA A+ Core 1 (220-1201) exam. Try each question first, then open "Show answer" for the correct option and explanation.

Networking practice questions

  1. Question 1. A technician must transfer a file securely to a Linux server from the command line. The server accepts SFTP. Which TCP port must be open?

    1. TCP port 21, which carries plain FTP control traffic
    2. TCP port 23, which carries unencrypted Telnet sessions
    3. TCP port 25, which carries SMTP mail between servers
    4. TCP port 22, which carries SSH and SFTP sessions
    Show answer

    Answer: D. TCP port 22, which carries SSH and SFTP sessions

    SFTP runs inside SSH, which listens on TCP 22. FTP uses 20 and 21, Telnet uses 23, and SMTP uses 25.

  2. Question 2. Which protocol and port does a client use to download mail from a server that is configured for POP3 without encryption?

    1. IMAP on TCP port 143
    2. POP3 on TCP port 110
    3. SMTP on TCP port 25
    4. LDAP on TCP port 389
    Show answer

    Answer: B. POP3 on TCP port 110

    Unencrypted POP3 uses TCP 110. IMAP uses 143, SMTP uses 25, and LDAP uses 389.

  3. Question 3. A help desk analyst is configuring a client's outgoing mail server setting. Which protocol is responsible for sending email?

    1. SMTP, the Simple Mail Transfer Protocol
    2. IMAP, the Internet Message Access Protocol
    3. POP3, the Post Office Protocol version 3
    4. SNMP, the Simple Network Management Protocol
    Show answer

    Answer: A. SMTP, the Simple Mail Transfer Protocol

    SMTP sends mail from clients to servers and between mail servers. IMAP and POP3 retrieve mail, and SNMP manages network devices.

  4. Question 4. A firewall rule must allow Windows file sharing between two office PCs over a modern network. Which port is required?

    1. TCP 443, used by HTTPS web sessions over TLS
    2. TCP 389, used by LDAP directory lookups
    3. TCP 3389, used by Remote Desktop sessions
    4. TCP 445, used by SMB directly over TCP/IP
    Show answer

    Answer: D. TCP 445, used by SMB directly over TCP/IP

    Modern SMB file sharing runs directly over TCP 445. The older NetBIOS-based method used ports 137 to 139.

  5. Question 5. An older Windows network still resolves computer names with NetBIOS. Which port range does NetBIOS over TCP/IP use?

    1. Ports 20 to 21
    2. Ports 67 to 68
    3. Ports 137 to 139
    4. Ports 161 to 162
    Show answer

    Answer: C. Ports 137 to 139

    NetBIOS over TCP/IP uses 137 (name service), 138 (datagram), and 139 (session). FTP uses 20 and 21, DHCP uses 67 and 68, and SNMP uses 161 and 162.

  6. Question 6. A client is set to obtain its IP address automatically. Which UDP ports are used when it requests an address?

    1. UDP 53 and 54, used by DNS servers and clients
    2. UDP 161 and 162, used by SNMP agents and managers
    3. UDP 67 and 68, used by DHCP servers and clients
    4. UDP 137 and 138, used by NetBIOS name services
    Show answer

    Answer: C. UDP 67 and 68, used by DHCP servers and clients

    DHCP servers listen on UDP 67 and clients use UDP 68. DNS uses 53, and SNMP uses 161 and 162.

  7. Question 7. Why does DNS normally use UDP for name lookups instead of TCP?

    1. Lookups are small and fast, so connectionless UDP avoids handshake overhead
    2. Lookups are large and slow, so connectionless UDP adds reliable delivery
    3. Lookups are encrypted, so connectionless UDP is needed for the keys
    4. Lookups are broadcast, so connectionless UDP is the only routable option
    Show answer

    Answer: A. Lookups are small and fast, so connectionless UDP avoids handshake overhead

    A query and its reply are usually a single small packet each, so UDP's low overhead fits. DNS falls back to TCP for large responses and zone transfers.

  8. Question 8. Which statement about TCP compared with UDP is correct?

    1. UDP sets up a connection and retransmits lost segments; TCP does neither
    2. TCP sets up a connection and retransmits lost segments; UDP does neither
    3. TCP and UDP both set up a connection, but only TCP is used for web pages
    4. TCP and UDP both retransmit lost data, but only UDP uses port numbers
    Show answer

    Answer: B. TCP sets up a connection and retransmits lost segments; UDP does neither

    TCP is connection-oriented, with a handshake, acknowledgments, and retransmission. UDP is connectionless and leaves reliability to the application. Both use port numbers.

  9. Question 9. A technician connects to a remote Windows desktop with the built-in Remote Desktop Connection client. Which port does this use by default?

    1. Port 3306
    2. Port 5900
    3. Port 8080
    4. Port 3389
    Show answer

    Answer: D. Port 3389

    Microsoft RDP uses port 3389 by default. 3306 is MySQL, 5900 is VNC, and 8080 is a common alternative HTTP port.

  10. Question 10. An administrator is told to stop using Telnet to manage switches. What is the main reason?

    1. Telnet needs a graphical desktop to run its sessions
    2. Telnet sends credentials and commands in clear text
    3. Telnet works only on the same switch it is installed on
    4. Telnet uses UDP, so it drops commands on busy links
    Show answer

    Answer: B. Telnet sends credentials and commands in clear text

    Telnet (TCP 23) is unencrypted, so anyone capturing traffic can read usernames and passwords. SSH on TCP 22 replaces it.

  11. Question 11. Which 802.11 standard is marketed as Wi-Fi 6?

    1. 802.11ac
    2. 802.11n
    3. 802.11ax
    4. 802.11g
    Show answer

    Answer: C. 802.11ax

    802.11ax is Wi-Fi 6 (Wi-Fi 6E when it also uses 6 GHz). 802.11ac is Wi-Fi 5 and 802.11n is Wi-Fi 4.

  12. Question 12. A small office wants to use the 6 GHz band to avoid congestion. Which Wi-Fi generation must both the access point and the clients support?

    1. Wi-Fi 5 or later
    2. Wi-Fi 4 or later
    3. Any 802.11 version
    4. Wi-Fi 6E or later
    Show answer

    Answer: D. Wi-Fi 6E or later

    The 6 GHz band was opened with Wi-Fi 6E and is also used by Wi-Fi 7. Wi-Fi 5 and earlier support only 2.4 GHz and 5 GHz.

  13. Question 13. Compared with the 5 GHz band, what is a typical characteristic of the 2.4 GHz Wi-Fi band?

    1. Longer range and better wall penetration, but fewer channels and more interference
    2. Shorter range and worse wall penetration, but more channels and less interference
    3. Higher top speed and wider channels, with no interference from household devices
    4. Lower power use and longer battery life, but only for wired Ethernet bridges
    Show answer

    Answer: A. Longer range and better wall penetration, but fewer channels and more interference

    2.4 GHz travels further and through obstacles better, but it has only three non-overlapping channels and shares the band with microwaves and Bluetooth.

  14. Question 14. A user's wireless keyboard stutters whenever the office microwave oven is running. What is the most likely explanation?

    1. Both devices use the 2.4 GHz band, so the microwave causes interference
    2. Both devices use the 6 GHz band, so the microwave blocks every channel
    3. Both devices use infrared light, so the microwave scatters the signal
    4. Both devices use a wired USB link, so the microwave drains the power
    Show answer

    Answer: A. Both devices use the 2.4 GHz band, so the microwave causes interference

    Microwave ovens leak energy around 2.45 GHz, which interferes with Bluetooth and 2.4 GHz wireless devices nearby.

  15. Question 15. A warehouse uses tags on pallets that are read automatically as they pass through a doorway, without line of sight. Which technology is this?

    1. Bluetooth, which pairs each tag with a phone as a headset
    2. Infrared, which reads each tag with a direct beam of light
    3. Wi-Fi Direct, which joins each tag to the corporate network
    4. RFID, which reads tags with radio waves from a nearby reader
    Show answer

    Answer: D. RFID, which reads tags with radio waves from a nearby reader

    RFID readers power and read passive tags by radio, with no line of sight needed. That suits inventory tracking.

  16. Question 16. A rural business connects two buildings 3 km apart with directional antennas mounted on masts. What is this connection type called?

    1. Near-field communication
    2. Long-range fixed wireless
    3. Bluetooth personal area network
    4. Digital subscriber line
    Show answer

    Answer: B. Long-range fixed wireless

    Long-range fixed wireless links point directional antennas at each other, often licensed or unlicensed point-to-point radio. NFC and Bluetooth work only over short distances.

  17. Question 17. Which server role automatically gives clients an IP address, subnet mask, default gateway, and DNS server address?

    1. A DNS server
    2. A proxy server
    3. A DHCP server
    4. A syslog server
    Show answer

    Answer: C. A DHCP server

    DHCP leases IP configuration to clients. DNS resolves names, a proxy forwards requests for clients, and syslog collects logs.

  18. Question 18. Users type a website name in a browser, and their computer finds the matching IP address. Which service performs this?

    1. DHCP, which leases IP addresses to network hosts
    2. NAT, which translates private addresses to public
    3. ARP, which maps IP addresses to MAC addresses
    4. DNS, which resolves host names to IP addresses
    Show answer

    Answer: D. DNS, which resolves host names to IP addresses

    DNS translates names such as www.example.com into IP addresses. ARP maps IP addresses to MAC addresses on the local network.

  19. Question 19. A company wants all network devices to send their log messages to one central server for review. Which service should be deployed?

    1. A DHCP server that collects lease requests from devices
    2. A syslog server that collects event messages from devices
    3. A print server that collects print jobs from devices
    4. A file server that collects shared folders from devices
    Show answer

    Answer: B. A syslog server that collects event messages from devices

    Syslog is the standard for sending log messages from routers, switches, firewalls, and servers to a central collector.

  20. Question 20. Which network service provides authentication, authorization, and accounting, for example so that switch administrators sign in with their directory accounts?

    1. An NTP server, such as a GPS time source
    2. A web server, such as Apache or IIS
    3. An AAA server, such as RADIUS or TACACS+
    4. A mail server, such as Exchange or Postfix
    Show answer

    Answer: C. An AAA server, such as RADIUS or TACACS+

    AAA servers (RADIUS, TACACS+) check who a user is, what they may do, and log what they did. Network devices hand sign-ins to them.

  21. Question 21. A small business wants one appliance that combines firewall, antivirus scanning, content filtering, and intrusion prevention. What is this device called?

    1. A unified threat management (UTM) appliance
    2. A load balancer that spreads traffic across servers
    3. A patch panel that terminates the building cabling
    4. A cable modem that connects to the provider network
    Show answer

    Answer: A. A unified threat management (UTM) appliance

    A UTM appliance bundles several security functions in one box, which suits small offices with few IT staff.

  22. Question 22. An online store spreads incoming web requests across four identical web servers so that no single server is overloaded. Which device does this?

    1. A proxy server placed in front of the user browsers
    2. A managed switch placed between the web server racks
    3. A load balancer placed in front of the web servers
    4. An access point placed in the web server room ceiling
    Show answer

    Answer: C. A load balancer placed in front of the web servers

    A load balancer distributes client requests across a pool of servers and can stop sending traffic to a server that fails its health checks.

  23. Question 23. In a company network, all web requests from staff go through a server that can cache pages and block certain sites. What is this server?

    1. A DHCP server that hands out addresses on behalf of the router
    2. A proxy server that makes requests on behalf of the clients
    3. A DNS server that registers domains on behalf of the company
    4. A syslog server that stores events on behalf of the firewall
    Show answer

    Answer: B. A proxy server that makes requests on behalf of the clients

    A forward proxy sits between users and the internet. It can cache content, filter URLs, and log requests.

  24. Question 24. A factory runs industrial machinery controlled by older embedded systems that cannot be patched. What is the best way to reduce their risk?

    1. Isolate them on a separate network segment with strict access rules
    2. Connect them directly to the internet so vendors can reach them
    3. Give them the same Wi-Fi network as the guest visitors' phones
    4. Replace their static IP addresses with addresses from guest DHCP
    Show answer

    Answer: A. Isolate them on a separate network segment with strict access rules

    Legacy and embedded systems such as SCADA controllers often can't be updated. Segmenting them and tightly restricting access limits who can reach them.

  25. Question 25. Which DNS record maps a host name to an IPv4 address?

    1. An MX record
    2. A CNAME record
    3. An AAAA record
    4. An A record
    Show answer

    Answer: D. An A record

    A records map names to IPv4 addresses and AAAA records map names to IPv6 addresses. CNAME creates an alias, and MX names the mail servers.

  26. Question 26. Which DNS record type identifies the mail servers that accept email for a domain?

    1. NS
    2. MX
    3. PTR
    4. CNAME
    Show answer

    Answer: B. MX

    MX (mail exchanger) records list a domain's mail servers with preference values. NS lists name servers and PTR does reverse lookups.

  27. Question 27. A domain owner wants www.example.com to be an alias that points to shop.example.com. Which record type should be created?

    1. An MX record for www that points to shop.example.com
    2. A TXT record for www that points to shop.example.com
    3. A CNAME record for www that points to shop.example.com
    4. An AAAA record for www that points to shop.example.com
    Show answer

    Answer: C. A CNAME record for www that points to shop.example.com

    A CNAME (canonical name) record makes one name an alias of another, so lookups for www follow the target name.

  28. Question 28. An email administrator wants receiving servers to verify that a message's signature was created with the domain's private key. Which mechanism, published in DNS, provides the public key?

    1. DKIM, which publishes a public key in a TXT record
    2. SPF, which publishes a list of allowed sending servers
    3. DMARC, which publishes the policy for failed messages
    4. MX, which publishes the domain's receiving mail servers
    Show answer

    Answer: A. DKIM, which publishes a public key in a TXT record

    DKIM signs outgoing mail. Receivers fetch the public key from a DNS TXT record to check the signature. SPF lists authorized senders and DMARC sets the policy.

  29. Question 29. A company wants receiving mail servers to reject messages that claim to come from its domain but are sent from servers it does not use. Which DNS record lists its authorized sending servers?

    1. A PTR record
    2. An NS record
    3. An SRV record
    4. An SPF record
    Show answer

    Answer: D. An SPF record

    SPF (Sender Policy Framework), published as a TXT record, lists the IP addresses or hosts allowed to send mail for the domain.

  30. Question 30. A network printer must always receive the same IP address from DHCP. What should be configured on the DHCP server?

    1. An exclusion that removes the printer's MAC address from every lease
    2. A reservation that ties the printer's MAC address to one IP address
    3. A shorter lease time so the printer renews its address more often
    4. A second scope so the printer gets an address from another subnet
    Show answer

    Answer: B. A reservation that ties the printer's MAC address to one IP address

    A DHCP reservation always gives a specific MAC address the same IP address, while keeping the device managed by DHCP.

  31. Question 31. Several servers in a subnet have static IP addresses in the same range that the DHCP server hands out. How can address conflicts be prevented?

    1. Configure a DHCP reservation for every client that joins later
    2. Configure a longer DHCP lease time for every client in the scope
    3. Configure a DHCP exclusion range for the servers' static addresses
    4. Configure a second DNS server for every client in the subnet
    Show answer

    Answer: C. Configure a DHCP exclusion range for the servers' static addresses

    An exclusion range stops DHCP from handing out those addresses, so it never leases an IP that a server already uses statically.

  32. Question 32. What is a DHCP scope?

    1. The range of IP addresses and options a DHCP server can lease on a subnet
    2. The list of DNS names a DHCP server can register for a single host
    3. The amount of time a client can keep using an address after it expires
    4. The group of MAC addresses a DHCP server must never give an address to
    Show answer

    Answer: A. The range of IP addresses and options a DHCP server can lease on a subnet

    A scope defines the address pool for a subnet plus options such as the subnet mask, gateway, and DNS servers. The lease time is a setting within it.

  33. Question 33. An office wants to separate the accounting department's traffic from guest devices that are plugged into the same physical switch. What should be configured?

    1. A hub, so each group shares one collision domain
    2. APIPA, so each group picks its own private address
    3. A longer patch cable, so each group is further apart
    4. VLANs, so each group is on its own logical network
    Show answer

    Answer: D. VLANs, so each group is on its own logical network

    VLANs split one physical switch into separate logical networks. Traffic between them must pass through a router or firewall, where it can be controlled.

  34. Question 34. Remote employees need a secure, encrypted connection to the company network over the internet. What should they use?

    1. A VPN that creates an encrypted tunnel to the company network
    2. A VLAN that creates a separate segment on the home network
    3. A DHCP scope that assigns a company address to the home PC
    4. A CNAME record that creates an alias for the home router
    Show answer

    Answer: A. A VPN that creates an encrypted tunnel to the company network

    A VPN encrypts traffic between the remote device and the company gateway, so it can cross the public internet safely.

  35. Question 35. What is the main difference between an unmanaged switch and a managed switch?

    1. An unmanaged switch can be configured, for example with VLANs and routing
    2. A managed switch forwards traffic to every port, like a hub does
    3. An unmanaged switch needs a static IP address before it forwards frames
    4. A managed switch can be configured, for example with VLANs and port settings
    Show answer

    Answer: D. A managed switch can be configured, for example with VLANs and port settings

    Unmanaged switches are plug-and-play. Managed switches allow VLANs, port security, monitoring, and other settings.

  36. Question 36. A technician must install an IP camera on a ceiling where there is no power outlet. The switch does not support PoE. What can provide power over the Ethernet cable?

    1. A patch panel between the switch and the camera
    2. A PoE injector between the switch and the camera
    3. A cable tester between the switch and the camera
    4. A loopback plug between the switch and the camera
    Show answer

    Answer: B. A PoE injector between the switch and the camera

    A PoE injector adds power to the Ethernet cable for one device when the switch cannot supply it.

  37. Question 37. Where do the cable runs from wall jacks around an office usually terminate in the wiring closet?

    1. On a cable modem, which is then connected to each PC with coaxial cables
    2. On a firewall, which is then connected to each jack with fiber cables
    3. On a patch panel, which is then connected to the switch with patch cables
    4. On an access point, which is then connected to each desk with Wi-Fi
    Show answer

    Answer: C. On a patch panel, which is then connected to the switch with patch cables

    Horizontal cable runs are punched down on a patch panel. Short patch cables then connect panel ports to switch ports, which keeps moves and changes simple.

  38. Question 38. A home receives fiber-to-the-premises internet. Which device converts the optical signal to Ethernet for the home router?

    1. A DSL modem with a phone-line filter
    2. A cable modem with a coaxial splitter
    3. A PoE injector with a power brick
    4. An optical network terminal (ONT)
    Show answer

    Answer: D. An optical network terminal (ONT)

    With FTTP, the provider installs an ONT that terminates the fiber and gives the router an Ethernet handoff.

  39. Question 39. Which internet connection type uses the existing telephone line and slows down the further the customer is from the provider's exchange?

    1. DSL
    2. Fiber
    3. Cable
    4. Satellite
    Show answer

    Answer: A. DSL

    DSL runs over copper telephone lines, and its speed drops with distance from the exchange or cabinet.

  40. Question 40. A remote cabin has no wired service. Which internet option is most likely to be available, but with higher latency and sensitivity to weather?

    1. Fiber to the home
    2. Cable broadband
    3. Satellite internet
    4. Metro Ethernet
    Show answer

    Answer: C. Satellite internet

    Satellite reaches almost anywhere, but geostationary links add high latency and rain fade can disrupt service. Low-orbit services reduce the latency.

  41. Question 41. A company connects its offices in several cities into one private network. Which network type is this?

    1. A personal area network (PAN)
    2. A wide area network (WAN)
    3. A local area network (LAN)
    4. A storage area network (SAN)
    Show answer

    Answer: B. A wide area network (WAN)

    A WAN spans large geographic distances, such as offices in different cities. A LAN covers one building or campus.

  42. Question 42. Servers in a data center reach shared disk arrays over a dedicated high-speed network used only for block storage. What is this network called?

    1. A metropolitan area network (MAN)
    2. A wireless local area network (WLAN)
    3. A storage area network (SAN)
    4. A personal area network (PAN)
    Show answer

    Answer: C. A storage area network (SAN)

    A SAN gives servers block-level access to shared storage over a dedicated network, often Fibre Channel or iSCSI.

  43. Question 43. A technician must attach new network cable runs to the back of a patch panel. Which tool is used?

    1. A punchdown tool that seats each wire into the IDC terminals
    2. A crimper that presses an RJ45 plug onto each wire
    3. A loopback plug that echoes each signal back to the port
    4. A toner probe that traces each wire to its far end
    Show answer

    Answer: A. A punchdown tool that seats each wire into the IDC terminals

    Patch panels and keystone jacks use IDC (insulation-displacement) terminals, so each conductor is pressed in and trimmed with a punchdown tool.

  44. Question 44. A technician needs to find which unlabelled cable in a bundle connects to a particular wall jack. Which tool fits best?

    1. A crimper, with a new RJ45 plug attached to the jack
    2. A toner and probe, with the tone generator attached to the jack
    3. A multimeter, with the leads touching the jack's faceplate
    4. A Wi-Fi analyzer, with the scanner pointed toward the jack
    Show answer

    Answer: B. A toner and probe, with the tone generator attached to the jack

    The toner puts a signal on the cable at the jack, and the probe sounds when it is near that cable at the other end.

  45. Question 45. A new patch cable was made in-house, and some devices connected with it fail to link. Which tool checks the wiring order and continuity of each pair?

    1. A loopback plug
    2. A punchdown tool
    3. A Wi-Fi analyzer
    4. A cable tester
    Show answer

    Answer: D. A cable tester

    A cable tester checks each wire for continuity, opens, shorts, and miswires such as split or reversed pairs.

  46. Question 46. A technician suspects a desktop's network port is faulty and wants to test it without connecting to a switch. Which tool can help?

    1. A toner probe that traces the port's cable through the ceiling
    2. A punchdown tool that reseats the port's pins on the motherboard
    3. A loopback plug that sends the port's output back to its input
    4. A cable stripper that removes the port's plastic outer cover
    Show answer

    Answer: C. A loopback plug that sends the port's output back to its input

    A loopback plug connects the transmit pins to the receive pins, so the NIC's diagnostics can check that the port sends and receives.

  47. Question 47. Before placing a new access point, a technician wants to see nearby networks, their channels, and signal strengths. Which tool should be used?

    1. A Wi-Fi analyzer
    2. A toner probe
    3. A cable crimper
    4. A punchdown tool
    Show answer

    Answer: A. A Wi-Fi analyzer

    A Wi-Fi analyzer shows SSIDs, channels, signal strength, and interference, which helps choose AP locations and channels.

  48. Question 48. A security team wants to copy all traffic on a network link to a monitoring device without disrupting the link. Which hardware is designed for this?

    1. A cable stripper placed inline on the link
    2. A PoE injector placed inline on the link
    3. A loopback plug placed inline on the link
    4. A network tap placed inline on the link
    Show answer

    Answer: D. A network tap placed inline on the link

    A network tap passes traffic through while sending a copy to a monitoring port, for example for packet capture or IDS analysis.

CompTIA and A+ are trademarks or registered trademarks of CompTIA, Inc. These questions are original study material, not questions from the real exam.