All CompTIA exams
Free N10-009 practice test: 30 questions with answers
30 original questions for CompTIA Network+, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 100 questions
- Real exam
- Maximum of 90 (multiple choice and performance-based) questions, 90 min
- Passing score
- 720 (scale 100-900)
All 30 N10-009 questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
Networking Fundamentals (6 questions)
Question 1
A switch receives a frame whose destination MAC address is not in its MAC address table. What does the switch do by default?
- ADrops the frame silently
- BReturns the frame to the sender
- CSends the frame only to the default gateway
- DFloods the frame out all ports in the same VLAN except the one it arrived on
Show answer and explanationHide answer
Correct answer: DAn unknown unicast frame is flooded to all other ports in the VLAN so the destination can respond and the switch can learn its location. Dropping, gateway-only forwarding, and returning frames are not default switch behaviour.
Question 2
Which OSI layer is responsible for logical addressing and routing packets between networks?
- ALayer 7, application
- BLayer 3, network
- CLayer 2, data link
- DLayer 4, transport
Show answer and explanationHide answer
Correct answer: BThe network layer handles logical addressing such as IP and routing between networks. Layer 2 handles MAC addressing on a local link, layer 4 handles end-to-end transport, and layer 7 provides application services.
Question 3
A subnet is 192.168.10.0/26. How many usable host addresses does it provide?
- A64
- B30
- C126
- D62
Show answer and explanationHide answer
Correct answer: DA /26 has 6 host bits, giving 64 addresses, minus the network and broadcast addresses, which leaves 62 usable hosts. The other counts ignore the reserved addresses or use the wrong host-bit count.
Question 4
Which IPv4 address is a private address defined in RFC 1918?
- A10.20.30.40
- B8.8.8.8
- C169.254.10.5
- D203.0.113.7
Show answer and explanationHide answer
Correct answer: A10.0.0.0/8 is private under RFC 1918, so 10.20.30.40 is private. 8.8.8.8 is public, 169.254.0.0/16 is link-local, and 203.0.113.0/24 is a documentation range.
Question 5
Which transport protocol provides reliable, ordered delivery with acknowledgments and retransmission?
- AARP
- BTCP
- CICMP
- DUDP
Show answer and explanationHide answer
Correct answer: BTCP provides reliable, ordered delivery using acknowledgments and retransmission. UDP is connectionless and unreliable, ICMP carries control messages, and ARP resolves IP addresses to MAC addresses.
Question 6
Which application protocol and port combination is used for secure web traffic?
- AHTTPS on TCP port 443
- BDNS on TCP port 22
- CHTTP on UDP port 53
- DSMTP on TCP port 80
Show answer and explanationHide answer
Correct answer: AHTTPS uses TCP port 443 for encrypted web traffic. HTTP uses port 80, DNS uses port 53, and SMTP uses port 25 or submission ports, so the other pairings are incorrect.
Network Security (6 questions)
Question 7
A firewall rule must allow web traffic only from the internal subnet to the internet. Which principle does this apply?
- ALeast privilege
- BBroadcast flooding
- COpen-by-default
- DFull access
Show answer and explanationHide answer
Correct answer: AAllowing only the specific traffic needed applies least privilege, which limits exposure. Full access, open-by-default rules, and broadcast flooding are contrary to this principle.
Question 8
Which firewall type inspects the state of connections and tracks whether a packet belongs to an established session?
- AStateful firewall
- BProxy with no session tracking
- CStateless packet filter only
- DHub
Show answer and explanationHide answer
Correct answer: AA stateful firewall tracks connection state and allows return traffic for established sessions. Stateless filters evaluate packets individually, a proxy handles application requests, and a hub has no filtering.
Question 9
Which network device or service inspects traffic for known signatures of attacks and can block them in real time?
- ADNS forwarder
- BIntrusion prevention system (IPS)
- CLoad balancer only
- DDHCP server
Show answer and explanationHide answer
Correct answer: BAn IPS inspects traffic against signatures and behaviour and can block attacks in-line. DHCP servers assign addresses, DNS forwarders resolve names, and load balancers distribute traffic.
Question 10
A company wants to allow remote employees to access internal applications securely from personal devices, with access decided by identity and device health. Which model fits best?
- AZero trust network access
- BOpen VPN for all with no checks
- CShared administrator password
- DPublic Wi-Fi access
Show answer and explanationHide answer
Correct answer: AZero trust network access evaluates identity and device posture for each access request. Open VPN with no checks, shared admin passwords, and public Wi-Fi do not provide that control.
Question 11
Which attack floods a network with traffic so that legitimate users cannot reach a service?
- AShoulder surfing
- BTailgating
- CPhishing
- DDenial-of-service (DoS) attack
Show answer and explanationHide answer
Correct answer: DA DoS attack overwhelms a service so legitimate users cannot use it. Phishing tricks users into giving data, shoulder surfing watches credentials, and tailgating gains physical entry.
Question 12
Which attack involves an attacker secretly relaying and possibly altering communication between two parties who believe they are talking directly?
- AMan-in-the-middle attack
- BBrute-force login
- CPort scanning
- DRootkit installation
Show answer and explanationHide answer
Correct answer: AA man-in-the-middle attack intercepts or alters traffic between two parties. Port scanning maps services, brute-force attacks guess passwords, and rootkits hide malware.
Network Troubleshooting and Tools (6 questions)
Question 13
A user can reach local devices but not the internet. Other users on the same subnet have internet access. Which item should be checked first on the affected workstation?
- AKeyboard layout and locale
- BDefault gateway configuration
- CMonitor display brightness
- DPrinter driver revision
Show answer and explanationHide answer
Correct answer: BIf local traffic works but external does not, the default gateway is a common cause. Monitor brightness, keyboard layout, and printer drivers are unrelated to routing.
Question 14
A workstation shows an IP address in the 169.254.x.x range. What does this most likely indicate?
- AThe device has a working path to the internet, and its DNS lookups are being resolved
- BThe device is a dedicated production server hosting internal services
- CThe device could not reach a DHCP server and self-assigned a link-local address
- DThe device has been assigned a static public IP address by the ISP
Show answer and explanationHide answer
Correct answer: CAddresses in 169.254.0.0/16 are self-assigned when DHCP fails. They do not indicate internet connectivity, static public addressing, or server roles.
Question 15
Users report that a website name does not resolve, but the website's IP address works when typed directly. Which service is most likely failing?
- ADNS
- BDHCP
- CSNMP
- DNTP
Show answer and explanationHide answer
Correct answer: AName resolution is a DNS function, so a failure to resolve names while IP access works points to DNS. DHCP assigns addresses, NTP handles time, and SNMP manages devices.
Question 16
Which command shows the IP configuration of a Windows computer, including the default gateway and DNS servers?
- Anetstat -r only
- Bipconfig /all
- Ctracert /dev/null
- Darp -d
Show answer and explanationHide answer
Correct answer: Bipconfig /all displays detailed IP configuration, including gateway and DNS settings. The other commands perform different functions or are not configuration displays.
Question 17
A technician suspects a duplicate IP address on the network. Which tool reveals the MAC address associated with an IP address on the local network?
- Aarp -a
- Bnetstat -an
- Cnslookup
- Dtracert
Show answer and explanationHide answer
Correct answer: Aarp -a displays the ARP cache, which maps IP addresses to MAC addresses on the local network. Nslookup resolves names, tracert shows hops, and netstat shows connections.
Question 18
A technician needs to find where a cable runs and whether a port is wired correctly. Which tool is most appropriate?
- ASpectrum analyzer
- BMultimeter for DC voltage only
- CProtocol analyzer
- DCable tester
Show answer and explanationHide answer
Correct answer: DA cable tester checks continuity, wiring, and faults in copper cables. Protocol analyzers inspect traffic, spectrum analyzers examine radio frequencies, and multimeters measure electrical values.
Network Operations (6 questions)
Question 19
Which documentation item shows how devices are physically connected, including port-to-port links?
- AStaff rota for on-call engineers
- BSoftware licence sheet for SaaS
- CNetwork diagram and cable map
- DQuarterly regional sales report
Show answer and explanationHide answer
Correct answer: CNetwork diagrams and cable maps show physical and logical connections, which are essential for troubleshooting. Sales reports, rotas, and licence sheets do not show connections.
Question 20
Which protocol is used to synchronize clocks across network devices so that logs can be correlated accurately?
- ANTP
- BTFTP
- CPPP
- DSNMP trap
Show answer and explanationHide answer
Correct answer: ANTP synchronizes device clocks, which matters for accurate log correlation. TFTP transfers files, SNMP traps report events, and PPP is a point-to-point encapsulation protocol.
Question 21
Which network monitoring protocol allows devices to report status and performance data to a management system?
- ADHCP
- BDNS
- CSNMP
- DARP
Show answer and explanationHide answer
Correct answer: CSNMP lets managers poll devices and receive traps for status and performance data. DHCP assigns addresses, DNS resolves names, and ARP maps addresses on a local network.
Question 22
A network team must back up device configurations regularly and keep them off the device. Which practice fits best?
- ARely on memory to recall device settings after each change window
- BKeep the sole copy of the configuration on the device flash, with no backup
- CPrint the configuration and discard the file after the change
- DStore configuration backups on a central server and test restoration
Show answer and explanationHide answer
Correct answer: DCentral backups with restoration tests protect against device failure and confirm that recovery works. Single copies, discarded printouts, and memory do not provide reliable recovery.
Question 23
Which process ensures that a network change is reviewed, approved, and documented before it is made?
- AVLSM subnetting
- BPort mirroring
- CChange management
- DWireshark capture
Show answer and explanationHide answer
Correct answer: CChange management is the process of reviewing, approving, scheduling, and documenting changes to reduce risk. Packet capture, subnetting, and port mirroring are technical tasks.
Question 24
A network team wants to see the traffic patterns and top talkers on a link without capturing every packet. Which technology is most appropriate?
- ADisabling monitoring
- BFull packet capture on every port
- CNetFlow or sFlow
- DPrinting traffic logs
Show answer and explanationHide answer
Correct answer: CFlow monitoring summarizes traffic patterns and top talkers without the storage burden of full capture. Full capture is heavy, printing logs is impractical, and disabling monitoring removes visibility.
Network Implementations (6 questions)
Question 25
A branch office must connect to headquarters over the internet with encryption. Which technology is most appropriate?
- AIPsec VPN
- BWi-Fi bridging
- CSerial console
- DUnencrypted GRE tunnel
Show answer and explanationHide answer
Correct answer: AAn IPsec VPN encrypts traffic across the internet between sites. Unencrypted tunnels provide no confidentiality, Wi-Fi bridging is local, and a serial console is for management.
Question 26
Which routing protocol is an interior gateway protocol that uses link-state advertisements and the Dijkstra algorithm?
- AStatic routing
- BBGP
- CRIP
- DOSPF
Show answer and explanationHide answer
Correct answer: DOSPF is a link-state interior gateway protocol that computes shortest paths using Dijkstra's algorithm. BGP is an exterior protocol, RIP is distance-vector, and static routing is not a dynamic protocol.
Question 27
Which protocol is used by routers to exchange routing information between autonomous systems on the internet?
- AOSPF
- BBGP
- CEIGRP only
- DRIP
Show answer and explanationHide answer
Correct answer: BBGP is the exterior gateway protocol used between autonomous systems. OSPF and RIP are interior protocols, and EIGRP is designed for use within an enterprise.
Question 28
A company needs to give its internal servers private IP addresses but allow them to reach the internet using a shared public address. Which technology provides this?
- ASTP root election
- BDHCP snooping ACL
- CVLAN tagging on trunks
- DNAT overload (PAT)
Show answer and explanationHide answer
Correct answer: DNAT overload maps many private addresses to one public address using ports. DHCP snooping filters DHCP traffic, VLAN tagging separates broadcast domains, and spanning tree prevents loops.
Question 29
Which wireless security protocol is considered the modern standard for personal and enterprise WPA3 networks?
- AWPA3
- BWPS
- COpen authentication
- DWEP
Show answer and explanationHide answer
Correct answer: AWPA3 is the modern Wi-Fi security standard, with stronger protections than earlier options. WEP is obsolete and insecure, WPS is a setup feature with known weaknesses, and open authentication has no encryption.
Question 30
A wireless deployment must support many users in a large office with consistent coverage and roaming. Which design is most appropriate?
- ADisabling roaming on the SSID so clients stay tied to its first access point while walking across the floor
- BA single access point at the front desk, with one omnidirectional antenna serving the whole office floor
- CMultiple access points with overlapping coverage at appropriate channels and power levels
- DRunning one access point at maximum transmit power so it covers the whole floor
Show answer and explanationHide answer
Correct answer: CMultiple APs with planned overlap and sensible channel and power settings provide coverage and roaming. A single AP, maximum power on one device, and disabled roaming do not meet the requirement.