CompTIA A+ Networking Practice Test: Ports, Protocols and IP Addressing
- Ports, Protocols and IP Addressing
- 10 questions
- 13 minutes
Ten questions on the networking facts that come up on almost every entry-level IT exam. Tip: link each protocol to its job and its port number together.
Tap an option to mark your answer. You can change your mind, or tap the same option again to leave the question blank. The correct answers and explanations appear when you finish the test.Tap an option to answer; tap it again to leave the question blank.
Your result
- 0 correct
- 0 wrong
- 0 blank
-
Question 1
Which port does HTTPS use by default?
Correct answer: C
HTTPS defaults to TCP port 443. Port 80 is plain HTTP, 21 is FTP control and 110 is POP3.
-
Question 2
An administrator needs an encrypted way to manage a remote server from the command line. Which protocol fits?
Correct answer: A
SSH encrypts the whole session. Telnet sends everything, including passwords, as clear text, and FTP and TFTP are file transfer protocols.
-
Question 3
What does a DHCP server do on a network?
Correct answer: D
DHCP hands out addresses, masks, gateways and DNS servers. Name translation is the job of DNS, and routing is done by routers.
-
Question 4
A Windows computer shows the address 169.254.18.7 and cannot reach the internet. What does this address most likely mean?
Correct answer: B
The 169.254.0.0/16 range is used for automatic private addressing when no DHCP answer arrives. It is a sign of a DHCP or connectivity problem.
-
Question 5
Which of the following is a private IPv4 address?
Correct answer: D
Private ranges are 10.0.0.0/8, 172.16.0.0/12 (172.16 to 172.31) and 192.168.0.0/16. The other addresses fall just outside those ranges.
-
Question 6
Which protocol does an email client use to send an outgoing message to a mail server?
Correct answer: A
SMTP sends mail. IMAP and POP3 retrieve mail from a server, and SNMP is used for monitoring network devices.
-
Question 7
A network uses the subnet mask 255.255.255.0. How many usable host addresses does this subnet provide?
Correct answer: C
A /24 has 256 addresses, minus the network address and the broadcast address, which leaves 254 for hosts.
-
Question 8
Which device forwards Ethernet frames to the correct port by learning the MAC addresses of connected devices?
Correct answer: B
A switch builds a MAC address table and sends frames only where needed. A hub repeats every signal to all ports, and a router makes decisions by IP address.
-
Question 9
Which statement about 2.4 GHz and 5 GHz Wi-Fi bands is generally true?
Correct answer: A
Higher frequencies carry more data but are absorbed more by walls and distance. The 2.4 GHz band reaches farther but is slower and more crowded.
-
Question 10
A technician wants to check whether each wire in a patch cable is connected to the correct pin. Which tool is best?
Correct answer: D
A cable tester checks continuity and pin order. A crimper, punch-down tool and stripper are used to build or terminate cables, not to verify them.
Questions you leave blank are not counted as wrong.