CompTIA Network+ 2022 past questions and answers
This 2022 CompTIA Network+ set has 20 practice questions. Try these 5 free sample questions, tap a question to reveal the answer and explanation. Then practise the whole 2022 set with instant marking.
Practise the full 2022 setTimed exam mode
Sample CompTIA Network+ 2022 questions
1. A workstation must be placed in an IPv4 subnet using a /27 prefix. How many host addresses are available for assignment to devices, excluding the network and broadcast addresses?
- 28
- 32
- 30
- 62
Answer: C. 30
A /27 leaves 5 host bits, giving 2^5 = 32 total addresses; subtract the network and broadcast addresses to get 30 assignable hosts. A /26 would provide 62 assignable hosts.
2. A company wants the hostname portal.example.net to resolve as an alias of web01.example.net. Which DNS record type should the administrator create?
- CNAME
- MX
- PTR
- SOA
Answer: A. CNAME
A CNAME record maps an alias name to another canonical hostname. An MX record identifies mail exchangers, while PTR records are used for reverse lookups.
3. A router forwards an IPv4 packet to the next network. Which action does it take to help prevent the packet from circulating indefinitely?
- Increments the source port
- Replaces the destination MAC address with its own
- Increments the TCP window size
- Decrements the TTL field
Answer: D. Decrements the TTL field
Each router decrements the IPv4 Time to Live (TTL); when it reaches zero, the packet is discarded. Replacing the Layer 2 destination MAC for the next hop is also normal forwarding behavior, but it does not limit routing loops.
4. A switch link must carry traffic for several VLANs between two switches. Which standard is used to tag VLAN information on the Ethernet trunk?
- 802.3ad
- 802.1Q
- 802.1X
- 802.11i
Answer: B. 802.1Q
IEEE 802.1Q defines VLAN tagging on Ethernet trunks. 802.3ad concerns link aggregation, 802.1X is port-based access control, and 802.11i addresses wireless security.
5. A venue is upgrading wireless service for a dense client environment and wants a modern Wi-Fi standard that can operate in both 2.4 GHz and 5 GHz bands. Which standard best fits?
- 802.11a
- 802.11b
- 802.11g
- 802.11ax
Answer: D. 802.11ax
802.11ax (Wi-Fi 6) operates in the 2.4 GHz and 5 GHz bands and includes efficiency improvements suited to dense deployments. 802.11a is 5 GHz only, while 802.11b and 802.11g are older 2.4 GHz standards.
More CompTIA Network+ years
All CompTIA Network+ years · CompTIA subjects
PassSpark questions are original practice questions written to each exam's syllabus and format, in the style of past questions. They are not official past papers and are not affiliated with JAMB, WAEC, NECO, any university or any exam body.