CompTIA Network+ · N10-009 · Domain 4 (14% of the exam)

Network+ Network Security Practice Questions

Network Security is 14% of the Network+ exam. These 15 original questions cover common network attacks, the switch and wireless features that stop them, authentication services, and firewall rule logic. Each answer explains the reasoning.

What these 15 questions cover

  • Wireless, ARP, DNS and VLAN attacks
  • DHCP snooping and port security
  • 802.1X, RADIUS and TACACS+
  • Screened subnets and ACL logic
  • Certificates and the CIA triad
  • Physical security and device hardening
Question 1 of 15

Wireless attacks

Employees report that their laptops joined a network with the company SSID while they were in the parking garage, and they were asked to sign in again on an unfamiliar page. The company has no access points in the garage. Which attack is most likely happening?

All 15 Network+ Network Security questions with answers

Try the set above first. Then open any question below to check the answer and read why it is correct.

  1. Wireless attacks

    1. Employees report that their laptops joined a network with the company SSID while they were in the parking garage, and they were asked to sign in again on an unfamiliar page. The company has no access points in the garage. Which attack is most likely happening?

    • A. MAC flooding
    • B. VLAN hopping
    • C. Evil twin
    • D. DNS poisoning
    Show the answer

    C. Evil twin

    An evil twin is an attacker's access point that broadcasts a legitimate SSID so clients connect to it and give up credentials or traffic. DNS poisoning can also send users to a fake page, but it does not involve an access point imitating the company network.

  2. ARP spoofing

    2. A technician checks the ARP cache on several workstations. On each one, the IP address of the default gateway is mapped to the MAC address of a workstation in the accounting department. Which attack does this indicate?

    • A. ARP spoofing
    • B. DNS poisoning
    • C. Rogue DHCP server
    • D. Distributed denial of service
    Show the answer

    A. ARP spoofing

    In ARP spoofing an attacker sends forged ARP replies so that hosts map the gateway's IP address to the attacker's MAC address, which places the attacker on the path. A rogue DHCP server would hand out a different gateway IP address, not change the MAC address tied to the correct one.

  3. DHCP snooping

    3. Several users suddenly receive addresses in the 192.168.1.0/24 range instead of the company's 10.20.0.0/16 range. A technician finds a consumer router plugged into a wall jack. Which switch feature would have prevented this?

    • A. BPDU guard
    • B. Port mirroring
    • C. Link aggregation
    • D. DHCP snooping
    Show the answer

    D. DHCP snooping

    DHCP snooping lets DHCP server replies through trusted ports only, so offers from a device on an access port are dropped. BPDU guard reacts to spanning tree messages from an unauthorized switch, and a consumer router handing out addresses does not need to send any.

  4. VLAN hopping

    4. An attacker connects a laptop to an office wall jack and runs software that negotiates a trunk with the switch. The laptop can then send traffic into VLANs it was never assigned to. Which attack is this?

    • A. On-path attack
    • B. VLAN hopping
    • C. MAC flooding
    • D. Evil twin
    Show the answer

    B. VLAN hopping

    Forming an unauthorized trunk to reach other VLANs is a VLAN hopping technique known as switch spoofing. Setting user ports to access mode and disabling trunk negotiation prevents it. MAC flooding targets the switch's address table and does not involve trunking.

  5. Port security

    5. A switch starts flooding frames out of every port after one access port sends frames from thousands of different source MAC addresses in a few seconds. Which control best mitigates this attack?

    • A. Port security that limits the MAC addresses learned per port
    • B. A longer DHCP lease time
    • C. Jumbo frames on the access ports
    • D. A captive portal on the user VLAN
    Show the answer

    A. Port security that limits the MAC addresses learned per port

    This is MAC flooding, which fills the switch's address table so it falls back to flooding traffic. Port security caps how many MAC addresses a port may learn and can shut the port when the limit is exceeded. A captive portal controls user access to the network but does not protect the address table.

  6. Network access control

    6. A company wants every wired device to be authenticated against the directory before its switch port will pass any traffic. Which solution should be implemented?

    • A. MAC filtering on each switch
    • B. A screened subnet
    • C. 802.1X with a RADIUS server
    • D. A split tunnel VPN
    Show the answer

    C. 802.1X with a RADIUS server

    802.1X is port-based network access control. The switch keeps the port closed to normal traffic until a RADIUS server has verified the user or device. MAC filtering is weaker because MAC addresses are easy to spoof and nothing is checked against the directory.

  7. AAA protocols

    7. A network team wants central authentication for administrators who log in to routers and switches. It must authorize individual commands and encrypt the entire body of each authentication packet. Which protocol fits best?

    • A. RADIUS
    • B. LDAP
    • C. SAML
    • D. TACACS+
    Show the answer

    D. TACACS+

    TACACS+ separates authentication, authorization and accounting, supports per-command authorization, and encrypts the full packet body. RADIUS is the tempting alternative, but it encrypts only the password field and combines authentication with authorization.

  8. Security zones

    8. A company is deploying a web server that must be reachable from the internet. The security team does not want a compromise of that server to give direct access to the internal LAN. Where should the server be placed?

    • A. On the internal LAN with a static NAT entry
    • B. In a screened subnet
    • C. On the management VLAN
    • D. On the guest wireless network
    Show the answer

    B. In a screened subnet

    A screened subnet, also called a DMZ, holds public-facing servers behind firewall rules that separate them from both the internet and the internal network. Placing the server on the internal LAN with static NAT would put an internet-facing system on the same network as internal hosts.

  9. CIA triad

    9. Before installing a firmware image, a technician compares the SHA-256 hash of the downloaded file with the hash published by the vendor. Which security goal is the technician verifying?

    • A. Confidentiality
    • B. Availability
    • C. Integrity
    • D. Non-repudiation
    Show the answer

    C. Integrity

    A matching hash shows that the file has not been altered or corrupted, which is integrity. Confidentiality is about keeping data secret, and a hash does not hide the contents of the file.

  10. Deception technologies

    10. A security team places a server that looks like a file server full of sensitive documents on the network. No legitimate user has any reason to connect to it, and every connection attempt is logged and investigated. What is this system called?

    • A. Honeypot
    • B. Jump box
    • C. Proxy server
    • D. Screened subnet
    Show the answer

    A. Honeypot

    A honeypot is a decoy system built to attract attackers so their activity can be detected and studied. A jump box is a hardened system that administrators use on purpose to reach protected networks, so it is not a decoy.

  11. Physical security

    11. Security staff notice that unauthorized people enter the data center lobby by walking in closely behind employees who badge in. Which control best prevents this?

    • A. Security cameras in the lobby
    • B. An acceptable use policy
    • C. Locking equipment racks
    • D. An access control vestibule
    Show the answer

    D. An access control vestibule

    The behavior is tailgating, and an access control vestibule stops it by using two interlocking doors that admit one authenticated person at a time. Cameras are a detective control. They record the tailgating but do not stop it.

  12. DNS attacks

    12. Users type the correct address for the company's bank but land on a fake login page. The technician finds that the internal DNS resolver has cached a forged record for the bank's hostname. Which attack occurred?

    • A. ARP spoofing
    • B. DNS poisoning
    • C. Evil twin
    • D. Shoulder surfing
    Show the answer

    B. DNS poisoning

    DNS poisoning inserts a false record into a resolver's cache so that a legitimate name resolves to an attacker's address. ARP spoofing also redirects traffic, but it works by forging MAC address mappings on the local segment, not by changing DNS records.

  13. Certificates

    13. The private key for a web server certificate is exposed. The certificate does not expire for another year. What should the administrator do so that clients stop trusting that certificate now?

    • A. Wait for the certificate to expire
    • B. Generate a new certificate signing request with the same key pair
    • C. Have the certificate authority revoke it so it appears on the CRL
    • D. Change the DNS record for the web server
    Show the answer

    C. Have the certificate authority revoke it so it appears on the CRL

    Revoking the certificate places its serial number on the certificate revocation list, and it is also reported through OCSP, so clients that check revocation reject it before the expiry date. Reusing the same key pair for a new request keeps the compromised private key in service.

  14. Device hardening

    14. A conference room has several live wall jacks that are not in use. Which hardening step most directly reduces the risk of a visitor plugging in an unauthorized device?

    • A. Disabling the unused switch ports
    • B. Changing the default administrator password on the switch
    • C. Enabling PortFast on the unused switch ports
    • D. Upgrading the switch firmware
    Show the answer

    A. Disabling the unused switch ports

    Administratively disabling unused ports means a device plugged into those jacks gets no link at all. Changing default credentials is good hardening, but it protects the switch's management interface and does not stop a device from joining the network through an open port.

  15. Access control lists

    15. A firewall has only two rules. Rule 1 permits TCP port 443 from any source to 10.0.5.10. Rule 2 permits TCP port 22 from 10.0.9.0/24 to 10.0.5.10. A host at 10.0.8.15 tries to open an SSH session to 10.0.5.10. What happens?

    • A. It is permitted by rule 1
    • B. It is permitted by rule 2
    • C. It is permitted because no rule denies it
    • D. It is blocked by the implicit deny
    Show the answer

    D. It is blocked by the implicit deny

    SSH uses TCP port 22, so rule 1 does not match, and the source 10.0.8.15 is outside 10.0.9.0/24, so rule 2 does not match either. Traffic that matches no permit rule is dropped by the implicit deny at the end of the list.

More Network+ practice questions by topic

Frequently asked questions

How much of the Network+ exam is Network Security?
Network Security is Domain 4 of N10-009 and is weighted at 14% of the exam, the smallest of the five domains. Security ideas also show up in questions from other domains, so the topic matters more than the weight suggests.
How is Network+ security different from Security+?
Network+ concentrates on securing the network itself: switch port protections, wireless security, access control, segmentation, and recognizing network attacks. Security+ goes wider and deeper into governance, risk, cryptography and security operations. What you learn here carries over to Security+.
What is the best way to learn the attack types?
Pair every attack with what it abuses and the control that stops it. For example, a rogue DHCP server is stopped by DHCP snooping, MAC flooding by port security, and tailgating by an access control vestibule. Exam questions usually describe symptoms and ask for the attack or the fix.

Practice Network+ PBQs

Performance-based questions (PBQs) are the hands-on simulations on the real exam. Practice them in our PBQ labs.

More Network+ resources

Want more Network+ Network Security questions?

Practice by domain in the full question bank, take timed mock exams and see exactly where to focus next.

Get started