semplr.

Exams · Certifications · Licensing

CompTIA Network+ — Practice Exam

4.0 Network Security: practice questions

Our CompTIA Network+ bank has 46 questions on this topic. Here are 5 of them with answers; the full mock exam draws from every topic, like the real one.

Start the free mock exam

Question 1

Thousands of compromised devices send traffic to one website at once. What is this?

  1. Distributed denial-of-service (DDoS)
  2. A single-source denial-of-service flood
  3. ARP spoofing
  4. On-path attack
Show the answer

A. Distributed denial-of-service (DDoS) — A DDoS uses many sources (often a botnet), making simple source blocking ineffective.

Question 2

Which feature stops ARP spoofing by checking ARP packets against DHCP snooping records?

  1. Port mirroring
  2. BPDU guard on all access ports
  3. Dynamic ARP inspection
  4. Jumbo frames
Show the answer

C. Dynamic ARP inspection — DAI drops ARP replies that do not match the trusted IP-to-MAC bindings.

Question 3

Users typing a bank's name are sent to a fake site because the resolver's cache holds a forged record. What attack is this?

  1. ARP poisoning of the local gateway
  2. DNS cache poisoning
  3. Evil twin
  4. Smurf attack
Show the answer

B. DNS cache poisoning — DNS poisoning inserts false records into a resolver's cache; DNSSEC validation helps prevent it.

Question 4

An unauthorized DHCP server hands clients a malicious default gateway. Which switch feature prevents this?

  1. Spanning tree
  2. DHCP snooping
  3. Jumbo frames
  4. LACP
Show the answer

B. DHCP snooping — DHCP snooping allows server replies only on trusted ports, blocking rogue DHCP servers.

Question 5

A login asks for a password and then a code from an authenticator app. What is this?

  1. Single sign-on with a federated identity provider
  2. Multifactor authentication
  3. Role-based access control
  4. Geofencing
Show the answer

B. Multifactor authentication — MFA combines different factor types: something you know plus something you have.

More CompTIA Network+ topics