PassSpark

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?
  1. 28
  2. 32
  3. 30
  4. 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?
  1. CNAME
  2. MX
  3. PTR
  4. 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?
  1. Increments the source port
  2. Replaces the destination MAC address with its own
  3. Increments the TCP window size
  4. 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?
  1. 802.3ad
  2. 802.1Q
  3. 802.1X
  4. 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?
  1. 802.11a
  2. 802.11b
  3. 802.11g
  4. 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

2026202520242023

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.