Friday, 18 July 2025

Networking MCQs

Networking Practice MCQs - Examveda Style

Networking Practice MCQ Questions and Answers

Comprehensive Topics from Examveda.com

Networking Miscellaneous
1. Which of the following is a peer-to-peer network model?
Answer: C. Workgroup
2. What is the main purpose of a network hub?
Answer: C. To broadcast incoming data to all connected ports
3. Which device operates at the Physical layer (Layer 1) of the OSI model?
Answer: C. Hub
4. What is latency in a network context?
Answer: B. The time delay before a transfer of data begins following an instruction for its transfer
5. Which of the following topologies offers the highest fault tolerance?
Answer: D. Mesh
6. What is a domain name system (DNS) primarily used for?
Answer: B. Translating domain names to IP addresses
7. Which of the following describes a Local Area Network (LAN)?
Answer: B. Typically spans a single building or campus
Networking Basics
8. Which layer of the OSI model is responsible for data encryption and compression?
Answer: A. Presentation Layer
9. What is the function of a NIC (Network Interface Card)?
Answer: B. To connect a computer to a network
10. Which cabling type is most susceptible to electromagnetic interference (EMI)?
Answer: C. Unshielded Twisted Pair (UTP)
11. What is a broadcast domain?
Answer: C. A group of devices that receive broadcast frames from each other
12. Which of the following is a connection-oriented protocol?
Answer: C. TCP
13. The physical address of a device on a network is known as its:
Answer: C. MAC Address
14. What is the standard port for FTP data transfer?
Answer: A. 20
TCP IP
15. Which of the following protocols operates at the Internet Layer of the TCP/IP model?
Answer: C. IP
16. What is the primary function of the TCP three-way handshake?
Answer: B. To establish a connection before data transfer
17. Which protocol is used by email clients to send email?
Answer: C. SMTP
18. What is the maximum segment size (MSS) in TCP?
Answer: B. The largest amount of data that a TCP segment can hold
19. Which port number is typically used by HTTPS?
Answer: C. 443
20. What is the role of ARP (Address Resolution Protocol)?
Answer: B. To map IP addresses to MAC addresses
21. What is a socket in TCP/IP networking?
Answer: B. A combination of an IP address and a port number
IOS and Security Device Manager
22. Which command would you use to configure a static IP address on a Cisco router interface?
Answer: B. interface gigabitethernet 0/0; ip address 192.168.1.1 255.255.255.0; no shutdown
23. What is the default privilege level when you log into a Cisco router?
Answer: A. User EXEC mode (privilege level 1)
24. Which command is used to display the currently active configuration file on a Cisco device?
Answer: D. show running-config
25. Cisco Security Device Manager (SDM) is a ______ based application.
Answer: C. Graphical User Interface (GUI)
26. Which IOS command allows you to view the IP addresses and status of all interfaces?
Answer: C. show ip interface brief
27. What does the "service password-encryption" command do in Cisco IOS?
Answer: B. Encrypts all plaintext passwords in the configuration
28. Which mode allows you to make changes that affect the entire Cisco device?
Answer: C. Global Configuration mode
IP Routing
29. What is a "default route" in routing?
Answer: B. A route used when no other specific route matches the destination
30. Which routing protocol is a link-state routing protocol?
Answer: D. OSPF
31. What is the administrative distance of an external BGP route?
Answer: A. 20
32. Which type of routing uses a single path between source and destination?
Answer: B. Static Routing
33. What is the purpose of route summarization (aggregation)?
Answer: B. To reduce the number of entries in routing tables
34. Which metric does RIP (Routing Information Protocol) use?
Answer: C. Hop count
35. What is "equal-cost multi-path" (ECMP) routing?
Answer: B. Routing where packets are forwarded over multiple paths of equal cost
Spanning Tree Protocol
36. What problem does STP (Spanning Tree Protocol) solve in a switched network?
Answer: C. Layer 2 loops (broadcast storms, MAC table instability, multiple frame copies)
37. Which STP port role sends and receives BPDUs and forwards traffic?
Answer: B. Designated Port
38. What is a Bridge ID (BID) composed of in STP?
Answer: C. Bridge Priority and MAC address
39. Which STP port state transitions directly to the forwarding state without a delay?
Answer: D. (None, all have delays in traditional STP) - Note: Rapid STP (RSTP) allows faster transitions.
40. What is the default Bridge Priority value for Cisco switches in STP?
Answer: C. 32768
41. Which STP enhancement provides faster convergence times?
Answer: C. RSTP (Rapid Spanning Tree Protocol)
42. What happens if a non-root bridge has all its ports in a blocking state?
Answer: B. It is disconnected from the network segment it serves
Security
43. Which type of attack aims to overload a system's resources, making it unavailable to legitimate users?
Answer: C. Denial of Service (DoS)
44. What is the primary function of an Intrusion Prevention System (IPS)?
Answer: B. To prevent detected intrusions by blocking or dropping malicious traffic
45. Which of the following is a symmetric encryption algorithm?
Answer: B. AES
46. What does multifactor authentication (MFA) require?
Answer: C. Two or more distinct forms of authentication
47. Which of the following is a common method for attackers to gain unauthorized access by tricking users into revealing credentials?
Answer: C. Phishing
48. What is the primary benefit of using a Virtual Private Network (VPN)?
Answer: B. To create a secure, encrypted connection over a public network
49. What is a "zero-day" vulnerability?
Answer: C. A vulnerability that has been publicly disclosed but not yet patched
Wireless Technologies
50. Which IEEE 802.11 standard introduced MIMO (Multiple-Input, Multiple-Output) technology?
Answer: D. 802.11n
51. Which wireless security protocol is considered the most secure for Wi-Fi networks today?
Answer: D. WPA3 (WPA2 is also widely used and secure, but WPA3 is the latest and most secure)
52. What is the typical frequency band used by Bluetooth?
Answer: B. 2.4 GHz
53. What is an access point (AP) in a wireless network?
Answer: B. A device that connects wireless devices to a wired network
54. What is the purpose of a Wi-Fi channel?
Answer: C. To provide a distinct frequency for wireless communication to avoid interference
55. Which of the following is an advantage of using 5 GHz Wi-Fi over 2.4 GHz Wi-Fi?
Answer: C. Less susceptible to interference from other devices
56. What is "Ad-hoc" mode in wireless networking?
Answer: A. A mode where devices connect directly to each other without an access point
Wide Area Networks
57. Which technology provides high-speed data transmission over standard phone lines?
Answer: B. DSL
58. What is a "demarcation point" in a WAN connection?
Answer: A. The point where the ISP's responsibility ends and the customer's begins
59. Which WAN technology creates virtual circuits over a shared infrastructure?
Answer: C. Frame Relay
60. What is the purpose of a Channel Service Unit/Data Service Unit (CSU/DSU) in a WAN?
Answer: B. To convert digital signals from a router into a format suitable for the WAN link and vice-versa
61. Which of these is a characteristic of a "leased line" WAN connection?
Answer: B. It provides dedicated, point-to-point bandwidth
62. What does VPN primarily use to create secure tunnels over the internet?
Answer: B. Encryption and tunneling protocols
63. Which WAN technology is often used by large enterprises to connect multiple branch offices and is known for its scalability and traffic engineering capabilities?
Answer: C. MPLS (Multiprotocol Label Switching)
Internetworking
64. Which device is essential for connecting different broadcast domains?
Answer: C. Router
65. What is the primary role of a gateway in internetworking?
Answer: B. To translate protocols between different networks
66. Which layer of the OSI model do routers primarily operate at?
Answer: B. Network Layer
67. What is a "point-to-point" connection in networking?
Answer: B. A dedicated communication link between two endpoints
68. Which of the following best describes the internet?
Answer: B. A global system of interconnected computer networks
69. What is the difference between a switch and a hub in terms of forwarding decisions?
Answer: B. Switches learn MAC addresses and forward frames only to the destination port, hubs broadcast to all ports
70. What is a "backbone" network?
Answer: B. A central conduit connecting smaller segments of a network
Subnetting
71. What is the purpose of subnetting an IP network?
Answer: B. To reduce the size of broadcast domains and improve network efficiency
72. If a network has a subnet mask of 255.255.255.240, how many usable host addresses are in each subnet?
Answer: B. 14 ($2^4 - 2 = 14$)
73. What is the CIDR notation for a subnet mask of 255.255.255.192?
Answer: B. /26
74. Given the IP address 172.16.10.50 and a subnet mask of 255.255.255.224, what is the broadcast address for this subnet?
Answer: B. 172.16.10.63 (Subnets are ...0, ...32, ...64. So .32 to .63. Broadcast is .63)
75. What is a "variable length subnet mask" (VLSM)?
Answer: B. Using different subnet mask lengths for different subnets within the same major network
76. How many bits are in an IPv4 address?
Answer: C. 32
77. Which IP address class is designed for small networks?
Answer: C. Class C
Managing a Cisco Internetwork
78. What is the purpose of the `reload` command in Cisco IOS?
Answer: B. To restart the Cisco device
79. Which command allows you to test connectivity to another device using ICMP?
Answer: C. ping
80. What is the role of `NVRAM` (Non-Volatile RAM) in a Cisco device?
Answer: C. Stores the startup configuration
81. Which protocol is used by Cisco devices to discover directly connected neighbors?
Answer: C. CDP (Cisco Discovery Protocol)
82. To access a Cisco device remotely via a secure, encrypted connection, you would typically use:
Answer: C. SSH
83. What does the `copy running-config startup-config` command achieve?
Answer: C. It saves the active configuration to non-volatile memory
84. What is the purpose of a console cable when managing a Cisco device?
Answer: B. For initial configuration or troubleshooting when network access is unavailable
EIGRP and OSPF
85. Which of the following is a Cisco proprietary routing protocol?
Answer: B. EIGRP
86. OSPF uses which type of packets to discover and maintain neighbor relationships?
Answer: C. Hello packets
87. What is an "Area" in OSPF?
Answer: A. A logical grouping of routers to limit the scope of link-state updates
88. EIGRP uses what as its primary metric for path selection?
Answer: C. Bandwidth and Delay (composite metric)
89. What is the role of the Designated Router (DR) in an OSPF multi-access network?
Answer: B. To represent the segment to the rest of the OSPF network, reducing LSA flooding
90. EIGRP's DUAL algorithm ensures what property in its path calculations?
Answer: A. Loop prevention
91. Which OSPF network type requires a Designated Router (DR) and Backup Designated Router (BDR)?
Answer: B. Broadcast multi-access
Virtual LANs
92. What is the main characteristic of a VLAN?
Answer: B. It logically segments a network into smaller broadcast domains
93. Which type of port on a switch is used to carry traffic for multiple VLANs?
Answer: B. Trunk port
94. What is "Inter-VLAN routing"?
Answer: B. The process of routing traffic between different VLANs
95. What does the "native VLAN" do on a trunk port?
Answer: B. It carries untagged traffic
96. Which Cisco feature simplifies the creation and management of VLANs across multiple switches by dynamically distributing VLAN information?
Answer: A. VTP (VLAN Trunking Protocol)
97. What is the default VLAN on most Cisco switches?
Answer: A. VLAN 1
98. How do VLANs enhance network security?
Answer: C. By segmenting the network, limiting broadcast domains and preventing direct communication between unauthorized devices
Network Address Translation
99. Which type of NAT is commonly used in homes and small offices to allow multiple private IP addresses to share a single public IP address?
Answer: C. PAT (Port Address Translation)
100. What is the term for the IP address used internally within a private network, before NAT translation?
Answer: C. Inside Local Address
101. Which RFC defines the private IP address ranges used for NAT?
Answer: B. RFC 1918
102. What is the primary reason for using NAT?
Answer: B. To conserve public IPv4 addresses
103. In dynamic NAT, how are private IP addresses mapped to public IP addresses?
Answer: B. Using a pool of public IP addresses on a first-come, first-served basis
104. Which term describes the process of allowing outside devices to initiate connections to specific internal servers using NAT?
Answer: B. Port Forwarding (or Static NAT with port mapping)
105. What happens to the source IP address of a packet when it leaves a NAT-enabled router and goes to the internet?
Answer: B. It is replaced with a public IP address
IPv6
106. How many hexadecimal digits are in an IPv6 address segment (hextet)?
Answer: B. 4
107. Which IPv6 address type is used for communication between devices on the same link and is not routable beyond that link?
Answer: C. Link-Local
108. What is the process of automatically configuring IPv6 addresses without a DHCPv6 server called?
Answer: C. SLAAC (Stateless Address Autoconfiguration)
109. Which IPv6 address type is equivalent to a public IPv4 address and is globally routable?
Answer: B. Global Unicast
110. How is the IPv6 loopback address represented?
Answer: B. ::1
111. What is the IPv6 equivalent of ARP?
Answer: B. NDP (Neighbor Discovery Protocol)
112. IPv6 uses what to identify multiple interfaces that belong to the same routing group, allowing packets to be delivered to any one of the interfaces?
Answer: C. Anycast Address

No comments:

Post a Comment

If you have any doubts, please let me know