Free CCNA practice
CCNA MCQ practice test
30 tricky questions with 5 to 6 options each. The wrong options are the common mistakes, so you learn what to watch for. Every answer has a short explanation.
These are practice questions written by AEGIS I-NET for learning. They are not real Cisco exam questions. AEGIS I-NET is an independent training center and is not affiliated with Cisco.
Question paper: all 30 questions
Only the questions and options, without answers. Try them on paper first, then check yourself in the practice test above.
OSPF
-
1. Two routers on the same Ethernet segment have formed OSPF neighbors, but they stay in the 2-WAY state and never reach FULL. Other OSPF routers are also on the segment, and the hello, dead, area and authentication settings all match. What is the most likely reason?
- A. Both routers are DROthers, so they only go FULL with the DR and BDR
- B. The hello timers do not match
- C. The area IDs do not match
- D. The OSPF process IDs are different
- E. The MTU on the two interfaces does not match
- F. The authentication keys do not match
-
2. Router R1 uses OSPF process ID 10 and router R2 uses OSPF process ID 20. They are on the same link, in area 0, with matching timers and network type. What happens?
- A. They form a neighbor adjacency normally
- B. They never become neighbors because the process IDs must match
- C. They become neighbors only if one is the ABR
- D. They form an adjacency only if the process IDs are in the same range
- E. They become neighbors, but only in the 2-WAY state
- F. They form an adjacency only after both use the same router ID
-
3. A router has no router-id command. Its interfaces that are up: Loopback0 10.1.1.1, Loopback1 172.16.1.1 and GigabitEthernet0/0 192.168.1.1. What router ID does OSPF choose?
- A. 10.1.1.1
- B. 172.16.1.1
- C. 192.168.1.1
- D. The lowest IP address on any interface
- E. The MAC address of the router
- F. 0.0.0.0
-
4. A router with only default settings has a FastEthernet link and a GigabitEthernet link. Both run OSPF. What is the OSPF cost of the GigabitEthernet link?
- A. 0.1
- B. 1
- C. 10
- D. 100
- E. 1000
-
5. R1 booted first and was elected DR on a broadcast segment. R2 joins the segment later with a higher OSPF priority than R1. What happens to the DR role?
- A. R2 becomes the DR immediately because it has the higher priority
- B. R1 stays the DR, because DR election is not preemptive
- C. R1 and R2 share the DR role
- D. A new election runs after the dead interval and R2 wins
- E. R2 becomes the DR and R1 becomes the BDR automatically
-
6. On which OSPF network types are a DR and BDR elected by default?
- A. Broadcast only
- B. Point-to-point only
- C. Broadcast and non-broadcast (NBMA)
- D. Point-to-multipoint
- E. Point-to-point and point-to-multipoint
- F. All OSPF network types
STP
-
7. A Cisco switch runs PVST+ with the default priority. What bridge priority does it show for VLAN 10?
- A. 32768
- B. 32778
- C. 32767
- D. 4096
- E. 28672
- F. 61440
-
8. A non-root switch has two equal-cost paths to the root bridge, through two different neighbor switches. Which value is compared first to pick the root port?
- A. The lowest port ID on the local switch
- B. The lowest port priority on the local switch
- C. The lowest bridge ID of the neighbor switch (sender)
- D. The highest MAC address of the local switch
- E. The highest bandwidth link
- F. The lowest VLAN ID
-
9. An access port has PortFast enabled but BPDU Guard is not enabled. The port receives a BPDU from another switch. What happens?
- A. The port goes into err-disabled state
- B. The port ignores the BPDU and stays in forwarding
- C. The port loses its PortFast status and works as a normal STP port
- D. The port becomes the root port with cost 0
- E. The switch shuts down the whole VLAN
- F. The port moves to the disabled state for 300 seconds
-
10. With classic 802.1D STP and default timers, a port has been selected to forward and has just entered the Listening state. How long before it starts forwarding frames?
- A. 2 seconds
- B. 15 seconds
- C. 20 seconds
- D. 30 seconds
- E. 50 seconds
-
11. In RSTP, which port role provides a backup path to the same network segment as a designated port on the SAME switch?
- A. Alternate port
- B. Backup port
- C. Root port
- D. Discarding port
- E. Disabled port
- F. Edge port
-
12. How many root ports does the root bridge have for a VLAN?
- A. 0
- B. 1
- C. 2
- D. One for each trunk link
- E. One for each connected switch
- F. It depends on the bridge priority
VLAN
-
13. An 802.1Q trunk has native VLAN 1 on one switch and native VLAN 99 on the other. What is the most likely result?
- A. The trunk goes down
- B. The trunk stays up, CDP logs a native VLAN mismatch, and untagged frames end up in the wrong VLAN
- C. The trunk changes to an access port
- D. DTP renegotiates the trunk with the same native VLAN
- E. All tagged traffic is dropped
- F. VTP removes VLAN 99
-
14. An access port is configured with switchport access vlan 10 and switchport voice vlan 20, and a PC is connected through an IP phone. Which statement is true?
- A. Both phone and PC traffic are untagged and belong to VLAN 10
- B. Phone traffic is tagged with VLAN 20, and PC traffic is untagged in VLAN 10
- C. Phone traffic is untagged in VLAN 20, and PC traffic is tagged with VLAN 10
- D. The port becomes a full trunk that allows all VLANs
- E. The voice VLAN works only if the native VLAN is 20
- F. The phone and the PC both use VLAN 20
-
15. On a router-on-a-stick, which command on subinterface GigabitEthernet0/0.30 assigns it to VLAN 30?
- A. switchport access vlan 30
- B. vlan 30
- C. encapsulation dot1q 30
- D. switchport trunk allowed vlan 30
- E. ip vlan 30
- F. trunk encapsulation dot1q 30
-
16. Which VLAN IDs cannot be deleted from a Cisco switch?
- A. Only VLAN 1
- B. VLAN 1 and VLANs 1002 to 1005
- C. All VLANs from 1 to 1005
- D. VLAN 1 and the native VLAN
- E. Only the VLANs in the extended range
- F. VLAN 1 and VLAN 99
-
17. Switch A has its trunk port set to dynamic auto, and Switch B has the connected port also set to dynamic auto. What state does the link end up in?
- A. A trunk
- B. An access link
- C. Err-disabled
- D. A trunk, but only for VLAN 1
- E. Down, because DTP fails
- F. A trunk with ISL
-
18. Two PCs are in VLAN 10, in the same subnet, on two different switches. The trunk is up. show interfaces trunk shows allowed VLANs 1-9,11-4094. The PCs cannot ping each other. What is the most likely cause?
- A. A native VLAN mismatch
- B. VLAN 10 is not allowed on the trunk
- C. The PCs need a router to talk inside the same VLAN
- D. DTP is in the wrong mode
- E. The STP root is in a different VLAN
- F. The PCs need a different default gateway
Subnetting
-
19. What is the broadcast address of the subnet that contains the host 192.168.10.77/26?
- A. 192.168.10.63
- B. 192.168.10.64
- C. 192.168.10.127
- D. 192.168.10.128
- E. 192.168.10.191
- F. 192.168.10.255
-
20. How many usable host addresses does a /27 subnet have?
- A. 14
- B. 30
- C. 31
- D. 32
- E. 62
- F. 64
-
21. What is the network address of the host 172.16.35.130/20?
- A. 172.16.0.0
- B. 172.16.16.0
- C. 172.16.32.0
- D. 172.16.35.0
- E. 172.16.35.128
- F. 172.16.48.0
-
22. What is the smallest subnet mask (longest prefix that still works) for a LAN that needs 60 usable hosts?
- A. /24
- B. /25
- C. /26
- D. /27
- E. /28
- F. /29
-
23. How many /30 subnets can you create from one /24 network?
- A. 16
- B. 32
- C. 62
- D. 64
- E. 128
- F. 256
-
24. Which address is a usable host address in the subnet 10.1.1.64/27?
- A. 10.1.1.63
- B. 10.1.1.64
- C. 10.1.1.95
- D. 10.1.1.96
- E. 10.1.1.94
- F. 10.1.1.32
Protocols
-
25. Which source and destination does a DHCP Discover message use?
- A. Source 0.0.0.0, destination 255.255.255.255, UDP destination port 67
- B. Source 0.0.0.0, destination 255.255.255.255, TCP port 68
- C. Source 169.254.x.x, destination the DHCP server IP, UDP port 67
- D. Source the client IP, destination 224.0.0.1, UDP port 68
- E. Source 0.0.0.0, destination 255.255.255.255, UDP destination port 68
- F. Source 127.0.0.1, destination the default gateway, UDP port 67
-
26. Which transport protocol and port does DNS use for a zone transfer?
- A. UDP port 53
- B. TCP port 53
- C. UDP port 5353
- D. TCP port 443
- E. UDP port 67
- F. TCP port 25
-
27. A PC wants to send data to a host in a different subnet. Whose MAC address does the PC look for with ARP?
- A. The destination host
- B. The default gateway
- C. The DNS server
- D. The nearest switch
- E. The DHCP server
- F. The router at the destination network
-
28. Which protocol and port does an SNMP agent use by default to send a trap to the network management station?
- A. UDP port 161
- B. TCP port 161
- C. UDP port 162
- D. TCP port 162
- E. UDP port 514
- F. UDP port 69
-
29. A router synchronizes its time from an NTP server that is at stratum 2. What stratum does the router have?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
- F. 16
-
30. Which statement about CDP is true?
- A. It is Cisco proprietary and works at Layer 2 between directly connected devices, even without an IP address
- B. It uses TCP port 23 to discover neighbors
- C. It is an open IEEE 802.1AB standard
- D. It is off by default on Cisco routers and switches
- E. It discovers devices several routed hops away
- F. It needs an IP address on the interface to work
Practice test questions, answered
Short answers to what students ask us most.
Are these the real CCNA exam questions?
No. These are practice questions written for learning. They follow the CCNA topics, but they are not copied from the Cisco exam.
How many questions are there, and how many options?
There are 30 questions across OSPF, STP, VLAN, subnetting and protocols. Each question has 5 or 6 options, and only one is correct.
Will scoring well here mean I will pass the CCNA?
No one can promise that. This test helps you find weak topics. The CCNA exam covers more, and it is booked and taken separately with Cisco.
Where can I learn these topics with labs?
AEGIS I-NET runs CCNA training in Jabalpur with hands-on labs. Send the enquiry form or message us on WhatsApp for batch timings and fees.
Want to learn CCNA with labs?
Tell us your goal. We will reply with the right program, batch timings and fees.
Visit us
Call