SaveMyCert
Log in
5 of 5 free questions left today·for 10 a day
CCNA practice

CCNA sample questions — 25 answered and explained

25 CCNA sample questions written to the official Cisco Certified Network Associate (CCNA 200-301 v2.0) exam guide, grouped by exam domain and weighted like the real exam. Each shows the correct answer, why every other option is wrong, and the lesson that teaches it. None of them repeat the examples on the other CCNA practice pages.

On this page
25
answers included
Full bank
957
on the practice page
Domains
5
weighted like the exam
Free, no account
5/day
a free account allows 10 a day

Domain 1: Network Infrastructure and Connectivity

25% of the CCNA exam, so 6 of the 25 questions on this page.

Question 1Network Infrastructure and Connectivity

A storage administrator enabled 9000-byte jumbo frames on a server NIC that links to the switch at 10 Gb/s full duplex. The switch port it connects to still uses the default 1500-byte MTU. Which counter on the switch port should rise as a result?

Choose one.

  • a
    runts

    Runts are frames shorter than 64 bytes, the opposite of oversized jumbo frames.

  • b
    late collision

    Late collisions only occur on a half-duplex link, which this full-duplex server link is not.

  • c
    giants Correct

    Frames larger than the port's maximum frame size are counted and discarded as giants.

  • d
    output drops

    Output drops count frames the switch could not queue for transmission, not oversized received frames.

The concept

Oversized received frames are counted as giants.

Why that’s the answer

The switch port accepts standard Ethernet frames sized for a 1500-byte payload. When the server sends 9000-byte frames, the port receives frames larger than its maximum and discards them, incrementing the giants counter (part of input errors). Runts are undersized frames, late collisions need half duplex, and output drops concern the switch's own transmit queues. The fix is to match the MTU on both ends.

How to reason it out
  1. Note the size difference: 9000-byte frames into a 1500-byte port.
  2. Recall that oversized received frames are giants.
  3. Reject undersized (runts), half-duplex (late collisions) and transmit-side (output drops) counters.
  4. Align the MTU on the NIC and the switch.

Exam tip: Giants rising on a port usually means a neighbour is sending bigger frames than the port's MTU allows.

CCNA Interface and Cable Issues: Duplex, Errors, Copper and Fiber Troubleshooting — the lesson that teaches this.

Question 2Network Infrastructure and Connectivity

A legacy lab segment connects several test hosts to one switch port through a hub. The switch port runs 10 Mb/s half duplex. The collisions counter rises slowly, while late collisions and CRC errors stay at zero. What does this indicate?

Choose one.

  • a
    Normal contention among the hosts on a shared half-duplex segment Correct

    CSMA/CD on shared half-duplex media expects ordinary collisions; with no late collisions or CRC errors nothing is wrong.

  • b
    A duplex mismatch between the hub segment and the switch port

    A duplex mismatch shows late collisions on the half-duplex end and CRC errors on the full-duplex end; both are zero.

  • c
    A damaged cable between one of the hosts and the hub

    A damaged cable produces CRC errors and other input errors, which are zero here.

  • d
    A speed mismatch between the hub segment and the switch port

    A speed mismatch keeps the link down; this link is up and passing traffic.

The concept

Collisions are normal on half-duplex shared Ethernet.

Why that’s the answer

A hub creates one collision domain, and every device on it runs half duplex using CSMA/CD: when two transmit at once a collision occurs, both back off and retry. A slowly rising collisions counter on such a segment is expected. Problems are indicated by late collisions (a duplex mismatch or an over-length segment) or CRC errors (cable or interference), and both are zero here.

How to reason it out
  1. Identify the media: hub, so shared half duplex.
  2. Recall that CSMA/CD expects collisions there.
  3. Check the warning counters: late collisions and CRC are zero.
  4. Conclude normal behaviour.

Exam tip: Ordinary collisions on half duplex are normal; late collisions never are.

CCNA Interface and Cable Issues: Duplex, Errors, Copper and Fiber Troubleshooting — the lesson that teaches this.

Question 3Network Infrastructure and Connectivity

An industrial controller supports only 10 Mb/s half duplex, so its switch port is hard-set to speed 10 and duplex half, matching the controller. The cable reaches the controller through two couplers and totals about 160 m. The port logs late collisions but almost no CRC errors. What is the most likely cause?

Choose one.

  • a
    The switch port and the controller disagree on their duplex settings

    Both ends are explicitly set to half duplex, so there is no duplex mismatch here.

  • b
    Interference from nearby machinery is corrupting frames on the cable

    Interference shows mainly as CRC errors, which are almost zero; it does not cause late collisions by itself.

  • c
    The collision count is normal behaviour for a half-duplex segment

    Ordinary collisions are normal on half duplex; late collisions, detected after the first 64 bytes, are not.

  • d
    The cable run exceeds the 100 m twisted-pair segment limit Correct

    Cisco lists an over-length cable run as a cause of late collisions, alongside a duplex mismatch and faulty hardware; with duplex matched, the 160 m run is the suspect.

The concept

Late collisions: a collision detected after the first 64 bytes of a frame, which a correctly built half-duplex segment never produces.

Why that’s the answer

A late collision is a collision detected after the first 64 bytes of a frame have been sent. Cisco's troubleshooting guidance lists its causes as a duplex mismatch, cabling that exceeds Ethernet length limits, and faulty hardware. The stem rules out a duplex mismatch (both ends fixed at half duplex), and the run is about 160 m, beyond the 100 m limit for a twisted-pair segment, so the cabling is the first thing to fix. Interference would show as CRC errors, and ordinary collisions are not late collisions.

How to reason it out
  1. Separate late collisions from ordinary collisions.
  2. Recall the causes of late collisions: duplex mismatch, over-length cabling, faulty hardware.
  3. Eliminate the duplex mismatch using the stem's configuration.
  4. Compare 160 m with the 100 m twisted-pair limit and fix the cabling.

Exam tip: Late collisions with matched duplex point to over-length cabling (or faulty hardware).

CCNA Interface and Cable Issues: Duplex, Errors, Copper and Fiber Troubleshooting — the lesson that teaches this.

Question 4Network Infrastructure and Connectivity

Two wiring closets in a warehouse are joined by a single 140 m Cat6 run. The 1 Gb/s link flaps and logs CRC errors. The engineer must keep a single direct run between the closets, with no switch or repeater added along the path. Which replacement fixes the problem?

Choose one.

  • a
    Multimode fiber with 1000BASE-SX transceivers at both ends Correct

    1000BASE-SX on multimode fiber reaches several hundred metres, so a single 140 m run is within its rating.

  • b
    Cat6a twisted pair with the existing 1000BASE-T ports at both ends

    Every twisted-pair Ethernet category is limited to a 100 m channel; Cat6a does not extend it.

  • c
    Shielded Cat6 twisted pair with the existing 1000BASE-T ports at both ends

    Shielding reduces interference but does not lift the 100 m twisted-pair channel limit.

  • d
    The existing Cat6 run with both ports hard-set to speed 100 and duplex full

    100BASE-TX has the same 100 m limit, so a 140 m copper run remains out of specification.

The concept

Twisted-pair Ethernet is limited to 100 m per channel at every speed and category.

Why that’s the answer

The 100 m limit applies to twisted-pair Ethernet regardless of category or speed: 100BASE-TX, 1000BASE-T and 10GBASE-T on Cat6a all stop at 100 m. A 140 m run is therefore out of specification on any copper option, which explains the CRC errors and flapping. With no active device allowed mid-run, the fix is fiber: 1000BASE-SX on multimode fiber is rated for hundreds of metres at 1 Gb/s.

How to reason it out
  1. Compare the 140 m run with the 100 m twisted-pair limit.
  2. Note the constraint: one direct run, no repeater or switch.
  3. Eliminate every copper option because the limit does not change with category, shielding or speed.
  4. Choose a fiber medium whose reach covers 140 m.

Exam tip: Beyond 100 m, copper needs an active device in the path or the run moves to fiber.

CCNA Interface and Cable Issues: Duplex, Errors, Copper and Fiber Troubleshooting — the lesson that teaches this.

Question 5Network Infrastructure and Connectivity

A data-centre team upgrades two switches joined by an 80 m Cat6 run from 1000BASE-T to 10GBASE-T. At 10 Gb/s the link logs CRC errors and sometimes renegotiates down, although it was clean at 1 Gb/s. Which change lets the run carry 10 Gb/s reliably at this length?

Choose one.

  • a
    Replace the run with Cat5e cable and Cat5e-rated connectors

    Cat5e is rated for 1000BASE-T, not 10GBASE-T, so it is a step backwards.

  • b
    Hard-set both ports to speed 10000 and duplex full on the run

    Forcing settings does not change the cable's electrical performance; 10GBASE-T also requires autonegotiation.

  • c
    Replace just the patch cords at both ends with Cat6a cables

    The 80 m Cat6 permanent link remains the limiting segment, so new patch cords alone do not fix it.

  • d
    Replace the run with Cat6a cable and Cat6a-rated connectors Correct

    Cat6a supports 10GBASE-T to the full 100 m channel; Cat6 supports it only over a much shorter distance.

The concept

Cable category determines which twisted-pair speed is supported at what length.

Why that’s the answer

10GBASE-T needs Cat6a (or better) for a full 100 m channel; on Cat6 it is supported only over a short distance (about 55 m), so an 80 m Cat6 run produces errors at 10 Gb/s even though 1000BASE-T ran cleanly. Recabling the whole channel with Cat6a fixes it. Cat5e is lower grade, forcing speed and duplex does not change the cable, and replacing only the patch cords leaves the long Cat6 segment in place.

How to reason it out
  1. Note the symptom appears only after moving to 10 Gb/s.
  2. Recall that Cat6 supports 10GBASE-T only over a short run.
  3. Recall that Cat6a supports 10GBASE-T to 100 m.
  4. Choose recabling the full channel with Cat6a.

Exam tip: 10GBASE-T to 100 m needs Cat6a; Cat6 stops far short.

CCNA Interface and Cable Issues: Duplex, Errors, Copper and Fiber Troubleshooting — the lesson that teaches this.

Question 6Network Infrastructure and Connectivity

A new desk is placed so that its Cat6 cable to the access switch measures about 120 m. The PC's link keeps dropping and the switch port logs input errors. Which specification does the run exceed?

Choose one.

  • a
    The 185 m maximum segment length for coaxial Ethernet

    185 m applies to the legacy 10BASE2 coaxial standard, not to twisted-pair Cat6.

  • b
    The 550 m maximum reach for multimode fiber Ethernet

    550 m is a typical 1000BASE-SX multimode fiber reach and does not apply to copper.

  • c
    The 100 m maximum channel length for twisted-pair Ethernet Correct

    Twisted-pair Ethernet channels are limited to 100 m, so a 120 m run is out of specification.

  • d
    The 55 m maximum channel length for Cat6 at 1 Gb/s

    The 55 m figure applies to Cat6 at 10 Gb/s; at 1 Gb/s Cat6 reaches the full 100 m.

The concept

Twisted-pair Ethernet has a 100 m channel limit.

Why that’s the answer

Copper twisted-pair Ethernet (10BASE-T, 100BASE-TX, 1000BASE-T, 10GBASE-T on Cat6a) is specified for a 100 m channel, typically 90 m of fixed cabling plus patch cords. At 120 m the signal is too weak and delayed, which shows up as errors and link drops. The other figures belong to coax, multimode fiber and Cat6 at 10 Gb/s.

How to reason it out
  1. Note the medium: Cat6 twisted pair.
  2. Recall the 100 m twisted-pair channel limit.
  3. Compare: 120 m exceeds it.
  4. Shorten the run, add an access switch closer, or use fiber.

Exam tip: Twisted pair: 100 m, whatever the category.

CCNA Interface and Cable Issues: Duplex, Errors, Copper and Fiber Troubleshooting — the lesson that teaches this.

Domain 2: Switching and Network Access

25% of the CCNA exam, so 6 of the 25 questions on this page.

Question 7Switching and Network Access

An engineer created VLAN 30 and its SVI on a multilayer switch, but hosts cannot reach the gateway yet:SW1# show ip interface brief | include Vlan30 Vlan30 192.168.30.1 YES manual up down SW1# show vlan brief | include 30 30 USERS-30 activeWhat is the most likely reason the SVI line protocol is down?

Choose one.

  • a
    No port carrying VLAN 30 is up and forwarding on the switch Correct

    An SVI's line protocol comes up only when at least one Layer 2 port in that VLAN (access or trunk) is up and forwarding. No access port is listed for VLAN 30, and no up trunk is forwarding it, so autostate keeps the line protocol down.

  • b
    The SVI is shut down and needs no shutdown under interface vlan 30

    A shut SVI shows administratively down; this one shows up for status, so it is not shut.

  • c
    VLAN 30 does not exist in the switch's local VLAN database

    show vlan brief lists VLAN 30 as active, so it does exist.

  • d
    IP routing is disabled globally on the switch for VLAN 30

    ip routing affects forwarding between interfaces, not whether an SVI's line protocol is up.

The concept

When an SVI is up/up

Why that’s the answer

An SVI is up/up when its VLAN exists and is active, the SVI is not shut down, and at least one Layer 2 port carrying the VLAN (an access port in it, or a trunk allowing it) is up and in spanning-tree forwarding. Here the VLAN is active and the SVI is not shut (status up). No access port is listed for VLAN 30 (show vlan brief never lists trunk ports), and with the line protocol down no up trunk is forwarding it either, so autostate keeps the SVI down until a host or trunk carrying VLAN 30 comes up.

How to reason it out
  1. Status up rules out a shutdown SVI.
  2. show vlan brief shows VLAN 30 exists but no access port is in it (trunks are not listed there).
  3. Recall the SVI needs an up, forwarding port in its VLAN.
  4. Assign an access port or allow VLAN 30 on an up trunk.

Exam tip: An SVI's line protocol follows the VLAN: no up, forwarding port in the VLAN means down.

CCNA Trunks, LACP EtherChannel, Routed Ports and SVIs — the lesson that teaches this.

Question 8Switching and Network Access

On a multilayer switch, hosts in VLAN 10 can ping their gateway 192.168.10.1 (SVI Vlan10) and hosts in VLAN 20 can ping 192.168.20.1 (SVI Vlan20), but hosts in different VLANs cannot reach each other. The switch shows:SW1# show ip route Default gateway is not set Host Gateway Last Use Total Uses Interface ICMP redirect cache is emptyWhich command fixes inter-VLAN routing?

Choose one.

  • a
    ip routing Correct

    This output is what a switch shows when IP routing is disabled; enabling it lets the switch route between its SVIs.

  • b
    ip default-gateway 192.168.10.1

    A default gateway is used by a switch acting as a host when routing is off; it does not make the switch route between VLANs.

  • c
    no switchport on both SVI interfaces

    SVIs are already Layer 3 interfaces; no switchport applies to physical ports, not to interface vlan.

  • d
    switchport trunk allowed vlan 10,20

    Hosts already reach their SVIs, so VLAN membership is fine; an allowed list on a trunk does not enable routing.

The concept

IP routing on a multilayer switch

Why that’s the answer

When IP routing is disabled a Catalyst switch behaves like a host: show ip route displays the default gateway and ICMP redirect cache instead of a routing table. Each SVI still answers pings from its own VLAN, but nothing is routed between the SVIs. ip routing turns on the routing table, and the connected SVI subnets then appear and are routed.

How to reason it out
  1. Note that each VLAN reaches its own SVI, so Layer 2 and the SVIs work.
  2. Read show ip route: a host-style output, not a routing table.
  3. Conclude IP routing is disabled and enable it.

Exam tip: No routing table in show ip route on a switch means ip routing is off.

CCNA Trunks, LACP EtherChannel, Routed Ports and SVIs — the lesson that teaches this.

Question 9Switching and Network Access

SW1 has ports Gi1/0/1 and Gi1/0/2 configured with channel-group 1 mode passive. The engineer configures the matching ports on SW2. Which channel-group mode on SW2 forms an EtherChannel with SW1 using LACP?

Choose one.

  • a
    passive

    Passive only responds to LACPDUs; with passive on both ends neither side starts negotiation.

  • b
    desirable

    Desirable is a PAgP mode and cannot negotiate with an LACP passive port.

  • c
    active Correct

    Active sends LACPDUs to start negotiation, and the passive side answers, so an LACP bundle forms.

  • d
    auto

    Auto is the PAgP passive mode; it neither speaks LACP nor initiates negotiation.

The concept

LACP active and passive modes

Why that’s the answer

LACP has two negotiating modes: active, which sends LACPDUs, and passive, which only replies. At least one end must be active. Desirable and auto are PAgP modes, a different (Cisco-proprietary) protocol, so they cannot pair with an LACP port.

How to reason it out
  1. Identify SW1's mode: LACP passive.
  2. Recall that passive never starts negotiation.
  3. Choose LACP active on SW2.

Exam tip: LACP needs at least one active end; desirable and auto belong to PAgP.

CCNA Trunks, LACP EtherChannel, Routed Ports and SVIs — the lesson that teaches this.

Question 10Switching and Network Access

Two distribution switches are linked by Gi1/0/1 and Gi1/0/2 for a new LACP bundle. Both switches show the same result:SW1# show etherchannel summary Group Port-channel Protocol Ports ------+-------------+-----------+------------------ 1 Po1(SD) LACP Gi1/0/1(I) Gi1/0/2(I) SW1# show run interface gi1/0/1 | include channel channel-group 1 mode passiveWhat is the most likely reason the bundle did not form?

Choose one.

  • a
    Both ends use LACP, but Cisco switches must negotiate PAgP

    LACP (IEEE 802.3ad/802.1AX) works between Cisco switches; PAgP is optional, not required.

  • b
    Both ends must use the same port-channel number to bundle

    The port-channel number is locally significant; the two switches may use different numbers.

  • c
    Both ends wait for an LACPDU, so negotiation never starts Correct

    Passive replies to LACPDUs but never sends one first; with passive on both switches no negotiation takes place and the ports stay individual (I).

  • d
    Both ends need port-channel load-balance set before bundling

    Load balancing only decides which member carries a flow; it is not a negotiation prerequisite.

The concept

LACP passive on both ends

Why that’s the answer

show etherchannel summary shows Po1 as Layer 2 down (SD) and both members as stand-alone (I), meaning LACP never negotiated. Both ends are passive, and passive only answers LACPDUs. Setting either end to active starts the negotiation. Port-channel numbers are local, LACP is standard on Cisco switches, and the load-balance method does not affect bundling.

How to reason it out
  1. Read the flags: Po1 down, members stand-alone.
  2. Check the mode: passive on both switches.
  3. Recall that passive never initiates LACP.
  4. Change at least one end to active.

Exam tip: LACP passive plus passive never forms a bundle.

CCNA Trunks, LACP EtherChannel, Routed Ports and SVIs — the lesson that teaches this.

Question 11Switching and Network Access

SW1 Gi1/0/1-2 use channel-group 1 mode on. SW2's matching ports use channel-group 1 mode active, and SW2 shows its ports as stand-alone. Which TWO changes on SW1 let both switches form the bundle with LACP? (Select TWO.)

Choose TWO.

  • a
    channel-group 1 mode desirable

    Desirable runs PAgP, which cannot negotiate with SW2's LACP active ports.

  • b
    channel-group 1 mode auto

    Auto is a PAgP mode, so SW2's LACPDUs are not answered and no bundle forms.

  • c
    channel-group 1 mode active Correct

    Active on both ends negotiates LACP successfully.

  • d
    lacp rate fast under the ports

    lacp rate fast only changes how often LACPDUs are sent; the ports remain in mode on, which sends no LACPDUs.

  • e
    channel-group 1 mode passive Correct

    SW2 is active and initiates, so a passive SW1 replies and the LACP bundle forms.

The concept

Static on mode versus LACP negotiation

Why that’s the answer

Mode on bundles ports unconditionally and sends no LACP or PAgP frames. SW2 is active, so it waits for LACPDUs that never arrive and leaves its ports stand-alone. Changing SW1 to either LACP mode fixes it: active and active, or passive answering SW2's active. Desirable and auto are PAgP modes, and lacp rate fast does not take a port out of mode on.

How to reason it out
  1. Recall that mode on sends no negotiation frames.
  2. Note SW2 is LACP active and needs LACPDUs back.
  3. Pick the LACP modes that pair with active: active and passive.

Exam tip: Mode on pairs only with mode on; LACP active pairs with active or passive.

CCNA Trunks, LACP EtherChannel, Routed Ports and SVIs — the lesson that teaches this.

Question 12Switching and Network Access

A third link is added to an existing LACP trunk bundle, but it does not carry traffic:SW1# show etherchannel summary | begin Group 1 Po1(SU) LACP Gi1/0/1(P) Gi1/0/2(P) Gi1/0/3(s) SW1# show running-config | section 1/0/[13] interface GigabitEthernet1/0/1 switchport mode trunk switchport trunk allowed vlan 10,20,30 channel-group 1 mode active interface GigabitEthernet1/0/3 switchport mode trunk switchport trunk allowed vlan 10,20 channel-group 1 mode activeWhat is the best way to fix Gi1/0/3 and keep the members consistent in future?

Choose one.

  • a
    Set channel-group 1 mode passive on interface Gi1/0/3

    Passive would still negotiate with the active neighbour, but the allowed VLAN mismatch would keep Gi1/0/3 suspended.

  • b
    Set a lower lacp port-priority on trunk interface Gi1/0/3

    Port priority only chooses which ports are active when there are more than eight candidates; it does not fix a configuration mismatch.

  • c
    Set the native VLAN on interface Gi1/0/3 to match the trunk

    The native VLANs already match (neither port changes it); the difference is the allowed VLAN list, which stays mismatched.

  • d
    Set the trunk VLAN list on interface Port-channel1 Correct

    Gi1/0/3 is suspended (s) because its allowed list differs from the bundle's. Configuring the list on the port-channel interface pushes the same setting to every member.

The concept

EtherChannel member consistency

Why that’s the answer

Members of an EtherChannel must match on speed, duplex, switchport mode, and on trunks the allowed and native VLANs. A port that differs from the bundle is suspended, shown by the lowercase s flag. Gi1/0/3 allows only 10 and 20 while the bundle allows 10, 20 and 30. Configuring trunk settings on interface Port-channel1 applies them to all members, which fixes this port and keeps future members consistent. LACP mode, port priority and the native VLAN do not resolve a parameter mismatch.

How to reason it out
  1. Read the flags: Gi1/0/1-2 bundled (P), Gi1/0/3 suspended (s).
  2. Compare configurations: the allowed VLAN lists differ.
  3. Recall that mismatched members are suspended.
  4. Configure trunk settings on the port-channel so all members inherit them.

Exam tip: Configure an EtherChannel on its Port-channel interface; a member that differs is suspended.

CCNA Trunks, LACP EtherChannel, Routed Ports and SVIs — the lesson that teaches this.

Domain 3: IP Routing

20% of the CCNA exam, so 5 of the 25 questions on this page.

Question 13IP Routing

An engineer configured a route on R2, but traffic to 10.40.0.0/16 is dropped:R2# show running-config | include ip route ip route 10.40.0.0 255.255.0.0 10.0.24.4 R2# show ip route 10.40.0.0 % Network not in table R2# show ip interface brief | include 0/0/1 GigabitEthernet0/0/1 10.0.24.2 YES manual administratively down downGigabitEthernet0/0/1 is R2's only interface in 10.0.24.0/24. Why is the route missing from the routing table?

Choose one.

  • a
    Next hop 10.0.24.4 resolves only through Gi0/0/1, which is shut down, so the route is not installed Correct

    IOS installs a static route only when its next hop resolves. With Gi0/0/1 shut, 10.0.24.0/24 is not connected and 10.0.24.4 has no route.

  • b
    Static routes are listed only by show ip route static, so this lookup cannot find them

    show ip route with an address searches the whole routing table, static routes included.

  • c
    The 255.255.0.0 mask does not match the classful boundary of 10.40.0.0, so the route is rejected

    Static routes are classless. A /16 inside 10.0.0.0/8 is valid and was accepted into the configuration.

  • d
    Next hop 10.0.24.4 is not R2's own address, so the route must name the exit interface instead

    A next hop is supposed to be the neighbour's address. Naming the exit interface is optional and would not help while it is shut down.

The concept

A static route enters the routing table only when its next hop is reachable.

Why that’s the answer

Configuration and routing table are separate: the route is in the running configuration, but IOS installs it only when it can resolve the next hop. 10.0.24.4 belongs to the subnet on Gi0/0/1, and an administratively down interface removes that connected route, so the static route cannot be resolved and stays out. Running no shutdown on Gi0/0/1 brings the connected network back, and the static route is installed with it.

How to reason it out
  1. Confirm the route exists in the configuration.
  2. Confirm it is missing from the routing table.
  3. Find the interface that would reach the next hop and check its status.
  4. Fix the interface; the route follows.

Exam tip: Configured is not installed: a static route needs a reachable next hop.

CCNA Static Routing: Default, Network, Host and Floating Static Routes (IPv4 and IPv6) — the lesson that teaches this.

Question 14IP Routing

PC-A (10.1.1.10/24) is behind R1 and PC-B (10.3.3.10/24) is behind R3. R1 and R3 share the link 10.0.13.0/30: R1 is 10.0.13.1 and R3 is 10.0.13.2. R1 has ip route 10.3.3.0 255.255.255.0 10.0.13.2, and R3 has no static routes. Pings from PC-A to PC-B time out. Which change fixes the problem?

Choose one.

  • a
    On R3: ip route 10.1.1.0 255.255.255.0 10.0.13.2

    10.0.13.2 is R3's own address. IOS rejects it as an invalid next hop because it points at the router itself.

  • b
    On R1: ip route 10.3.3.10 255.255.255.255 10.0.13.2

    R1 can already reach 10.3.3.0/24. A host route for PC-B changes nothing about the missing return path.

  • c
    On R3: ip route 10.1.1.0 255.255.255.0 10.0.13.1 Correct

    R3 has no route back to 10.1.1.0/24. This network route gives the echo replies a path to R1.

  • d
    On R3: ip route 10.3.3.0 255.255.255.0 10.0.13.1

    10.3.3.0/24 is directly connected to R3. This route has the wrong destination and leaves 10.1.1.0/24 unreachable from R3.

The concept

Static routing must be configured in both directions.

Why that’s the answer

The echo requests reach PC-B because R1 has a route to 10.3.3.0/24, but PC-B's replies go to R3, and R3 has no route to 10.1.1.0/24 and no default route, so it drops them. Static routes are one-way: each router needs its own route toward the remote network. On R3 the next hop is R1's address on the shared link, 10.0.13.1.

How to reason it out
  1. Trace the request: R1 has a route, so it reaches PC-B.
  2. Trace the reply: R3 needs a route to 10.1.1.0/24.
  3. Use R1's address on the shared link as R3's next hop.

Exam tip: A ping needs a route there and a route back.

CCNA Static Routing: Default, Network, Host and Floating Static Routes (IPv4 and IPv6) — the lesson that teaches this.

Question 15IP Routing

R1 reaches R2 across an Ethernet segment, 10.0.12.0/24: R1 Gi0/0/1 is 10.0.12.1 and R2 Gi0/0/0 is 10.0.12.2. R2 has no ip proxy-arp on that interface. R1 has this route, and pings to hosts in 10.50.0.0/16 fail:R1# show running-config | include 10.50 ip route 10.50.0.0 255.255.0.0 GigabitEthernet0/0/1 R1# show ip arp | include 10.50 Internet 10.50.1.10 0 Incomplete ARPAWithout changing R2, which two commands on R1 would each restore reachability once they replace the existing route? (Select TWO.)

Choose TWO.

  • a
    ip route 10.50.0.0 255.255.0.0 GigabitEthernet0/0/1 1

    Adding distance 1 changes nothing: it is already the default for a static route, and R1 still ARPs for each destination.

  • b
    ip route 10.0.12.2 255.255.255.255 GigabitEthernet0/0/1

    A host route to R2 does not change the 10.50.0.0/16 route, which still treats every destination as directly connected.

  • c
    ip route 10.50.0.0 255.255.0.0 10.0.12.2 Correct

    With a next hop, R1 ARPs once for 10.0.12.2 and sends every 10.50.0.0/16 packet to R2's MAC address.

  • d
    ip route 10.50.0.0 255.255.0.0 10.50.1.1

    10.50.1.1 is a remote address. R1 could only resolve it through the 10.50.0.0/16 route itself, so it does not give R1 a usable next hop.

  • e
    ip route 10.50.0.0 255.255.0.0 GigabitEthernet0/0/1 10.0.12.2 Correct

    A fully specified route names both the exit interface and the next hop, so R1 ARPs for R2 rather than for each destination.

The concept

A static route that names only an Ethernet exit interface makes the router ARP for every destination.

Why that’s the answer

With only an exit interface, IOS treats 10.50.0.0/16 as directly connected on Gi0/0/1 and ARPs for each destination, such as 10.50.1.10. Those addresses are not on the segment, so the route works only if R2 answers with proxy ARP, which is disabled here, hence the incomplete ARP entry. Giving a next hop, either alone or together with the exit interface, makes R1 ARP once for 10.0.12.2 and forward every packet to R2. A distance value or a host route to R2 leaves the interface-only route in charge.

How to reason it out
  1. Read the incomplete ARP entry: R1 is ARPing for a remote host.
  2. Link that to the interface-only static route on a multi-access segment.
  3. Note that R2's proxy ARP is off and must stay unchanged.
  4. Choose routes that include R2's address as the next hop.

Exam tip: On Ethernet, give a static route a next hop (optionally with the interface), not just an interface.

CCNA Static Routing: Default, Network, Host and Floating Static Routes (IPv4 and IPv6) — the lesson that teaches this.

Question 16IP Routing

R1 has IPv6 unicast routing enabled. The LAN 2001:db8:cafe:10::/64 is behind R2, and R2's global address on the link to R1 is 2001:db8:0:12::2. Which command gives R1 a route to that LAN?

Choose one.

  • a
    ipv6 route 2001:db8:0:12::/64 2001:db8:cafe:10::2

    The prefix and next hop are swapped. The route points at the shared link through an address on the remote LAN.

  • b
    ipv6 route 2001:db8:cafe:10::/64 2001:db8:0:12::2 Correct

    The destination prefix comes first, then the next hop on the shared link, so R1 can reach the whole /64.

  • c
    ipv6 route 2001:db8:cafe:10::/128 2001:db8:0:12::2

    /128 makes this a host route for the single address 2001:db8:cafe:10::, not the whole LAN.

  • d
    ip route 2001:db8:cafe:10::/64 2001:db8:0:12::2

    ip route only accepts IPv4 prefixes and masks. IPv6 routes need the ipv6 route command.

The concept

An IPv6 network route names the remote prefix and a next hop.

Why that’s the answer

The syntax is ipv6 route <prefix>/<length> <next hop>. The prefix is the remote LAN, 2001:db8:cafe:10::/64, and the next hop is R2's address on the link that R1 shares with it. A /128 would cover one address, swapping the fields points at the wrong network, and ip route is for IPv4.

How to reason it out
  1. Identify the destination prefix: the remote LAN /64.
  2. Identify the next hop: R2's address on the shared link.
  3. Use ipv6 route with the prefix first.

Exam tip: ipv6 route <remote prefix>/<len> <neighbour's address>.

CCNA Static Routing: Default, Network, Host and Floating Static Routes (IPv4 and IPv6) — the lesson that teaches this.

Question 17IP Routing

R5 has global IPv6 addresses on GigabitEthernet0/0/0 (WAN) and GigabitEthernet0/0/1 (LAN), and this route:ipv6 route ::/0 2001:db8:f::1Hosts on the LAN can ping R5's LAN address but nothing beyond it. Their SLAAC settings also show no default gateway for IPv6. What is the most likely cause?

Choose one.

  • a
    The ipv6 unicast-routing command is missing, so R5 acts as an IPv6 host and sends no RAs Correct

    Without ipv6 unicast-routing, IOS acts as an IPv6 host: it does not forward transit packets or send router advertisements, so hosts learn no default gateway.

  • b
    The default route uses a global next hop, and IPv6 static routes need a link-local next hop to forward

    A global unicast next hop is valid on its own. Only a link-local next hop needs the exit interface added.

  • c
    The ipv6 enable command is missing on the LAN interface, so it has no link-local address yet

    Configuring a global address already enables IPv6 and creates a link-local address on the interface, and the hosts can ping R5's LAN address.

  • d
    The default route has no administrative distance, so IOS leaves it out of the IPv6 routing table

    A static route without a distance gets the default of 1. The distance is optional.

The concept

IOS routes IPv6 only when ipv6 unicast-routing is enabled.

Why that’s the answer

Two symptoms point to one cause: no default gateway from SLAAC and no transit forwarding. Both depend on the global command ipv6 unicast-routing, which is off by default on IOS. The static route and addresses can be correct while the router still behaves like an IPv6 host. A global next hop is fine, the interface is clearly IPv6-enabled, and the distance defaults to 1.

How to reason it out
  1. Note that R5 itself answers, so addressing works.
  2. Note that transit traffic fails and no RAs are seen.
  3. Recall that both need ipv6 unicast-routing.
  4. Enable it globally.

Exam tip: No IPv6 forwarding and no RAs? Check ipv6 unicast-routing.

CCNA Static Routing: Default, Network, Host and Floating Static Routes (IPv4 and IPv6) — the lesson that teaches this.

Domain 4: Network Services and Security

20% of the CCNA exam, so 5 of the 25 questions on this page.

Question 18Network Services and Security

Router R6 uses aaa authentication login default group TAC-SERVERS local. Server group TAC-SERVERS lists ISE1, then ISE2. ISE1 has just failed and no longer answers; ISE2 is up. Admin asmith exists only on the TACACS+ servers. Admin bkhan exists in R6's local database, but her account on the servers has been disabled. Which two statements describe their login attempts? (Select TWO.)

Choose TWO.

  • a
    asmith logs in after ISE1 times out, authenticated by ISE2 Correct

    A timeout is an error, so IOS tries the next server in the group. ISE2 answers and accepts asmith.

  • b
    bkhan logs in with her local password, because ISE1 timed out

    The ISE1 timeout only moves IOS on to ISE2. ISE2's reject then ends the attempt before local is reached.

  • c
    asmith is denied, because the first server in the group did not answer

    IOS tries each server in the group in turn when one does not respond, so ISE2 is queried.

  • d
    bkhan is denied, even when she enters her local password Correct

    ISE2 answers with a reject. A reject is a fail, which ends the list, so the local database is never checked.

  • e
    Both log in with their local passwords, because a group member is down

    Local is used only when every server in the group fails to answer. ISE2 is answering.

The concept

Inside a server group, a non-responding server makes IOS try the next server; a reject from any server ends the method list.

Why that’s the answer

Two rules combine here. First, when ISE1 does not answer, IOS tries the next server in TAC-SERVERS, ISE2, before it gives up on the group, so asmith is authenticated by ISE2 after a delay. Second, ISE2 answers bkhan with a reject, and a reject is a fail rather than an error: the list stops there and local is never tried, so her local password does not help. Local would be used only if no server in the group answered.

How to reason it out
  1. Classify ISE1's silence: an error, so try the next server in the group.
  2. Classify ISE2's answer for each admin: accept or reject.
  3. Remember that a reject ends the list; only errors move on to local.
  4. Check each statement against these two rules.

Exam tip: Silence moves on (next server, then next method); a reject stops everything.

CCNA AAA and Secure File Transfer: Local Users, TACACS+, RADIUS, SCP and SFTP — the lesson that teaches this.

Question 19Network Services and Security

A team is defining the login list for its routers. Logins must be checked by RADIUS server group RAD-GRP. Local accounts may be used only when no RADIUS server responds; while any server is answering, local accounts must not work. If every server is down, admins must still log in with a username and password. Which list meets every requirement?

Choose one.

  • a
    aaa authentication login default local group RAD-GRP

    Local is checked first, so local accounts work even while the RADIUS servers are healthy.

  • b
    aaa authentication login default group RAD-GRP local Correct

    RADIUS is asked first, and local is reached only when the servers return an error by not responding.

  • c
    aaa authentication login default group RAD-GRP line

    When the servers are down, this asks for the VTY line password with no username, which breaks the last requirement.

  • d
    aaa authentication login default group RAD-GRP enable

    The fallback is the enable secret alone, not a username and password from the local accounts.

The concept

Method order decides both which source is primary and what the fallback is.

Why that’s the answer

Putting group RAD-GRP first makes RADIUS authoritative whenever a server answers, because a reject is final. Local is used only after an error, when no server responds, which is exactly the outage case. Reversing the order makes local accounts valid at all times. Ending the list with line or enable falls back to a shared password rather than named accounts with a username.

How to reason it out
  1. Pick the primary source: RADIUS first.
  2. Recall that the second method runs only on error.
  3. Check the fallback against 'username and password': local fits, line and enable do not.

Exam tip: Put the server group first and local second, so named local accounts are the outage fallback.

CCNA AAA and Secure File Transfer: Local Users, TACACS+, RADIUS, SCP and SFTP — the lesson that teaches this.

Question 20Network Services and Security

A security team reviewing management traffic between routers and the AAA server says that capturing a login exchange must not reveal the username or any other attribute, not just the password. Which AAA protocol and transport meet this requirement?

Choose one.

  • a
    TACACS+ over TCP port 49 Correct

    TACACS+ encrypts the whole packet body, so usernames and attributes are hidden. It runs over TCP port 49.

  • b
    RADIUS over UDP port 1812

    RADIUS hides only the password attribute. The username and other attributes are readable in a capture.

  • c
    RADIUS over TCP port 49

    RADIUS uses UDP (1812 for authentication, 1813 for accounting), and it would still expose the username.

  • d
    TACACS+ over UDP port 1812

    The protocol is right, but TACACS+ uses TCP port 49. UDP 1812 is the RADIUS authentication port.

The concept

TACACS+ encrypts the entire payload over TCP 49; RADIUS encrypts only the password over UDP 1812/1813.

Why that’s the answer

TACACS+ encrypts the full body of each packet, leaving only the header readable, and uses TCP port 49. RADIUS uses UDP 1812 and 1813 and protects only the User-Password attribute, so usernames and other attributes appear in clear text. The pairings with the wrong transport or port are near-twins built from these facts.

How to reason it out
  1. Match 'hide everything, not only the password' to TACACS+.
  2. Recall that TACACS+ runs over TCP 49.
  3. Reject options that pair a protocol with the other's port.

Exam tip: TACACS+ = TCP 49, whole body encrypted. RADIUS = UDP 1812/1813, password only.

CCNA AAA and Secure File Transfer: Local Users, TACACS+, RADIUS, SCP and SFTP — the lesson that teaches this.

Question 21Network Services and Security

A network team wants every command an administrator enters on its routers to be checked against central policy before it runs, separately from the login itself, so that junior staff can log in but are refused configuration commands. Which choice meets this requirement?

Choose one.

  • a
    RADIUS, which returns the permitted commands in its Access-Accept message

    RADIUS merges authentication and authorization into one Access-Accept and has no per-command authorization exchange.

  • b
    TACACS+, which authorizes each command in a separate exchange after login Correct

    TACACS+ separates authentication and authorization, so each command can be sent to the server and allowed or refused.

  • c
    RADIUS, which authorizes each command in a separate exchange after login

    RADIUS has no separate per-command authorization exchange. That is a TACACS+ capability.

  • d
    TACACS+, which returns the permitted commands in its Access-Accept message

    Access-Accept is a RADIUS message. TACACS+ answers each command with its own authorization reply.

The concept

TACACS+ keeps authentication, authorization and accounting separate, which enables per-command authorization.

Why that’s the answer

TACACS+ was designed for device administration and handles authentication, authorization and accounting as separate exchanges. With aaa authorization commands, the router sends each command to the server before it runs. RADIUS combines authentication and authorization in a single Access-Accept and cannot authorize individual commands, which is why it is preferred for network access rather than device administration.

How to reason it out
  1. Note the need for a check on each command after login.
  2. Recall which protocol separates authorization from authentication.
  3. Reject options that mix one protocol's messages with the other.

Exam tip: Per-command authorization for device admins needs TACACS+.

CCNA AAA and Secure File Transfer: Local Users, TACACS+, RADIUS, SCP and SFTP — the lesson that teaches this.

Question 22Network Services and Security

Switch SW3 is a RADIUS client of a FreeRADIUS server that listens only on the IANA-assigned RADIUS ports. SSH logins pause for several seconds and then succeed only with SW3's local accounts. The server's debug log shows no packets at all from SW3, and the shared secrets match.radius server RAD1 address ipv4 10.10.5.30 auth-port 1645 acct-port 1646 key R4d!usKey aaa group server radius RAD-GRP server name RAD1 aaa authentication login default group RAD-GRP localWhat is the cause?

Choose one.

  • a
    The authentication and accounting ports are swapped in the entry

    1645 is the legacy authentication port and 1646 the legacy accounting port, so the order is right. Both are simply not the ports the server uses.

  • b
    SW3 sends its requests to UDP ports the server ignores Correct

    1645 and 1646 are the legacy RADIUS ports; the IANA-assigned ones are 1812 and 1813. The server never receives the requests, so they time out and local is used.

  • c
    The method list sends logins to local before RADIUS

    The list names RAD-GRP first. Local is used only because RADIUS times out.

  • d
    The shared secret is sent in clear text, so the server drops it

    The secret is never sent. It is used to protect the password, and the stem says it matches.

The concept

RADIUS server definitions include ports; they must match the ports the server listens on.

Why that’s the answer

The radius server entry sends authentication to UDP 1645 and accounting to 1646, the legacy RADIUS ports, while the server listens only on the IANA-assigned 1812 and 1813. Nothing reaches the server, so it logs nothing; the requests time out, which is an error, and the list falls back to local. The port order in the entry is correct for the legacy pair, and a key mismatch would still reach the server and be logged. Setting auth-port 1812 and acct-port 1813 resolves it.

How to reason it out
  1. Note that the server logs nothing, so the packets never arrive.
  2. Recall the standard RADIUS ports, 1812 and 1813, and the legacy pair, 1645 and 1646.
  3. Compare them with the configured ports.
  4. Explain the local logins: a timeout is an error, which triggers fallback.

Exam tip: If the AAA server logs nothing, check address and ports first; RADIUS standard ports are 1812/1813.

CCNA AAA and Secure File Transfer: Local Users, TACACS+, RADIUS, SCP and SFTP — the lesson that teaches this.

Domain 5: AI, and Network Operations and Management

10% of the CCNA exam, so 3 of the 25 questions on this page.

Question 23AI, and Network Operations and Management

An AI agent analyses network telemetry and suggests configuration changes for production routers. The change board wants the agent's suggestions, but a qualified engineer must decide whether each change is applied. Which control provides this?

Choose one.

  • a
    Human-in-the-loop approval before a change is pushed to a device Correct

    An approval gate makes the engineer the decision point: the agent proposes and the person approves or rejects.

  • b
    A lower model temperature so that the suggestions are more consistent

    Temperature affects how varied the output is; it does not put a person in control of what gets applied.

  • c
    A senior engineer persona written into the agent's system prompt

    A persona changes how the model writes; the agent would still apply changes with no person deciding.

  • d
    Full autonomy combined with automatic rollback when a change fails

    Rollback limits damage after the fact, but no engineer decides beforehand, which is the stated requirement.

The concept

Human-in-the-loop: the agent recommends, a person approves before anything changes.

Why that’s the answer

The requirement is that an engineer decides on each change. An approval step before the push does exactly that. Temperature and persona change the text the model produces, and autonomous operation with rollback removes the human decision the board asked for.

How to reason it out
  1. Identify who must decide: a qualified engineer.
  2. Find the control that puts that decision before the change.
  3. Reject options that only change the model's output or react afterwards.

Exam tip: Agent proposes, human approves, then the change is applied.

CCNA Agentic AI and Prompting: AI Agents, Guardrails and Prompt Components for Network Operations — the lesson that teaches this.

Question 24AI, and Network Operations and Management

A team lets its AI agent run some actions immediately and queues the rest for engineer approval. A user reports intermittent drops on an access switch, and the agent proposes four actions. Which action is the best candidate to run without waiting for approval?

Choose one.

  • a
    Gather show interfaces and show logging output from the switch Correct

    Collecting show output is read-only: it changes nothing, so the risk of running it unattended is very low.

  • b
    Shut down the uplink it suspects is part of a Layer 2 loop

    Shutting an uplink changes the forwarding path and can cut off users, so it should wait for a person.

  • c
    Apply an ACL on the edge router that blocks the suspicious host

    An ACL changes what traffic is permitted; a wrong match could block legitimate traffic.

  • d
    Clear the interface counters on the port so new errors stand out

    Clearing counters changes device state and erases the error history the diagnosis may need; it looks harmless but it is not read-only.

The concept

Read-only data collection is low risk; anything that changes forwarding, policy or device state, even counters, needs approval.

Why that’s the answer

Teams usually let agents gather data freely and gate actions that change state. Collecting show interfaces and show logging output alters nothing on the device. Shutting an uplink or adding an ACL can cause an outage if the agent's diagnosis is wrong, and clearing counters, though low impact, still changes the device and destroys evidence an engineer may want to see. Only the read-only action is a safe unattended action.

How to reason it out
  1. Classify each action as read-only or state-changing.
  2. Treat 'small' changes such as clearing counters as changes too: they alter the device and remove evidence.
  3. Allow only the action that changes nothing.

Exam tip: Let the agent look freely; make it ask before it touches.

CCNA Agentic AI and Prompting: AI Agents, Guardrails and Prompt Components for Network Operations — the lesson that teaches this.

Question 25AI, and Network Operations and Management

After a successful pilot, a team will let its AI agent push approved changes to 120 branch routers. The team wants to limit how many sites one bad change can affect and to recover quickly if a change misbehaves. Which two controls best meet these goals? (Select TWO.)

Choose TWO.

  • a
    Require two engineers to approve each change before the agent pushes it

    Two approvers may catch more bad changes, but an approved bad change still reaches every router and there is no faster way back.

  • b
    Stage each change on one site first and verify it before the others Correct

    A staged rollout limits a bad change to one site and gives a checkpoint before it reaches the other 119.

  • c
    Schedule each push inside one overnight maintenance window

    A window reduces the effect on users, but every site still gets the change at once, and it does not speed recovery.

  • d
    Have the agent explain its reasoning in each change ticket

    An explanation helps reviewers judge a change, but it neither limits the affected sites nor speeds recovery.

  • e
    Save a configuration backup and a tested rollback before each push Correct

    A backup plus a tested rollback is what makes quick recovery possible when a change misbehaves.

The concept

Guardrails for agent-driven changes: staged rollout limits blast radius; backup and rollback give fast recovery.

Why that’s the answer

The stem sets two goals. Limiting the number of affected sites calls for a staged rollout: try the change on one router, verify, then continue. Recovering quickly calls for a saved configuration and a tested rollback ready before each push. Extra approvers and a maintenance window are sensible practices, but neither limits how many sites a bad change reaches or makes recovery faster, and an explanation in the ticket helps review only.

How to reason it out
  1. Write down the two goals: limit how many sites are hit, recover fast.
  2. Match one control to each goal.
  3. Discard controls that improve review or timing but meet neither goal.

Exam tip: Pilot first to shrink the blast radius; back up first to make rollback fast.

CCNA Agentic AI and Prompting: AI Agents, Guardrails and Prompt Components for Network Operations — the lesson that teaches this.

Keep going with CCNA

CCNA practice by domain

CCNA sample questions: your questions

No. Real exam questions are confidential. These are original questions written to the skills in the official CCNA exam guide, so they test the same knowledge in the same style without being copies of the exam.

Source

The domains and weights on this page come from the official CCNA exam guide.