CompTIA Network+ · Domain 2 of 5 · 20% of the exam

CompTIA Network+ Domain 2: Network Implementation

40 free practice questions for Network Implementation in the CompTIA Network+ (N10-009) exam. Try each question first, then open "Show answer" for the correct option and explanation.

Network Implementation practice questions

  1. Question 1. A switch must carry traffic for VLANs 10, 20, and 30 to another switch over one link. What should the link be configured as?

    1. An access port in VLAN 10
    2. A port-mirroring session
    3. A half-duplex link
    4. An 802.1Q trunk
    Show answer

    Answer: D. An 802.1Q trunk

    Trunks tag frames with VLAN IDs so multiple VLANs share one physical link.

  2. Question 2. Untagged frames arriving on an 802.1Q trunk are placed in which VLAN?

    1. The voice VLAN
    2. The native VLAN
    3. VLAN 4095
    4. The management VLAN always
    Show answer

    Answer: B. The native VLAN

    The native VLAN carries untagged traffic. Mismatched native VLANs cause problems.

  3. Question 3. An IP phone and a PC share one switch port. How should the port be configured?

    1. As an access port with a data VLAN and a voice VLAN
    2. As a trunk allowing all VLANs
    3. As a routed port with no VLAN
    4. As a disabled port with PoE only
    Show answer

    Answer: A. As an access port with a data VLAN and a voice VLAN

    A voice VLAN lets the phone tag its traffic while the PC stays in the data VLAN.

  4. Question 4. Which protocol prevents layer 2 loops by blocking redundant switch paths?

    1. Spanning Tree Protocol (802.1D, or RSTP 802.1w)
    2. Link Layer Discovery Protocol
    3. Virtual Router Redundancy Protocol
    4. Dynamic Host Configuration Protocol
    Show answer

    Answer: A. Spanning Tree Protocol (802.1D, or RSTP 802.1w)

    STP elects a root bridge and blocks ports that would form loops.

  5. Question 5. Two switch ports are bundled to increase bandwidth and provide redundancy. What is this called?

    1. Port mirroring with SPAN
    2. Port security with sticky MACs
    3. Jumbo frames on both ports
    4. Link aggregation with LACP
    Show answer

    Answer: D. Link aggregation with LACP

    LACP negotiates bundles that act as one logical link.

  6. Question 6. A security camera needs power and data over one Ethernet cable at up to about 25.5 W at the device. Which standard fits?

    1. PoE+ (802.3at)
    2. PoE (802.3af)
    3. 802.11ax
    4. 802.1X
    Show answer

    Answer: A. PoE+ (802.3at)

    PoE+ delivers about 30 W at the switch port and 25.5 W at the device. 802.3bt provides more.

  7. Question 7. Which frame size setting is used to improve efficiency for storage traffic by sending larger frames?

    1. Jumbo frames (MTU around 9000 bytes)
    2. Runt frames under 64 bytes
    3. Standard 1500-byte MTU only
    4. Giant frames blocked by default
    Show answer

    Answer: A. Jumbo frames (MTU around 9000 bytes)

    Jumbo frames reduce overhead but must be supported end to end.

  8. Question 8. A traffic analyzer must see copies of all traffic on a switch port. What should be configured?

    1. Port security
    2. A trunk port
    3. Port mirroring (SPAN)
    4. BPDU guard
    Show answer

    Answer: C. Port mirroring (SPAN)

    Mirroring copies traffic from source ports or VLANs to the analyzer port.

  9. Question 9. Which routing type is configured manually by an administrator and doesn't adapt to link failures by itself?

    1. Static routing
    2. OSPF
    3. EIGRP
    4. BGP
    Show answer

    Answer: A. Static routing

    Static routes are simple and predictable but need manual changes.

  10. Question 10. A router has routes to 10.1.0.0/16 and 10.1.5.0/24. Which route is used for a packet to 10.1.5.9?

    1. 10.1.5.0/24, the longest prefix match
    2. 10.1.0.0/16, the shorter prefix
    3. Both, alternating per packet
    4. The default route
    Show answer

    Answer: A. 10.1.5.0/24, the longest prefix match

    Routers prefer the most specific matching prefix.

  11. Question 11. Two routing protocols both offer a route to the same network. What decides which route is installed?

    1. Administrative distance
    2. The hop count only
    3. The interface speed only
    4. The router's hostname
    Show answer

    Answer: A. Administrative distance

    Lower administrative distance means a more trusted source. Metrics compare routes within one protocol.

  12. Question 12. Which dynamic routing protocol is a link-state protocol commonly used inside an enterprise?

    1. RIP
    2. OSPF
    3. BGP
    4. Static routing
    Show answer

    Answer: B. OSPF

    OSPF builds a map of the network and calculates shortest paths with Dijkstra's algorithm.

  13. Question 13. Which routing protocol is used between organizations and ISPs on the internet?

    1. BGP
    2. OSPF
    3. RIPv2
    4. EIGRP
    Show answer

    Answer: A. BGP

    BGP is a path-vector exterior gateway protocol for routing between autonomous systems.

  14. Question 14. Two routers share a virtual IP so hosts keep their default gateway if one router fails. What protocol provides this?

    1. Spanning Tree Protocol
    2. Link Aggregation Control Protocol
    3. Network Time Protocol
    4. A first hop redundancy protocol such as VRRP or HSRP
    Show answer

    Answer: D. A first hop redundancy protocol such as VRRP or HSRP

    FHRPs present a virtual gateway address that moves to the backup router.

  15. Question 15. A router sends a packet with a TTL that reaches zero. What happens?

    1. The packet is forwarded with a TTL of 255
    2. The packet is sent to the default route
    3. The router reboots to clear the loop
    4. The packet is discarded and an ICMP time exceeded message is sent
    Show answer

    Answer: D. The packet is discarded and an ICMP time exceeded message is sent

    TTL prevents packets from looping forever. Traceroute uses this behavior.

  16. Question 16. Which device connects two different networks and forwards packets based on IP addresses?

    1. Hub
    2. Unmanaged switch
    3. Router
    4. Repeater
    Show answer

    Answer: C. Router

    Routers work at layer 3 and separate broadcast domains.

  17. Question 17. Which statement about a layer 3 switch is correct?

    1. It can only forward frames within one VLAN
    2. It works only at the physical layer
    3. It can route between VLANs using switched virtual interfaces
    4. It replaces the need for IP addresses
    Show answer

    Answer: C. It can route between VLANs using switched virtual interfaces

    SVIs act as default gateways for VLANs on a multilayer switch.

  18. Question 18. A DHCP server is in a different subnet from the clients. What must the client-side router do?

    1. Act as a DHCP relay (IP helper) to forward requests
    2. Block UDP ports 67 and 68
    3. Assign APIPA addresses to clients
    4. Run a second DHCP server on each port
    Show answer

    Answer: A. Act as a DHCP relay (IP helper) to forward requests

    DHCP discover messages are broadcasts, so a relay forwards them to the server as unicast.

  19. Question 19. A printer should always receive the same IP address from DHCP. What should be configured?

    1. A larger DHCP scope for the subnet
    2. A DHCP reservation for its MAC address
    3. A shorter lease time for all clients
    4. A DNS CNAME record for the printer
    Show answer

    Answer: B. A DHCP reservation for its MAC address

    Reservations map a MAC address to a fixed IP within DHCP.

  20. Question 20. Which DHCP setting tells clients which router to use to leave their subnet?

    1. The lease time
    2. The exclusion range
    3. The default gateway option
    4. The DNS suffix
    Show answer

    Answer: C. The default gateway option

    DHCP options also provide DNS servers, domain names, and more.

  21. Question 21. Which DNS record maps a hostname to an IPv6 address?

    1. AAAA
    2. A
    3. PTR
    4. MX
    Show answer

    Answer: A. AAAA

    A records hold IPv4 addresses, and AAAA records hold IPv6 addresses.

  22. Question 22. Which DNS record type is used for reverse lookups from an IP address to a name?

    1. CNAME
    2. SRV
    3. TXT
    4. PTR
    Show answer

    Answer: D. PTR

    PTR records live in reverse zones such as in-addr.arpa.

  23. Question 23. Which DNS record directs email for a domain to the right mail servers?

    1. MX
    2. NS
    3. SOA
    4. AAAA
    Show answer

    Answer: A. MX

    MX records list mail servers with priority values.

  24. Question 24. Which DNS record type is often used to publish SPF and domain verification strings?

    1. PTR
    2. CNAME
    3. TXT
    4. A
    Show answer

    Answer: C. TXT

    TXT records hold free-form text used by SPF, DKIM, DMARC, and verification.

  25. Question 25. Which DNS record makes one hostname an alias of another hostname?

    1. MX
    2. NS
    3. SOA
    4. CNAME
    Show answer

    Answer: D. CNAME

    A CNAME points to a canonical name, which is then resolved to an address.

  26. Question 26. A company wants DNS responses to be validated as authentic and unmodified. What should be deployed?

    1. DNS over plain UDP only
    2. A larger TTL on records
    3. Round-robin DNS
    4. DNSSEC
    Show answer

    Answer: D. DNSSEC

    DNSSEC signs records so resolvers can verify them.

  27. Question 27. Which option encrypts DNS queries between a client and its resolver?

    1. DNSSEC signatures only
    2. A zone transfer over TCP
    3. Reverse lookup zones
    4. DNS over HTTPS or DNS over TLS
    Show answer

    Answer: D. DNS over HTTPS or DNS over TLS

    DoH and DoT protect query privacy. DNSSEC provides integrity, not encryption.

  28. Question 28. A new wireless deployment must cover a large warehouse evenly. What should be done before installing access points?

    1. Installing APs at maximum power in one corner
    2. Using only 2.4 GHz channel 6 everywhere
    3. Disabling all security to reduce overhead
    4. A site survey to plan AP placement and channels
    Show answer

    Answer: D. A site survey to plan AP placement and channels

    Site surveys measure coverage and interference to place APs correctly.

  29. Question 29. Many access points in an office must be configured and updated centrally. What should be used?

    1. Autonomous APs configured one by one
    2. A hub connecting all APs
    3. Ad hoc mode on each laptop
    4. A wireless LAN controller or cloud-managed APs
    Show answer

    Answer: D. A wireless LAN controller or cloud-managed APs

    Controllers push configuration, handle roaming, and manage channels and power.

  30. Question 30. Guests must see a web page and accept terms before they can use the Wi-Fi. What should be configured?

    1. WPA3-Enterprise for guests
    2. MAC filtering for every guest
    3. A hidden SSID
    4. A captive portal on a separate guest network
    Show answer

    Answer: D. A captive portal on a separate guest network

    Captive portals intercept web traffic until the user authenticates or accepts terms.

  31. Question 31. Which rack unit measurement describes a device 1.75 inches tall?

    1. 2U
    2. 4U
    3. 0.5U
    4. 1U
    Show answer

    Answer: D. 1U

    One rack unit is 1.75 inches (44.45 mm).

  32. Question 32. Which piece of equipment connects horizontal cabling from wall jacks to switches in a wiring closet?

    1. A media converter
    2. A patch panel
    3. A demarcation point
    4. A load balancer
    Show answer

    Answer: B. A patch panel

    Patch panels terminate permanent cabling, and patch cords connect them to switch ports.

  33. Question 33. Where does the service provider's responsibility typically end and the customer's begin?

    1. The core switch
    2. The patch panel in each office
    3. The demarcation point (demarc)
    4. The user's desk jack
    Show answer

    Answer: C. The demarcation point (demarc)

    The demarc is the boundary between provider and customer equipment.

  34. Question 34. Which cooling design places racks so that cold air intakes face each other and exhausts face each other?

    1. Random rack orientation
    2. Single row with no aisles
    3. Hot aisle/cold aisle
    4. Top-of-rack cooling only
    Show answer

    Answer: C. Hot aisle/cold aisle

    Separating hot and cold air improves cooling efficiency.

  35. Question 35. A server room needs power protection for short outages and time for a graceful shutdown. What should be installed?

    1. A power strip with a switch
    2. A single power supply per server only
    3. An uninterruptible power supply (UPS)
    4. A KVM switch
    Show answer

    Answer: C. An uninterruptible power supply (UPS)

    A UPS bridges short outages. Generators handle longer ones.

  36. Question 36. Which fire suppression approach is preferred in data centers to avoid water damage to equipment?

    1. A clean agent (gas-based) system
    2. Standard wet-pipe sprinklers only
    3. Portable foam extinguishers only
    4. No fire suppression at all
    Show answer

    Answer: A. A clean agent (gas-based) system

    Clean agents suppress fire without leaving residue on equipment.

  37. Question 37. Which statement about a switch's MAC address table is correct?

    1. It maps IP addresses to MAC addresses for hosts
    2. It stores routes to remote networks and next hops
    3. It lists the DNS names of devices on each port
    4. It maps learned source MAC addresses to switch ports
    Show answer

    Answer: D. It maps learned source MAC addresses to switch ports

    Switches learn source MACs and forward frames based on destination MACs.

  38. Question 38. Which protocol lets a host find the MAC address for an IPv4 address on the local network?

    1. DNS
    2. DHCP
    3. ICMP
    4. ARP
    Show answer

    Answer: D. ARP

    ARP broadcasts a request, and the owner of the IP replies with its MAC.

  39. Question 39. In IPv6, which protocol replaces ARP for finding neighbors' link-layer addresses?

    1. DHCPv6 in stateful mode
    2. ICMPv4 echo requests
    3. Neighbor Discovery Protocol
    4. Reverse ARP broadcasts
    Show answer

    Answer: C. Neighbor Discovery Protocol

    NDP uses ICMPv6 messages for address resolution and router discovery.

  40. Question 40. Which network device regenerates a signal to extend distance but makes no forwarding decisions?

    1. A router
    2. A repeater
    3. A firewall
    4. A layer 3 switch
    Show answer

    Answer: B. A repeater

    Repeaters work at layer 1 and simply boost the signal.

CompTIA and Network+ are trademarks or registered trademarks of CompTIA, Inc. These questions are original study material, not questions from the real exam.