Cisco CCNA Practice Test 2 — Questions and Answers
Question 1: Which command displays the IP address, subnet mask, and default gateway configured on a Cisco router interface?
- show ip route
- show interfaces
- show ip interface brief (Correct answer)
- show running-config interface
Correct answer: show ip interface brief
The 'show ip interface brief' command provides a concise summary of all interfaces including IP addresses and their status.
Question 2: What is the administrative distance of OSPF?
- 90
- 100
- 110 (Correct answer)
- 120
Correct answer: 110
OSPF has an administrative distance of 110, which determines its trustworthiness compared to other routing protocols.
Question 3: Which Spanning Tree Protocol port state forwards data frames and learns MAC addresses?
- Blocking
- Listening
- Learning
- Forwarding (Correct answer)
Correct answer: Forwarding
Only the Forwarding state allows a port to both learn MAC addresses and forward data frames.
Question 4: A network administrator needs to allow only HTTPS traffic inbound on an interface. Which port number should be permitted in the ACL?
- 80
- 443 (Correct answer)
- 8080
- 22
Correct answer: 443
HTTPS uses TCP port 443 for secure web communication.
Question 5: Which protocol is used by Cisco devices to share VLAN database information between switches?
- STP
- CDP
- VTP (Correct answer)
- DTP
Correct answer: VTP
VLAN Trunking Protocol (VTP) propagates VLAN configuration information across a switched network.
Question 6: What is the default VLAN on a Cisco switch?
- VLAN 0
- VLAN 1 (Correct answer)
- VLAN 10
- VLAN 1002
Correct answer: VLAN 1
VLAN 1 is the default VLAN on Cisco switches and all ports are assigned to it by default.
Question 7: Which command enables OSPF on a router with process ID 1?
- router ospf enable 1
- ip ospf 1
- router ospf 1 (Correct answer)
- enable ospf process 1
Correct answer: router ospf 1
The 'router ospf 1' command enters OSPF router configuration mode with process ID 1.
Which command displays the IP address, subnet mask, and default gateway configured on a Cisco router interface?