CompTIA Network+ prep
CompTIA Network+
CompTIA Network+Free questions
Get accessfrom $19

CompTIA Network+ · free practice

Free CompTIA Network+ practice questions

25 free questions, each with the reasoning written out. The first five are open right here.

6–25 with a free account
Question 1 of 25Free

A branch office is adding a separate VLAN for 50 IP security cameras. Each camera needs its own IPv4 address, and the VLAN's gateway interface needs one more. No growth is planned, and the team wants the smallest subnet that fits. Which prefix should it assign?

CompTIA Network+ plans

The other 1,225 are waiting.

Every plan includes everything, and every plan is covered by the Pass Guarantee.

nothing to loseDon’t pass? You get your money back.And you keep studying free until your next attempt. How the Pass Guarantee works

Get 3 months of access$39

$39 today. Renews every 3 months at the same price. Cancel anytime.

Secured by StripeCard, Apple Pay, Google Pay
  1. Pick the plan that covers your test date.
  2. Pay securely. Your account is created from your email.
  3. Start your first CompTIA Network+ session right away.

Answer key

The five free CompTIA Network+ questions, with answers

Answer them above first. Then open a question here to read the answer and the reasoning.

Question 1: A branch office is adding a separate VLAN for 50 IP security cameras. Each camera needs its own IPv4 address, and the VLAN's gateway interface needs one more. No growth is planned, and the team wants the smallest subnet that fits. Which prefix should it assign?
  1. /28, which gives 14 usable host addresses
  2. /27, which gives 30 usable host addresses
  3. /26, which gives 62 usable host addresses
  4. /25, which gives 126 usable host addresses

Answer: C. The VLAN needs 51 usable addresses: 50 cameras plus the gateway. For a conventional multiaccess IPv4 subnet, there are 32 minus the prefix length host bits and 2^(host bits) minus 2 usable addresses, reserving network and broadcast. A /26 gives 62, so it fits. A /27 gives 30 and a /28 gives 14, both too few. A /25 gives 126 but is larger than needed. The special /31 point-to-point and /32 host-route cases do not apply to this camera VLAN.

Question 2: At each desk, a Cisco IP phone plugs into a Cisco Catalyst switch port, and the user's PC plugs into the phone's built-in switch port. Phones belong in VLAN 20 and PCs, which send untagged traffic, in VLAN 10. Company standard says ports to user desks must be access ports, and the switch supports voice VLANs. How should the technician configure the switch port?
  1. As an 802.1Q trunk port, with VLAN 20 as the native VLAN
  2. As an access port in VLAN 20, shared by the phone and the PC
  3. As an access port in data VLAN 10, with VLAN 20 as its voice VLAN
  4. As an access port with both VLAN 10 and VLAN 20 set as access VLANs

Answer: C. A voice VLAN lets one access port carry the phone's traffic in a separate voice VLAN while the PC behind the phone stays in the port's access, or data, VLAN. Here that means access VLAN 10 with voice VLAN 20. A trunk breaks the access-port standard, and with VLAN 20 as native, the PC's untagged frames would land in the phone VLAN. Putting the port in VLAN 20 alone mixes the PC with the phones. An access port has one access VLAN, so it cannot list two.

Question 3: An audit tests a switch monitored through SNMPv3 with authentication and privacy. The auditor captures an authenticated polling request and resends it unchanged after its permitted time window has expired. Which SNMPv3 USM mechanism should reject this stale request?
  1. Encryption that conceals the request's managed-object values
  2. Timeliness checks using the authoritative engine's time information
  3. Read-only authorization for the monitoring account
  4. An access list permitting the monitoring server's source address

Answer: B. USM checks authenticated messages for timeliness and rejects messages outside the accepted time window. This limits reuse of old requests even when their authentication data has not been altered. Encryption conceals content but does not by itself establish freshness.

Question 4: A company is adding a web server that customers must reach from the internet. If the server is ever compromised, the attacker must not get a path into the internal LAN. Where should the server go?
  1. On the internal LAN, with a port forward from the firewall to the server
  2. On the guest Wi-Fi VLAN, which already has its own internet access
  3. In a screened subnet that admits web traffic and blocks new connections to the LAN
  4. Behind a honeypot that draws attackers away from the real server

Answer: C. A screened subnet (DMZ) separates public-facing services from the internal LAN. For this company's stated policy, firewall rules admit the required web traffic and deny new connections from the DMZ into the LAN. This limits the available lateral path if the server is compromised; a DMZ is not a guarantee against every compromise. Port-forwarding to a server on the internal LAN places that server inside the trusted network. The guest VLAN is intended for visitors, not this public-service design. A honeypot is a decoy and cannot replace the required segmentation.

Question 5: Thirty users lost network access this morning. A technician tests a theory and confirms it: last night's change moved their ports into the wrong VLAN on a production switch that serves the whole floor. Following the N10-009 troubleshooting methodology, what should the technician do NEXT?
  1. Move the ports back to the correct VLAN right away, then plan any follow-up
  2. Establish a plan of action for the fix and identify its potential effects
  3. Document the findings and close the ticket, since the cause is now known
  4. Question the users again to confirm which symptoms each one is seeing

Answer: B. Testing the theory comes before establishing a plan of action to resolve the problem and identifying its potential effects. On a production switch serving a whole floor, the plan should identify affected ports, timing, dependencies, and rollback. Moving the ports immediately skips that planning step. Document findings throughout troubleshooting, but do not close the ticket before implementing and verifying the repair.