The most important 30 MCQ questions in computer networks.

Osama Ghandour Geris Mansour
5 min readJan 17, 2024

--

The most important 30 multiple-choice questions (MCQs) covering various aspects of computer networks:

types of links in a computer network

1. What is the purpose of the OSI model in networking?
— A. To define the architecture for network protocols
— B. To establish a framework for software development
— C. To specify the physical network infrastructure
— D. To manage network security
— Correct Answer: A

2. Which layer of the OSI model is responsible for end-to-end communication and provides services like encryption and decryption?
— A. Transport Layer
— B. Presentation Layer
— C. Application Layer
— D. Session Layer
— Correct Answer: B

3. What is the primary function of the Network Layer in the OSI model?
— A. Error detection and correction
— B. Data link control
— C. Routing and addressing
— D. Session establishment and termination
— Correct Answer: C

4. Which addressing scheme is used by IPv6?
— A. 32-bit
— B. 128-bit
— C. 64-bit
— D. 16-bit
— Correct Answer: B

5. What is the purpose of ARP (Address Resolution Protocol)?
— A. To map IP addresses to MAC addresses
— B. To discover the default gateway
— C. To resolve domain names to IP addresses
— D. To establish a secure connection
— Correct Answer: A

6. In networking, what is the function of a router?
— A. Connects devices within the same network
— B. Filters and forwards packets between different networks
— C. Manages network security
— D. Assigns IP addresses dynamically
— Correct Answer: B

7. Which protocol is used for secure communication over a computer network?
— A. HTTP
— B. FTP
— C. SSH
— D. SNMP
— Correct Answer: C

8. What is the primary purpose of DNS (Domain Name System)?
— A. Assigning IP addresses to devices
— B. Resolving domain names to IP addresses
— C. Encrypting network communication
— D. Managing network resources
— Correct Answer: B

9. Which subnet mask is associated with the Class B IP address range?
— A. 255.255.255.0
— B. 255.0.0.0
— C. 255.255.0.0
— D. 255.255.255.255
— Correct Answer: C

10. What is the purpose of ICMP (Internet Control Message Protocol)?
— A. To encapsulate data for transmission
— B. To manage network traffic congestion
— C. To diagnose network-related issues
— D. To establish a secure connection
— Correct Answer: C

11. What does NAT (Network Address Translation) do in networking?
— A. Assigns unique IP addresses to devices
— B. Maps private IP addresses to a public IP address
— C. Encrypts network traffic
— D. Manages network security policies
— Correct Answer: B

12. Which of the following is a layer-2 device in a network?
— A. Router
— B. Switch
— C. Hub
— D. Firewall
— Correct Answer: B

13. What is the role of a firewall in computer networks?
— A. Managing IP addresses
— B. Filtering and controlling network traffic
— C. Resolving domain names to IP addresses
— D. Assigning MAC addresses dynamically
— Correct Answer: B

14. Which protocol is used for file transfer over a network?
— A. HTTP
— B. FTP
— C. SMTP
— D. POP3
— Correct Answer: B

15. What is the purpose of DHCP (Dynamic Host Configuration Protocol)?
— A. To encrypt network communication
— B. To assign IP addresses dynamically to devices
— C. To manage network security
— D. To establish a secure tunnel
— Correct Answer: B

16. What does the term “bandwidth” refer to in networking?
— A. The speed of data transmission
— B. The distance between devices in a network
— C. The number of devices in a network
— D. The size of network packets
— Correct Answer: A

17. Which of the following is a topological design where each device is connected to every other device in the network?
— A. Bus topology
— B. Star topology
— C. Ring topology
— D. Mesh topology
— Correct Answer: D

18. What is the purpose of a proxy server in networking?
— A. To manage IP addresses
— B. To filter and forward network traffic
— C. To assign MAC addresses dynamically
— D. To encrypt network communication
— Correct Answer: B

19. Which TCP/IP protocol is responsible for ensuring the reliable delivery of data packets?
— A. IP
— B. UDP
— C. TCP
— D. ICMP
— Correct Answer: C

20

. What is the function of a DNS resolver in the DNS hierarchy?
— A. Translating domain names to IP addresses
— B. Managing top-level domain servers
— C. Resolving IP addresses to domain names
— D. Authenticating domain registrations
— Correct Answer: A

21. What is the purpose of the HTTP protocol in networking?
— A. File transfer
— B. Email communication
— C. Web page retrieval
— D. Remote login
— Correct Answer: C

22. In networking, what does the term “ping” refer to?
— A. Testing network connectivity
— B. Filtering network traffic
— C. Assigning IP addresses
— D. Managing network security
— Correct Answer: A

23. Which of the following is a valid IPv4 address?
— A. 192.256.1.1
— B. 172.31.0.1
— C. 300.100.50.25
— D. 500.10.5.2
— Correct Answer: B

24. What is the purpose of the HTTPS protocol in networking?
— A. File transfer
— B. Secure web page retrieval
— C. Email communication
— D. Remote login
— Correct Answer: B

25. Which network device operates at the Data Link Layer (Layer 2) of the OSI model?
— A. Router
— B. Hub
— C. Switch
— D. Firewall
— Correct Answer: C

26. What does the term “subnetting” refer to in networking?
— A. Dividing a large network into smaller, logical networks
— B. Allocating IP addresses to devices
— C. Filtering network traffic
— D. Assigning MAC addresses
— Correct Answer: A

27. Which protocol is used for sending and receiving emails?
— A. HTTP
— B. FTP
— C. SMTP
— D. SNMP
— Correct Answer: C

28. What is the purpose of the UDP (User Datagram Protocol) in networking?
— A. Reliable data transmission
— B. Connection-oriented communication
— C. Error detection and correction
— D. Fast and efficient data transmission
— Correct Answer: D

29. Which of the following is a private IP address?
— A. 192.168.1.1
— B. 172.16.0.1
— C. 10.0.0.1
— D. All of the above
— Correct Answer: D

30. What is the purpose of the BGP (Border Gateway Protocol) in networking?
— A. Dynamic routing between autonomous systems
— B. Reliable data transmission
— C. Filtering network traffic
— D. Assigning IP addresses dynamically
— Correct Answer: A

--

--

Osama Ghandour Geris Mansour

An engineer & Educator with experience in working on projects involving various types of students , subscribe to https://www.youtube.com/user/osmgg2/playlists