CCNA Free Quiz
No account or credit card needed — your score shows right here.PC1 is configured with the address 172.16.45.200/21. Which address could another host in the same subnet as PC1 use?
Correct Answer
Think of a street with house numbers 40 to 47. The last mailbox, .255 on number 47, belongs to everyone, so it is not a home.
A host must sit inside its subnet and cannot use the network or broadcast address.
- The /21 mask is 255.255.248.0, so the third octet moves in blocks of 8.
- The blocks are 32, 40 and 48. The value 45 falls in the 40 block.
- PC1's subnet is 172.16.40.0 to 172.16.47.255, so 172.16.47.254 is a usable host.
- B
172.16.47.255 is the broadcast address of 172.16.40.0/21. No host can use it.
- C
172.16.39.254 is in 172.16.32.0/21, the block below. Using a /20 block of 16 would wrongly include it.
- D
172.16.48.1 is in the next subnet, 172.16.48.0/21.
Picking the broadcast address as the last host, or using a block of 16 instead of 8.
- The block size is 256 minus the interesting mask octet: 256 - 248 = 8.
- The /21 prefix has 11 host bits, so it holds 2^11 - 2 = 2046 usable hosts.
- The network address 172.16.40.0 is the subnet ID and is not a host address.
Answered
0/10
Correct
0
Score
0%
Hosts in VLAN 20 on SW1 cannot reach VLAN 20 hosts on SW2. VLAN 10 hosts on both switches communicate normally. Gi0/1 connects SW1 to SW2, and Gi0/2 connects SW1 to SW3. Based on the exhibit, what is the cause?
SW1#show interfaces trunk
Port Mode Encapsulation Status Native vlan
Gi0/1 on 802.1q trunking 1
Gi0/2 on 802.1q trunking 1
Port Vlans allowed on trunk
Gi0/1 1-10,30,99
Gi0/2 1-4094
Port Vlans allowed and active in management domain
Gi0/1 1,10,30,99
Gi0/2 1,10,20,30,99
Port Vlans in spanning tree forwarding state and not pruned
Gi0/1 1,10,30,99
Gi0/2 1,10,20,30,99
Correct Answer
The bridge to SW2 has a guest list. VLAN (Virtual Local Area Network) 10 is on it. VLAN 20 is not.
A trunk carries only the VLANs in its allowed VLAN (Virtual Local Area Network) list.
- The exhibit shows Gi0/1, the link to SW2, allows 1-10,30,99. VLAN (Virtual Local Area Network) 20 is not in that list.
- VLAN 10 is allowed, which is why VLAN 10 hosts still talk.
- Gi0/2 allows 1-4094 and shows VLAN 20 active, so VLAN 20 exists on SW1.
- A
Gi0/2 allows 1-4094, so VLAN (Virtual Local Area Network) 20 is allowed there. Gi0/2 also leads to SW3, not SW2.
- C
The exhibit shows only SW1's native VLAN (Virtual Local Area Network). A native VLAN mismatch affects untagged frames, not tagged VLAN 20.
- D
Pruning removes a VLAN (Virtual Local Area Network) only from the last section. VLAN 20 is already missing from the allowed list.
Reading the wrong port, or blaming pruning when the allowed list is the first section that drops VLAN (Virtual Local Area Network) 20.
- The four sections narrow down in order: allowed, then allowed and active, then forwarding and not pruned.
- A VLAN (Virtual Local Area Network) missing only from the last section points to STP (Spanning Tree Protocol) blocking or VTP pruning.
- Fix the list with switchport trunk allowed vlan add 20, so the existing VLANs stay.
Answered
0/10
Correct
0
Score
0%
A lightweight AP in local mode has joined a WLC across a routed campus. A wireless client on that AP sends traffic to a server in the data center. How does the AP forward the client's traffic?
Correct Answer
The AP mails every package to the head office first. The head office then delivers it.
A local-mode AP sends client data to the WLC (Wireless LAN Controller) in the CAPWAP data tunnel.
- CAPWAP uses two tunnels: control on UDP (User Datagram Protocol) 5246 and data on UDP 5247.
- In local mode, client frames ride the data tunnel to the WLC (Wireless LAN Controller).
- The WLC then switches the traffic onto the wired network toward the server.
- A
CAPWAP, not GRE, carries client data between a lightweight AP and its WLC (Wireless LAN Controller).
- B
The control tunnel carries AP management and configuration, not client data.
- D
Switching at the AP's own port is FlexConnect local switching, not local mode.
Mixing up the two CAPWAP ports, or mixing up local mode with FlexConnect.
- Local mode needs the WLC (Wireless LAN Controller) to be reachable to pass client traffic.
- A FlexConnect AP can switch client traffic locally at a branch.
- Firewalls between APs and the WLC must allow both UDP (User Datagram Protocol) 5246 and UDP 5247.
Answered
0/10
Correct
0
Score
0%
R1 and R2 run OSPFv2 on their shared link, but they never become neighbors. Which two settings must match on both routers for them to become OSPF neighbors?
Choose 2. (0 of 2 selected)
Correct Answer
Two people must speak the same language and keep the same pace. Their badge numbers can differ.
OSPF (Open Shortest Path First) neighbors must agree on the values carried in their hello packets.
- Both interfaces must be in the same area, or the hellos are rejected.
- The hello and dead intervals must match, or the routers ignore each other's hellos.
- A
Router IDs must be different. Two routers with the same router ID do not form a normal adjacency.
- C
The process ID is local to each router. Neighbors can use different numbers.
- E
Priority only affects the DR and BDR election. It can differ between neighbors.
Thinking the process ID in router ospf must match, as an EIGRP (Enhanced Interior Gateway Routing Protocol) AS number does.
- Other values that must match: subnet and mask, authentication, and the stub area flag.
- An MTU (Maximum Transmission Unit) mismatch lets routers see each other but stalls them before FULL.
- show ip ospf interface shows the area, timers and priority on each side.
Answered
0/10
Correct
0
Score
0%
R1 GigabitEthernet0/0 has the command ipv6 address 2001:db8:acad:1::/64 eui-64. The interface MAC address is 0050.3e8d.6401. Which IPv6 address does R1 assign to the interface?
Correct Answer
It is a recipe: cut the MAC (Media Access Control) in half, put fffe in the middle, then flip one switch in the first byte.
Modified EUI-64 splits the MAC (Media Access Control), inserts FFFE and inverts the seventh bit.
- Split 0050.3e8d.6401 into 00503e and 8d6401, then insert fffe: 00503efffe8d6401.
- Invert the seventh bit of the first byte: 00 becomes 02.
- The interface ID is 0250:3eff:fe8d:6401, written 250:3eff:fe8d:6401.
- A
This skips the bit flip. The first byte must change from 00 to 02.
- B
This pads the raw MAC (Media Access Control) with zeros. EUI-64 inserts fffe and flips a bit.
- C
This inserts ffff instead of fffe in the middle of the MAC (Media Access Control).
Forgetting to flip the seventh bit, which turns 00 into 02.
- The flipped bit is the universal/local bit of the MAC (Media Access Control) address.
- Leading zeros in each group may be dropped, so 0250 is written 250.
- The /64 prefix comes from the command; EUI-64 builds only the last 64 bits.
Answered
0/10
Correct
0
Score
0%
Match each route source to its default administrative distance on a Cisco IOS router. One distance is not used.
Place every item in a box. (0 of 5 placed)
Correct Answer
- Directly connected network → 0
- Static route to a next hop → 1
- External BGP (eBGP) route → 20
- Internal EIGRP route → 90
- OSPF route → 110
It is a trust ranking. A route you plugged in yourself beats one a neighbor told you about.
Administrative distance ranks route sources; lower is more trusted.
- Connected networks have distance 0 and static routes have 1.
- eBGP is 20, internal EIGRP (Enhanced Interior Gateway Routing Protocol) is 90 and OSPF (Open Shortest Path First) is 110.
- 115 is the IS-IS default, so no listed source uses it.
Putting OSPF (Open Shortest Path First) on 115, which belongs to IS-IS.
- Distance only matters when two sources offer the same prefix and length.
- A static route can use a higher distance to become a floating backup route.
- The distance is local to the router where it is set.
Answered
0/10
Correct
0
Score
0%
R1 has four routes: 10.1.0.0/16 (static), 10.1.4.0/22 (OSPF), 10.1.4.0/24 (EIGRP) and 10.1.5.128/25 (RIP). Which route does R1 use to forward a packet to 10.1.5.9?
Correct Answer
Use the most detailed map that actually shows your street, not the most detailed map you own.
The router uses the longest prefix that actually contains the destination.
- 10.1.4.0/22 covers 10.1.4.0 to 10.1.7.255, so it contains 10.1.5.9.
- The /16 also matches, but /22 is longer, so /22 wins.
- The /24 and /25 are longer but do not contain 10.1.5.9.
- A
The /16 matches, but a longer matching prefix exists. Low distance does not beat a longer prefix.
- B
10.1.5.128/25 starts at 10.1.5.128, so 10.1.5.9 is outside it.
- D
10.1.4.0/24 ends at 10.1.4.255, so 10.1.5.9 is outside it.
Picking the longest prefix in the table without checking that it contains the address.
- Prefixes of different lengths are different routes, so all four are installed.
- Distance and metric only choose between routes to the same prefix and length.
- If no route matched, the router would use a default route or drop the packet.
Answered
0/10
Correct
0
Score
0%
ACL 10 was applied outbound on R1 GigabitEthernet0/1, the server LAN. Now no user can reach the servers. The policy says: block only the Guest subnet 192.168.50.0/24 from the server LAN and allow all other traffic. Add the one line in global configuration mode that fixes ACL 10 without removing it.
R1#show access-lists 10 Standard IP access list 10 10 deny 192.168.50.0, wildcard bits 0.0.0.255 (57 matches) R1#show running-config interface GigabitEthernet0/1 Building configuration... Current configuration : 120 bytes ! interface GigabitEthernet0/1 description SERVER-LAN ip address 10.10.10.1 255.255.255.0 ip access-group 10 out end
A fix that works
R1(config)#access-list 10 permit any
The guard has a list of who to turn away, but no rule to let anyone else in, so the guard turns everyone away.
Every ACL (Access Control List) ends with an implicit deny any, so a list of only deny entries blocks everything.
- ACL (Access Control List) 10 has one deny entry and no permit, so the implicit deny drops everyone else.
- access-list 10 permit any adds entry 20 after the guest deny.
- Guests still match entry 10 first and are dropped. All other traffic now matches entry 20.
Removing the ACL (Access Control List) or the access-group, which also lets the guests in.
- show access-lists never prints the implicit deny, and it has no match counter.
- A numbered ACL (Access Control List) line typed again is added at the end of the list.
- Standard ACLs match only the source address, so place them close to the destination.
Answered
0/10
Correct
0
Score
0%
PC1 uses 192.168.1.10 on R1's inside network. R1 uses PAT to translate PC1 to 198.51.100.5 when PC1 opens a session to the web server 203.0.113.80. No outside addresses are translated. In Cisco NAT terms, what is 198.51.100.5?
Correct Answer
Inside or outside says whose address it is. Local or global says who is looking at it.
Inside or outside names the host; local or global names the side that sees the address.
- 198.51.100.5 stands for PC1, an inside host.
- It is the address the outside world sees, so it is global.
- An inside host's address as seen from outside is the inside global address.
- A
The inside local address is PC1's own address, 192.168.1.10.
- C
Outside local is how the web server appears to inside hosts: 203.0.113.80 here.
- D
Outside global is the web server's real address, 203.0.113.80.
Thinking global means a public outside server, so any public address must be outside global.
- With no outside translation, outside local and outside global are the same address.
- show ip nat translations lists Inside global, Inside local, Outside local and Outside global.
- PAT lets many inside local addresses share one inside global address by using ports.
Answered
0/10
Correct
0
Score
0%
An engineer enables DHCP snooping globally and for VLAN 10 on SW1. The DHCP server for VLAN 10 is reached through uplink Gi1/0/24. No interface is configured as trusted. What happens when a client in VLAN 10 asks for an address?
Correct Answer
The switch only accepts answers from desks it was told to trust, and it was told to trust none.
With DHCP (Dynamic Host Configuration Protocol) snooping on, server messages are accepted only on trusted ports.
- Every interface is untrusted by default, including the uplink.
- SW1 drops server messages such as DHCPOFFER that arrive on untrusted ports.
- The client never gets an offer, so it gets no address.
- B
No offer reaches the client, so there is no lease and no binding.
- C
Untrusted server messages are dropped. The port stays up.
- D
No port is trusted by default; the uplink needs ip dhcp snooping trust.
Assuming the uplink is trusted by default.
- The fix is ip dhcp snooping trust on Gi1/0/24.
- The binding table that snooping builds is also used by Dynamic ARP (Address Resolution Protocol) Inspection.
- A rate limit on untrusted ports can err-disable a port that floods DHCP (Dynamic Host Configuration Protocol) requests.
Answered
0/10
Correct
0
Score
0%
You got of 10 correct.
Get your full breakdown by email
Per-question review, weak spots to study, and explanations.
Free with your account — real questions from the paid bank, with full explanations.
The full CCNA question bank with complete explanations is part of the Exam Pass.