Practice networking Quizzes
Explore networking in depth with quizzes covering fundamentals to advanced concepts. DevBrainiac's structured quiz format helps you understand theory, apply logic and master problem-solving techniques. With continuous practice, you can track progress, fix mistakes and build strong command of networking.
Explore All networking Quizzes
Learn networking step by step with interactive quizzes designed for beginners and learners revising key concepts. Build a strong foundation with clear, structured practice in networking.
Question 1
Which layer of the OSI model is responsible for routing?
1
Transport Layer
2
Network Layer
3
Data Link Layer
4
Application Layer
Question 2
Which of the following is the main function of the OSI model?
1
To define the way a network operates
2
To break down complex network operations into manageable layers
3
To manage network resources
4
To ensure that devices communicate
Question 3
What is the purpose of a subnet mask?
1
To identify the device’s physical address
2
To divide an IP address into network and host portions
3
To provide encryption for communication
4
To determine the gateway IP address
Question 4
What protocol is used for secure communication over the internet?
1
HTTP
2
SMPT
3
HTTPS
4
FTP
Question 5
Which of the following is an example of a Layer 2 device?
1
Router
2
Hub
3
Switch
4
Gateway
Question 6
Which type of IP address is used to communicate with all devices in a network?
1
Broadcast
2
UniCast
3
MultiCast
4
Anycast
Question 7
Which of the following is used to assign IP addresses to devices automatically on a network?
1
NAT
2
DNS
3
DHCP
4
ARP
Question 8
Which of the following protocols is used for email retrieval?
1
SMTP
2
HTTP
3
FTP
4
IMAP
Question 9
What is the purpose of the ARP protocol in networking?
1
To establish secure communication between devices
2
To control the flow of data packets between devices
3
To translate IP addresses to MAC addresses
4
To convert domain names to IP addresses
Question 10
What is the main purpose of the DNS (Domain Name System)?
1
To encrypt data between clients and servers
2
To send emails between servers
3
To transfer files over the network
4
To resolve domain names to IP addresses
Question 11
Which protocol is used to establish a secure connection between a web browser and a web server?
1
FTP
2
SSH
3
SSL/TLS
4
IMAP
Question 12
Which of the following is true about IPv6 addresses?
1
They are 128 bits in length
2
They are backward compatible with IPv4
3
They are written in decimal format
4
They are 32 bits in length
Question 13
Which of the following types of IP address is used to communicate with a single device on the network?
1
Broadcast
2
Unicast
3
Multicast
4
Anycast
Question 14
What does the term "subnetting" refer to in networking?
1
Dividing a network into smaller networks
2
Converting domain names to IP addresses
3
Assigning IP addresses dynamically
4
Providing encryption for secure communication
Question 15
What does the "ping" command do in networking?
1
It encrypts data between devices
2
It transfers files between two devices
3
It assigns an IP address to a device
4
It checks the availability of a device in the network
Question 16
Which of the following is a Layer 3 device that forwards packets based on IP addresses?
1
Switch
2
Router
3
Bridge
4
Hub
Question 17
Which type of address is used to uniquely identify a device on a network at Layer 2 of the OSI model?
1
Port Number
2
MAC address
3
IP address
4
Hostname
Question 18
Which of the following is an example of a connectionless protocol?
1
FTP
2
UDP
3
TCP
4
HTTP
Question 19
Which of the following describes a "collision domain" in networking?
1
A device used to route data between two different networks
2
A network segment where data packets may collide
3
A device used to boost the network signal
4
A set of devices that share the same IP address
Question 20
Which of the following protocols operates at the transport layer of the OSI model?
1
ARP
2
IP
3
TCP
4
DNS
Question 21
Which of the following is a private IP address range?
1
192.168.0.0 to 192.168.255.255
2
10.0.0.0 to 10.255.255.255
3
172.16.0.0 to 172.31.255.255
4
All of the above
Question 22
How many layers are there in the OSI model?
1
8
2
5
3
7
4
6
Question 23
Which of the following is the main function of the Data Link Layer in the OSI model?
1
Provides end-to-end communication
2
Data encryption
3
Routing of packets
4
Error detection and correction
Question 24
Which layer of the OSI model is responsible for end-to-end communication and error recovery?
1
Data Link Layer
2
Session Layer
3
Transport Layer
4
Network Layer
Question 25
Which layer of the OSI model is responsible for logical addressing, routing and forwarding of data packets?
1
Transport Layer
2
Session Layer
3
Network Layer
4
Data Link Layer
Question 26
Which of the following protocols operates at the Application Layer of the OSI model?
1
TCP
2
IP
3
FTP
4
Ethernet
Question 27
Which of the following is NOT a function of the Presentation Layer in the OSI model?
1
Data formatting
2
Encryption and decryption
3
Data compression
4
Routing of packets
Question 28
At which layer of the OSI model does the IP protocol operate?
1
Data Link Layer
2
Network Layer
3
Transport Layer
4
Application Layer
Question 29
Which layer of the OSI model is responsible for physical addressing and error detection during data transmission?
1
Transport Layer
2
Session Layer
3
Network Layer
4
Data Link Layer
Question 30
Which of the following is a device used in the Data Link Layer of the OSI model?
1
Gateway
2
Router
3
Hub
4
Switch
