CCNA Practice Questions

Test your CCNA skills with these practice questions.

The Q&A is a preview from the book – CCNA Interview questions and answers

Question 1

How many collision domains are available respectively on 5 port and 8 port hub?


On a hub, all the ports belong to only one collision domain. So irrespective of the number of ports on the hub, there is only one collision domain on both the hubs.

Question 2

How many collision domains are available on switch which has three vlans and 24 ports?


On a switch, every port is a collision domain. So on a 24 port switch, there are 24 collision domains.

Question 3

PC1 is configured on a port on switch 1, which is a member of VLAN 2. PC2 is connected to a port on switch 2, which is also a member of VLAN 2. Switch 1 and Switch 2 are interconnected with each other. PC1 and PC2 belong to the same network address. Can PC1 ping PC2?


The link between the switches should be configured as a trunk link. This would allow VLAN traffic from one switch to reach the other switch. Once the trunk link is setup, PC1 can ping PC2.

Question 4

On a switch, port 2 and port 3 are configured as members of VLAN 2. PC1 and PC2 are connected to the ports on the switch respectively. The IP address of PC1 is and of PC2 is respectively. Can PC1 ping PC2?


It can be observed that PC1 and PC2 are residing on different networks. So although they reside on the same VLAN, a router would be required for inter-network communication.

Question 5

Which VLAN protocol can be used to setup VLAN trunking between switches from different manufacturers?


802.1Q is a vendor neutral VLAN standard. Protocols like ISL are proprietary to Cisco. So 802.1Q can be used for VLAN trunking between switches from different manufacturers.

Question 6

How many VLANs can a switch port be a member of if the port is configured as an access port?


A port can only be a member of one VLAN, when configured as an access port.

Question 7

Two RIP routers are configured on a point to point link. One of the RIP routers is behind a firewall. Which port on the firewall needs to be opened for RIP communication to be successful?


RIP messages between RIP enabled routers communicate on UDP port 520.      So the port, UDP 520 should be opened on the firewall.

Question 8

A router is configured with RIP and OSPF routing protocols. It has learnt a path to a specific network through both the protocols. Which path would a packet bound to the network take and why?


The path with the lower administrative distance would be taken by the packet. OSPF has a lower administrative distance (110) than RIP (120). So the path learnt by OSPF would be taken by the packet to reach the destination.

Question 9

What is the Spanning Tree Protocol used for?


Spanning tree protocol is used to prevent looping of frames. Unlike IP, which has a TTL value field in the packet which is decremented every time the packet passes through a router and is dropped once the value reaches 0, the frame does not have any similar field. So if a scenario arises where a frame is looping in a switched environment, the frame would not automatically time-out. The spanning tree protocol is used for preventing the looping.

Question 10

A root switch has two links connected to two other switches. Which ports on the root switch would be used for data packet forwarding?


On a root switch, both links would be used for data packet forwarding.

The Q&A is a preview from the book – CCNA Interview questions and answers