Of course.
Here is the complete set of 150 Computer Networking MCQs in a format where the
answer is placed directly under each question, making it easy to review. You can copy this
entire text and paste it into a document to save as a PDF.
---
150 Computer Networking MCQs for Capgemini (With Answers)
---
Part 1: Networking Fundamentals & Models (1-15)
1. How many layers are there in the OSI model?
A)4
B)5
C)7
D)9
Answer: C) 7
2. Which of the following is NOT a layer of the OSI model?
A)Network Layer
B)Internet Layer
C)Presentation Layer
D)Session Layer
Answer: B) Internet Layer
3. The TCP/IP model has how many layers?
A)4
B)5
C)6
D)7
Answer: A) 4
4. Which layer of the OSI model is responsible for logical addressing?
A)Data Link Layer
B)Network Layer
C)Transport Layer
D)Physical Layer
Answer: B) Network Layer
5. The primary purpose of the Data Link Layer is:
A)End-to-end connection
B)Node-to-node delivery
C)Process-to-process delivery
D)Reliable data transfer
Answer: B) Node-to-node delivery
6. Which protocol is an example of a connectionless protocol?
A)TCP
B)FTP
C)UDP
D)HTTP
Answer: C) UDP
7. The process of converting data into a format suitable for transmission is called?
A)Encryption
B)Encoding
C)Compression
D)Segmentation
Answer: B) Encoding
8. Which layer provides services like file transfer and email?
A)Application Layer
B)Presentation Layer
C)Session Layer
D)Transport Layer
Answer: A) Application Layer
9. What is the main function of the Transport Layer?
A)Routing
B)Framing
C)End-to-end delivery of the entire message
D)Bit synchronization
Answer: C) End-to-end delivery of the entire message
10. Which of the following is a key characteristic of a LAN?
A)Covers a large geographical area
B)Owned by multiple organizations
C)High speed and low latency
D)Uses satellite links
Answer: C) High speed and low latency
11. What does the "http" in a website URL stand for?
A)Hyper Text Transfer Protocol
B)High Transfer Text Protocol
C)Hyper Transfer Technology Protocol
D)High-level Transport Transfer Protocol
Answer: A) Hyper Text Transfer Protocol
12. Which organization developed the OSI model?
A)IEEE
B)ISO
C)ANSI
D)IETF
Answer: B) ISO
13. Which layer is responsible for establishing, managing, and terminating sessions?
A)Application Layer
B)Presentation Layer
C)Session Layer
D)Transport Layer
Answer: C) Session Layer
14. The Physical Layer is concerned with the transmission of:
A)Frames
B)Packets
C)Segments
D)Raw Bits
Answer: D) Raw Bits
15. Encapsulation at the Transport Layer produces:
A)Frames
B)Packets
C)Segments
D)Bits
Answer: C) Segments
---
Part 2: Network Devices & Topologies (16-30)
16. Which device operates at the Network Layer of the OSI model?
A)Hub
B)Switch
C)Router
D)Repeater
Answer: C) Router
17. A device that regenerates a signal to extend its range is a:
A)Router
B)Bridge
C)Repeater
D)Gateway
Answer: C) Repeater
18. Which device is used to connect two different network segments and make forwarding
decisions based on MAC addresses?
A)Hub
B)Bridge
C)Router
D)Repeater
Answer: B) Bridge
19. What is the primary function of a switch?
A)To connect different networks
B)To filter and forward data based on MAC addresses
C)To modulate digital signals
D)To provide wireless access
Answer: B) To filter and forward data based on MAC addresses
20. Which network topology requires a central controller or hub?
A)Bus
B)Ring
C)Mesh
D)Star
Answer: D) Star
21. In which topology is every node connected to every other node?
A)Bus Topology
B)Star Topology
C)Mesh Topology
D)Ring Topology
Answer: C) Mesh Topology
22. Which device operates at the Physical Layer?
A)Switch
B)Router
C)Hub
D)Bridge
Answer: C) Hub
23. A device that connects two or more networks that use different protocols is a:
A)Router
B)Bridge
C)Gateway
D)Switch
Answer: C) Gateway
24. What is the main disadvantage of a Bus Topology?
A)High cost
B)Difficult to troubleshoot
C)A single cable break can halt the entire network
D)Complex installation
Answer: C) A single cable break can halt the entire network
25. Which device uses IP addresses to forward data?
A)Layer 2 Switch
B)Hub
C)Router
D)Bridge
Answer: C) Router
26. A Wireless Access Point (WAP) typically operates at which OSI layer?
A)Physical Layer
B)Data Link Layer
C)Both A and B
D)Network Layer
Answer: C) Both A and B
27. What is the purpose of a firewall?
A)To boost network speed
B)To assign IP addresses
C)To control incoming and outgoing network traffic
D)To connect to the internet
Answer: C) To control incoming and outgoing network traffic
28. Which network topology uses a token-passing mechanism?
A)Star
B)Bus
C)Ring
D)Mesh
Answer: C) Ring
29. A modem performs the function of:
A)Modulation and Demodulation
B)Multiplexing and Demultiplexing
C)Amplification and Regeneration
D)Encoding and Decoding
Answer: A) Modulation and Demodulation
30. Which device creates a single broadcast domain by default?
A)Router
B)Hub
C)Layer 3 Switch
D)Bridge
Answer: B) Hub
Part 3: IP Addressing & Subnetting (31-60)
31. What is the range of Class A private IP addresses?
A)[Link] to [Link]
B)[Link] to [Link]
C)[Link] to [Link]
D)[Link] to [Link]
Answer: A) [Link] to [Link]
32. Which subnet mask is equivalent to /24?
A)[Link]
B)[Link]
C)[Link]
D)[Link]
Answer: C) [Link]
33. How many host addresses are available in a /28 network?
A)14
B)16
C)30
D)32
Answer: A) 14
34. Which of these is a valid Class B IP address?
A)[Link]
B)[Link]
C)[Link]
D)[Link]
Answer: A) [Link]
35. What is the default subnet mask for Class C addresses?
A)[Link]
B)[Link]
C)[Link]
D)[Link]
Answer: C) [Link]
36. Which protocol is used to automatically assign IP addresses to devices?
A)DNS
B)DHCP
C)FTP
D)HTTP
Answer: B) DHCP
37. What is the loopback IP address in IPv4?
A)[Link]
B)[Link]
C)[Link]
D)[Link]
Answer: A) [Link]
38. How many bits are in an IPv4 address?
A)32
B)48
C)64
D)128
Answer: A) 32
39. Which of these represents an IPv6 address?
A)[Link]
B)FE80::A12:CD34:EF56:AB78
C)00:1B:44:11:3A:B7
D)[Link]
Answer: B) FE80::A12:CD34:EF56:AB78
40. What is the purpose of NAT?
A)To encrypt network traffic
B)To translate private IP addresses to public IP addresses
C)To resolve domain names to IP addresses
D)To route packets between networks
Answer: B) To translate private IP addresses to public IP addresses
41. Which IP address class has the most host capacity?
A)Class A
B)Class B
C)Class C
D)Class D
Answer: A) Class A
42. What does APIPA stand for?
A)Automatic Private IP Addressing
B)Advanced Public IP Allocation
C)Automated Protocol IP Assignment
D)Applied Private IP Administration
Answer: A) Automatic Private IP Addressing
43. Which port does DHCP use?
A)Port 20 and 21
B)Port 53
C)Port 67 and 68
D)Port 80
Answer: C) Port 67 and 68
44. How many host addresses are available with subnet mask [Link]?
A)30
B)32
C)62
D)64
Answer: A) 30
45. Which organization manages IP address allocation globally?
A)IEEE
B)IANA
C)ISO
D)ITU
Answer: B) IANA
46. What is the maximum number of hosts in a Class B network with default mask?
A)254
B)65,534
C)16,777,214
D)255
Answer: B) 65,534
47. Which technology allows multiple devices to share a single public IP address?
A)DNS
B)PAT
C)VLAN
D)SSH
Answer: B) PAT
48. What is the binary representation of 192?
A)11000000
B)10101000
C)11001100
D)11110000
Answer: A) 11000000
49. Which command is used to check IP configuration on Windows?
A)ifconfig
B)ipconfig
C)netstat
D)tracert
Answer: B) ipconfig
50. What is the purpose of the gateway address?
A)To connect to devices on the same network
B)To connect to devices on different networks
C)To resolve domain names
D)To assign IP addresses
Answer: B) To connect to devices on different networks
51. Which protocol is used to translate IP addresses to MAC addresses?
A)DNS
B)DHCP
C)ARP
D)RARP
Answer: C) ARP
52. What is the network address for [Link]/24?
A)[Link]
B)[Link]
C)[Link]
D)[Link]
Answer: A) [Link]
53. How many subnets can you create with 3 borrowed bits?
A)6
B)8
C)14
D)16
Answer: B) 8
54. Which IP address is used for limited broadcast?
A)[Link]
B)[Link]
C)[Link]
D)[Link]
Answer: C) [Link]
55. What is the first usable address in subnet [Link]/12?
A)[Link]
B)[Link]
C)[Link]
D)[Link]
Answer: B) [Link]
56. Which protocol provides error messages for IP?
A)TCP
B)UDP
C)ICMP
D)IGMP
Answer: C) ICMP
57. How many bits are in an IPv6 address?
A)32
B)64
C)128
D)256
Answer: C) 128
58. What is the binary equivalent of /26 subnet mask?
A)11111111.11111111.11111111.00000000
B)11111111.11111111.11111111.11000000
C)11111111.11111111.11111111.11100000
D)11111111.11111111.11111111.11110000
Answer: B) 11111111.11111111.11111111.11000000
59. Which address is used as a source address when a device doesn't have an IP?
A)[Link]
B)[Link]
C)[Link]
D)[Link]
Answer: C) [Link]
60. What is the directed broadcast address for [Link]/24?
A)[Link]
B)[Link]
C)[Link]
D)[Link]
Answer: C) [Link]
---
Part 4: TCP & UDP Protocols (61-75)
61. What does TCP stand for?
A)Transmission Control Protocol
B)Transfer Connection Protocol
C)Transmission Connection Protocol
D)Transfer Control Protocol
Answer: A) Transmission Control Protocol
62. Which protocol is connection-oriented?
A)TCP
B)UDP
C)ICMP
D)IGMP
Answer: A) TCP
63. What is the purpose of sequence numbers in TCP?
A)To identify the application
B)To reassemble data in correct order
C)To establish connection
D)To encrypt data
Answer: B) To reassemble data in correct order
64. Which protocol is used for video streaming?
A)TCP
B)UDP
C)FTP
D)HTTP
Answer: B) UDP
65. How many bits is a TCP header?
A)20 bytes
B)24 bytes
C)32 bytes
D)Variable length
Answer: D) Variable length
66. What is the three-way handshake in TCP?
A)SYN, SYN-ACK, ACK
B)SYN, ACK, FIN
C)SYN, SYN, ACK
D)ACK, SYN, ACK
Answer: A) SYN, SYN-ACK, ACK
67. Which port does HTTP use?
A)Port 21
B)Port 25
C)Port 53
D)Port 80
Answer: D) Port 80
68. What is the main advantage of UDP over TCP?
A)Reliability
B)Faster transmission
C)Error correction
D)Flow control
Answer: B) Faster transmission
69. Which field in TCP header controls data flow?
A)Sequence Number
B)Acknowledgment Number
C)Window Size
D)Checksum
Answer: C) Window Size
70. What is the range of well-known ports?
A)0-1023
B)1024-49151
C)49152-65535
D)256-1024
Answer: A) 0-1023
71. Which protocol uses both TCP and UDP?
A)FTP
B)DNS
C)HTTP
D)SMTP
Answer: B) DNS
72. What is socket in networking?
A)Physical connector
B)IP address + Port number
C)Network interface
D)Cable type
Answer: B) IP address + Port number
73. Which TCP flag is used to terminate a connection?
A)SYN
B)ACK
C)FIN
D)RST
Answer: C) FIN
74. What does MSS stand for in TCP?
A)Maximum Segment Size
B)Minimum Segment Size
C)Maximum Socket Size
D)Minimum Socket Size
Answer: A) Maximum Segment Size
75. Which protocol provides reliable data transfer?
A)UDP
B)IP
C)TCP
D)ICMP
Answer: C) TCP
---
Part 5: Network Security & Application Layer Protocols (76-95)
76. What does SSL stand for?
A)Secure Socket Layer
B)System Security Layer
C)Secure System Link
D)Socket Security Layer
Answer: A) Secure Socket Layer
77. Which port does HTTPS use?
A)Port 80
B)Port 443
C)Port 21
D)Port 25
Answer: B) Port 443
78. What is the purpose of a firewall?
A)To prevent unauthorized access
B)To increase network speed
C)To assign IP addresses
D)To resolve domain names
Answer: A) To prevent unauthorized access
79. Which encryption protocol is used in WPA2?
A)AES
B)DES
C)RSA
D)MD5
Answer: A) AES
80. What does VPN stand for?
A)Virtual Private Network
B)Virtual Public Network
C)Verified Private Network
D)Virtual Protocol Network
Answer: A) Virtual Private Network
81. Which protocol is used for secure file transfer?
A)FTP
B)SFTP
C)HTTP
D)TFTP
Answer: B) SFTP
82. What is the default port for SSH?
A)Port 21
B)Port 22
C)Port 23
D)Port 25
Answer: B) Port 22
83. Which type of attack floods a network with traffic?
A)Phishing
B)DDoS
C)Spoofing
D)Sniffing
Answer: B) DDoS
84. What is the purpose of DNS?
A)To assign IP addresses
B)To translate domain names to IP addresses
C)To secure network connections
D)To transfer files
Answer: B) To translate domain names to IP addresses
85. Which protocol is used for email transmission?
A)HTTP
B)FTP
C)SMTP
D)SNMP
Answer: C) SMTP
86. What does TLS stand for?
A)Transport Layer Security
B)Transfer Layer Security
C)Transmission Layer Security
D)Transport Link Security
Answer: A) Transport Layer Security
87. Which port does DNS use?
A)Port 53
B)Port 67
C)Port 80
D)Port 110
Answer: A) Port 53
88. What is social engineering?
A)Hardware manipulation
B)Psychological manipulation of people
C)Network configuration
D)Software development
Answer: B) Psychological manipulation of people
89. Which protocol is used to monitor network devices?
A)SMTP
B)SNMP
C)FTP
D)HTTP
Answer: B) SNMP
90. What is the purpose of ACL?
A)To control network traffic
B)To encrypt data
C)To assign IP addresses
D)To resolve domain names
Answer: A) To control network traffic
91. Which authentication protocol uses tickets?
A)Kerberos
B)SSL
C)SSH
D)HTTPS
Answer: A) Kerberos
92. What does IDS stand for?
A)Intrusion Detection System
B)Internet Detection System
C)Intrusion Defense System
D)Internet Defense System
Answer: A) Intrusion Detection System
93. Which protocol is used for voice over IP?
A)HTTP
B)FTP
C)VoIP
D)SMTP
Answer: C) VoIP
94. What is the purpose of port security?
A)To secure physical ports
B)To limit MAC addresses on a switch port
C)To encrypt data
D)To assign IP addresses
Answer: B) To limit MAC addresses on a switch port
95. Which wireless security protocol is most secure?
A)WEP
B)WPA
C)WPA2
D)Open Network
Answer: C) WPA2
---
Part 6: Routing & Switching (96-115)
96. What is the main function of a router?
A)To connect devices within same network
B)To forward packets between different networks
C)To amplify signals
D)To convert data formats
Answer: B) To forward packets between different networks
97. Which routing protocol uses hop count as metric?
A)OSPF
B)EIGRP
C)RIP
D)BGP
Answer: C) RIP
98. What is STP used for?
A)To prevent routing loops
B)To prevent switching loops
C)To secure data
D)To assign IP addresses
Answer: B) To prevent switching loops
99. Which protocol is used for inter-domain routing?
A)OSPF
B)EIGRP
C)RIP
D)BGP
Answer: D) BGP
100. What is the purpose of VLAN?
A)To create logical broadcast domains
B)To connect different networks
C)To assign IP addresses
D)To encrypt data
Answer: A) To create logical broadcast domains
101. Which switching method has the lowest latency?
A)Store-and-forward
B)Cut-through
C)Fragment-free
D)Circuit switching
Answer: B) Cut-through
102. What does OSPF stand for?
A)Open Shortest Path First
B)Open System Path First
C)Operational Shortest Path First
D)Open System Protocol First
Answer: A) Open Shortest Path First
103. Which device maintains a routing table?
A)Switch
B)Hub
C)Router
D)Bridge
Answer: C) Router
104. What is the administrative distance of directly connected routes?
A)0
B)1
C)90
D)110
Answer: A) 0
105. Which protocol uses cost as metric?
A)RIP
B)OSPF
C)BGP
D)EIGRP
Answer: B) OSPF
106. What is the purpose of trunking?
A)To carry multiple VLAN traffic
B)To connect hosts
C)To assign IP addresses
D)To encrypt data
Answer: A) To carry multiple VLAN traffic
107. Which routing protocol is hybrid?
A)RIP
B)OSPF
C)EIGRP
D)BGP
Answer: C) EIGRP
108. What is the default administrative distance of OSPF?
A)90
B)100
C)110
D)120
Answer: C) 110
109. Which protocol uses AS numbers?
A)OSPF
B)EIGRP
C)BGP
D)RIP
Answer: C) BGP
110. What is the purpose of ARP?
A)To map IP to MAC address
B)To map MAC to IP address
C)To assign IP addresses
D)To resolve domain names
Answer: A) To map IP to MAC address
111. Which switching method checks first 64 bytes?
A)Store-and-forward
B)Cut-through
C)Fragment-free
D)Fast-forward
Answer: C) Fragment-free
112. What is the default VLAN?
A)VLAN 0
B)VLAN 1
C)VLAN 10
D)VLAN 100
Answer: B) VLAN 1
113. Which protocol uses DUAL algorithm?
A)OSPF
B)EIGRP
C)RIP
D)BGP
Answer: B) EIGRP
114. What is convergence in routing?
A)All routers have consistent routing tables
B)Data conversion
C)Protocol conversion
D)Speed matching
Answer: A) All routers have consistent routing tables
115. Which device works at both layer 2 and layer 3?
A)Hub
B)Layer 3 switch
C)Bridge
D)Repeater
Answer: B) Layer 3 switch
---
Part 7: DNS, DHCP & Miscellaneous Services (116-135)
116. What does DHCP provide to clients?
A)IP address, subnet mask, default gateway
B)Domain name resolution
C)File storage
D)Web hosting
Answer: A) IP address, subnet mask, default gateway
117. Which record type in DNS maps hostname to IP address?
A)A record
B)PTR record
C)MX record
D)CNAME record
Answer: A) A record
118. What is the purpose of DNS cache?
A)To store frequently accessed DNS records
B)To store IP addresses
C)To store web pages
D)To store emails
Answer: A) To store frequently accessed DNS records
119. Which DHCP message type is sent by client to request IP?
A)DHCPDISCOVER
B)DHCPOFFER
C)DHCPREQUEST
D)DHCPACK
Answer: A) DHCPDISCOVER
120. What does TTL stand for in DNS?
A)Time To Live
B)Total Time Limit
C)Transfer Time Limit
D)Time To Leave
Answer: A) Time To Live
121. Which DNS record type is used for mail servers?
A)A record
B)MX record
C)CNAME record
D)PTR record
Answer: B) MX record
122. What is DHCP lease time?
A)Duration for which IP address is assigned
B)Time to configure DHCP
C)Time to renew DHCP
D)Time to discover DHCP server
Answer: A) Duration for which IP address is assigned
123. Which protocol is used for time synchronization?
A)NTP
B)FTP
C)HTTP
D)SMTP
Answer: A) NTP
124. What is the purpose of reverse DNS lookup?
A)Map IP address to hostname
B)Map hostname to IP address
C)Assign IP addresses
D)Secure DNS queries
Answer: A) Map IP address to hostname
125. Which DNS server type contains original records?
A)Recursive resolver
B)Root server
C)Authoritative server
D)Caching server
Answer: C) Authoritative server
126. What is FQDN?
A)Fully Qualified Domain Name
B)Fully Qualified DNS Name
C)Fully Qualified Data Network
D)Fully Qualified Domain Network
Answer: A) Fully Qualified Domain Name
127. Which DHCP process happens when lease is 50% expired?
A)Renewal
B)Rebinding
C)Discovery
D)Release
Answer: A) Renewal
128. What is the purpose of DNS round robin?
A)Load balancing
B)Security
C)Encryption
D)Authentication
Answer: A) Load balancing
129. Which record type creates aliases in DNS?
A)A record
B)MX record
C)CNAME record
D)PTR record
Answer: C) CNAME record
130. What is DNS spoofing?
A)Providing false DNS responses
B)DNS server failure
C)DNS cache clearing
D)DNS record update
Answer: A) Providing false DNS responses
131. Which port does DHCP client use?
A)Port 67
B)Port 68
C)Port 53
D)Port 80
Answer: B) Port 68
132. What is the purpose of DNS SEC?
A)To secure DNS queries
B)To speed up DNS
C)To backup DNS
D)To monitor DNS
Answer: A) To secure DNS queries
133. Which DNS record type maps IP to hostname?
A)A record
B)PTR record
C)MX record
D)CNAME record
Answer: B) PTR record
134. What is APIPA range?
A)[Link] to [Link]
B)[Link] to [Link]
C)[Link] to [Link]
D)[Link] to [Link]
Answer: A) [Link] to [Link]
135. Which service resolves NetBIOS names?
A)DNS
B)WINS
C)DHCP
D)HTTP
Answer: B) WINS
---
Part 8: Advanced & Mixed Concepts (136-150)
136. What is MPLS used for?
A)High-speed packet forwarding
B)Email transmission
C)File storage
D)Web hosting
Answer: A) High-speed packet forwarding
137. Which protocol is used for virtual machine communication?
A)VXLAN
B)HTTP
C)FTP
D)SMTP
Answer: A) VXLAN
138. What is SDN?
A)Software Defined Networking
B)System Defined Networking
C)Software Data Networking
D)System Data Networking
Answer: A) Software Defined Networking
139. Which cloud service model provides networking infrastructure?
A)IaaS
B)PaaS
C)SaaS
D)NaaS
Answer: A) IaaS
140. What is the purpose of QoS?
A)To prioritize network traffic
B)To assign IP addresses
C)To resolve domain names
D)To encrypt data
Answer: A) To prioritize network traffic
141. Which protocol is used for network automation?
A)NETCONF
B)HTTP
C)FTP
D)SMTP
Answer: A) NETCONF
142. What is network virtualization?
A)Creating virtual network resources
B)Increasing network speed
C)Securing network
D)Assigning IP addresses
Answer: A) Creating virtual network resources
143. Which technology allows multiple OS on single hardware?
A)Virtualization
B)Containerization
C)Networking
D)Storage
Answer: A) Virtualization
144. What is the purpose of load balancer?
A)To distribute network traffic
B)To assign IP addresses
C)To resolve domain names
D)To encrypt data
Answer: A) To distribute network traffic
145. Which protocol is used for network monitoring?
A)SNMP
B)HTTP
C)FTP
D)SMTP
Answer: A) SNMP
146. What is BPDU used for?
A)Spanning Tree Protocol communication
B)IP address assignment
C)Domain name resolution
D)Data encryption
Answer: A) Spanning Tree Protocol communication
147. Which wireless standard operates at 5 GHz?
A)802.11a
B)802.11b
C)802.11g
D)802.11n
Answer: A) 802.11a
148. What is the maximum speed of Gigabit Ethernet?
A)1000 Mbps
B)100 Mbps
C)10 Mbps
D)10000 Mbps
Answer: A) 1000 Mbps
149. Which fiber connector is most common?
A)LC
B)SC
C)ST
D)FC
Answer: B) SC
150. What is the purpose of netstat command?
A)To display network connections
B)To test connectivity
C)To trace route
D)To configure network
Answer: A) To display network connections
---
END OF DOCUMENT
Copy all content from "### 150 Computer Networking MCQs..." to this line and paste into a
word processor to create your PDF.