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
-
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?
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.
-
Question 2. Which protocol and port does a client use to download mail from a server that is configured for POP3 without encryption?
Show answer
Answer: B. POP3 on TCP port 110
Unencrypted POP3 uses TCP 110. IMAP uses 143, SMTP uses 25, and LDAP uses 389.
-
Question 3. A help desk analyst is configuring a client's outgoing mail server setting. Which protocol is responsible for sending email?
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.
-
Question 4. A firewall rule must allow Windows file sharing between two office PCs over a modern network. Which port is required?
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.
-
Question 5. An older Windows network still resolves computer names with NetBIOS. Which port range does NetBIOS over TCP/IP use?
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.
-
Question 6. A client is set to obtain its IP address automatically. Which UDP ports are used when it requests an address?
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.
-
Question 7. Why does DNS normally use UDP for name lookups instead of TCP?
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.
-
Question 8. Which statement about TCP compared with UDP is correct?
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.
-
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?
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.
-
Question 10. An administrator is told to stop using Telnet to manage switches. What is the main reason?
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.
-
Question 11. Which 802.11 standard is marketed as Wi-Fi 6?
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.
-
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?
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.
-
Question 13. Compared with the 5 GHz band, what is a typical characteristic of the 2.4 GHz Wi-Fi band?
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.
-
Question 14. A user's wireless keyboard stutters whenever the office microwave oven is running. What is the most likely explanation?
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.
-
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?
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.
-
Question 16. A rural business connects two buildings 3 km apart with directional antennas mounted on masts. What is this connection type called?
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.
-
Question 17. Which server role automatically gives clients an IP address, subnet mask, default gateway, and DNS server address?
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.
-
Question 18. Users type a website name in a browser, and their computer finds the matching IP address. Which service performs this?
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.
-
Question 19. A company wants all network devices to send their log messages to one central server for review. Which service should be deployed?
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.
-
Question 20. Which network service provides authentication, authorization, and accounting, for example so that switch administrators sign in with their directory accounts?
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.
-
Question 21. A small business wants one appliance that combines firewall, antivirus scanning, content filtering, and intrusion prevention. What is this device called?
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.
-
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?
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.
-
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?
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.
-
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?
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.
-
Question 25. Which DNS record maps a host name to an IPv4 address?
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.
-
Question 26. Which DNS record type identifies the mail servers that accept email for a domain?
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.
-
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?
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.
-
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?
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.
-
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?
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.
-
Question 30. A network printer must always receive the same IP address from DHCP. What should be configured on the DHCP server?
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.
-
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?
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.
-
Question 32. What is a DHCP scope?
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.
-
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?
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.
-
Question 34. Remote employees need a secure, encrypted connection to the company network over the internet. What should they use?
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.
-
Question 35. What is the main difference between an unmanaged switch and a managed switch?
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.
-
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?
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.
-
Question 37. Where do the cable runs from wall jacks around an office usually terminate in the wiring closet?
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.
-
Question 38. A home receives fiber-to-the-premises internet. Which device converts the optical signal to Ethernet for the home router?
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.
-
Question 39. Which internet connection type uses the existing telephone line and slows down the further the customer is from the provider's exchange?
Show answer
Answer: A. DSL
DSL runs over copper telephone lines, and its speed drops with distance from the exchange or cabinet.
-
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?
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.
-
Question 41. A company connects its offices in several cities into one private network. Which network type is this?
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.
-
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?
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.
-
Question 43. A technician must attach new network cable runs to the back of a patch panel. Which tool is used?
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.
-
Question 44. A technician needs to find which unlabelled cable in a bundle connects to a particular wall jack. Which tool fits best?
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.
-
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?
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.
-
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?
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.
-
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?
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.
-
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?
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.