Networking
Networking
OSI
○ a) 7
○ b) 5
○ c) 8
○ d) 9
Answer: a) 7
2. Which layer of the OSI model is responsible for end-to-end communication?
○ a) Network Layer
○ b) Transport Layer
○ c) Data Link Layer
○ d) Application Layer
Answer: b) Transport Layer
3. Which OSI layer is responsible for establishing, maintaining, and terminating
connections?
○ a) Session Layer
○ b) Application Layer
○ c) Data Link Layer
○ d) Network Layer
Answer: a) Session Layer
4. Which OSI layer is responsible for error detection and correction?
○ a) Network Layer
○ b) Data Link Layer
○ c) Application Layer
○ d) Transport Layer
Answer: b) Data Link Layer
5. At which layer of the OSI model does IP addressing occur?
○ a) Network Layer
○ b) Transport Layer
○ c) Data Link Layer
○ d) Application Layer
Answer: a) Network Layer
6. Which layer is responsible for data encryption and decryption in the OSI model?
○ a) Application Layer
○ b) Presentation Layer
○ c) Transport Layer
○ d) Network Layer
Answer: b) Presentation Layer
7. Which OSI layer manages network routing?
○ a) Physical Layer
○ b) Transport Layer
○ c) Application Layer
○ d) Data Link Layer
Answer: a) Physical Layer
10.Which OSI layer provides logical addressing and routing services?
○ a) Application Layer
○ b) Network Layer
○ c) Transport Layer
○ d) Data Link Layer
Answer: b) Network Layer
11.Which layer of the OSI model is responsible for the logical addressing of devices?
● a) Network Layer
● b) Data Link Layer
● c) Transport Layer
● d) Physical Layer
Answer: a) Network Layer
12. which layer of the OSI model provides the services for end-to-end
communication between devices?
● a) Application Layer
● b) Transport Layer
● c) Network Layer
● d) Session Layer
Answer: b) Transport Layer
13.Which layer is responsible for establishing, maintaining, and terminating
communication between two devices?
● a) Session Layer
● b) Network Layer
● c) Transport Layer
● d) Application Layer
Answer: a) Session Layer
14.Which layer in the OSI model is primarily responsible for segmenting and
reassembling data?
● a) Application Layer
● b) Transport Layer
● c) Data Link Layer
● d) Network Layer
Answer: b) Transport Layer
15.Which layer in the OSI model is responsible for converting data into a format that
can be transmitted on the network?
● a) Physical Layer
● b) Application Layer
● c) Presentation Layer
● d) Network Layer
Answer: c) Presentation Layer
16.Which of the following layers does the Data Link Layer communicate with?
● a) Network Layer
● b) Transport Layer
● c) Physical Layer
● d) Application Layer
Answer: c) Physical Layer
17.At which layer does IP address resolution take place?
● a) Application Layer
● b) Network Layer
● c) Transport Layer
● d) Data Link Layer
Answer: b) Network Layer
18.Which layer is responsible for determining how data is physically transmitted on
the network?
● a) Transport Layer
● b) Data Link Layer
● c) Physical Layer
● d) Session Layer
Answer: c) Physical Layer
19.Which layer of the OSI model provides services such as flow control and error
correction for data transmission?
● a) Transport Layer
● b) Network Layer
● c) Data Link Layer
● d) Physical Layer
Answer: a) Transport Layer
20.Which layer defines the electrical, mechanical, and functional aspects of the
physical medium for data transmission?
● a) Application Layer
● b) Network Layer
● c) Data Link Layer
● d) Physical Layer
Answer: d) Physical Layer
21.Which of the following is the role of the Application Layer in the OSI model?
● a) Encrypts data
● b) Provides end-to-end communication
● c) Enables communication between network applications
● d) Transmits raw bits over the physical medium
Answer: c) Enables communication between network applications
22.Which layer is responsible for controlling access to the transmission medium?
● a) Network Layer
● b) Data Link Layer
● c) Application Layer
● d) Physical Layer
Answer: b) Data Link Layer
23.Which of the following protocols operates at the OSI Application Layer?
● a) IP
● b) HTTP
● c) TCP
● d) Ethernet
Answer: b) HTTP
24.Which layer is responsible for managing data compression and encryption?
● a) Presentation Layer
● b) Network Layer
● c) Transport Layer
● d) Application Layer
Answer: a) Presentation Layer
25.Which layer of the OSI model is responsible for providing an interface for
applications to use network services?
● a) Network Layer
● b) Application Layer
● c) Transport Layer
● d) Session Layer
Answer: b) Application Layer
26.Which layer of the OSI model is responsible for breaking down data into packets
for routing?
● a) Transport Layer
● b) Network Layer
● c) Data Link Layer
● d) Application Layer
Answer: b) Network Layer
27.Which protocol is typically used at the OSI Transport Layer?
● a) HTTP
● b) DNS
● c) TCP
● d) IP
Answer: c) TCP
28.Which of the following services is provided by the Transport Layer of the OSI
model?
● a) Routing
● b) Segmentation
● c) Frame synchronization
● d) Physical addressing
Answer: b) Segmentation
29.Which of the following tasks is performed by the Data Link Layer in the OSI
model?
● a) Routing of data packets
● b) Error detection and correction
● c) Data segmentation
● d) Logical addressing
Answer: b) Error detection and correction
30.What type of addresses are used at the Data Link Layer of the OSI model?
● a) IP addresses
● b) MAC addresses
● c) Port numbers
● d) Domain names
Answer: b) MAC addresses
31.Which OSI layer is responsible for providing transparency to the upper layers in
terms of data transmission?
● a) Data Link Layer
● b) Network Layer
● c) Session Layer
● d) Physical Layer
Answer: a) Data Link Layer
32.Which of the following is a function of the Session Layer?
● a) Establishes, manages, and terminates sessions
● b) Ensures reliable data transfer
● c) Routes data packets
● d) Encrypts data
Answer: a) Establishes, manages, and terminates sessions
33.Which layer of the OSI model ensures that data is delivered in the correct order?
● a) Data Link Layer
● b) Network Layer
● c) Transport Layer
● d) Session Layer
Answer: c) Transport Layer
34.Which protocol operates at the Transport Layer of the OSI model?
● a) TCP
● b) DNS
● c) ICMP
● d) ARP
Answer: a) TCP
35.Which of the following is the primary responsibility of the Network Layer in the
OSI model?
● a) Ensuring error-free data transfer
● b) Routing data packets across different networks
● c) Providing end-to-end communication
● d) Providing encryption services
Answer: b) Routing data packets across different networks
36.Which layer of the OSI model performs error detection and recovery in data
transmission?
● a) Transport Layer
● b) Network Layer
● c) Data Link Layer
● d) Physical Layer
Answer: c) Data Link Layer
37.What does the Physical Layer define?
● a) Error handling and flow control
● b) The process of breaking data into smaller units
● c) The physical means of data transmission such as cables, switches, and voltages
● d) The logical structure of addressing
Answer: c) The physical means of data transmission such as cables, switches, and
voltages
38.Which of the following protocols operates at the OSI Physical Layer?
● a) Ethernet
● b) HTTP
● c) Wi-Fi
● d) ARP
Answer: c) Wi-Fi
39.In which layer of the OSI model do routers operate?
● a) Data Link Layer
● b) Network Layer
● c) Transport Layer
● d) Application Layer
Answer: b) Network Layer
40.Which of the following tasks is managed by the Data Link Layer?
● a) Transmission of data packets
● b) Logical addressing of devices
● c) Error detection and correction
● d) Routing data packets across the network
Answer: c) Error detection and correction
41.Which of the following describes a characteristic of the OSI Physical Layer?
● a) Defines how data is formatted for transmission
● b) Provides encryption and compression services
● c) Deals with the transmission of raw bit streams over a physical medium
● d) Provides segmentation and reassembly of data
Answer: c) Deals with the transmission of raw bit streams over a physical medium
42.Which OSI layer is responsible for breaking data into smaller packets for
transmission?
● a) Transport Layer
● b) Network Layer
● c) Data Link Layer
● d) Physical Layer
Answer: a) Transport Layer
43.At which OSI layer are IP addresses and subnet masks utilized?
● a) Data Link Layer
● b) Network Layer
● c) Transport Layer
● d) Application Layer
Answer: b) Network Layer
44.Which of the following describes the responsibility of the Presentation Layer in
the OSI model?
● a) Manages end-to-end communication
● b) Provides data encryption and compression
● c) Routes data packets across networks
● d) Defines how data is transmitted on the physical medium
Answer: b) Provides data encryption and compression
45.Which OSI layer is responsible for routing packets based on IP addresses?
● a) Transport Layer
● b) Network Layer
● c) Session Layer
● d) Data Link Layer
Answer: b) Network Layer
46.Which layer in the OSI model is concerned with the encoding and decoding of
data for the network?
● a) Data Link Layer
● b) Presentation Layer
● c) Network Layer
● d) Application Layer
Answer: b) Presentation Layer
47.Which of the following is true about the OSI model?
● a) It is a layered framework for network protocols and services
● b) It is a model used for designing hardware devices
● c) It defines the physical characteristics of network cables
● d) It is used to define IP addressing
Answer: a) It is a layered framework for network protocols and services
48.Which layer of the OSI model provides services to the application software?
● a) Transport Layer
● b) Application Layer
● c) Data Link Layer
● d) Network Layer
Answer: b) Application Layer
49.Which OSI layer is responsible for the physical connection between two devices?
● a) Transport Layer
● b) Data Link Layer
● c) Physical Layer
● d) Application Layer
Answer: c) Physical Layer
50.What function does the Transport Layer perform in the OSI model?
● a) Segments and reassembles data
● b) Provides error correction
● c) Establishes and maintains sessions
● d) Routes data packets
Answer: a) Segments and reassembles data
51.At which OSI layer do switches typically operate?
● a) Data Link Layer
● b) Network Layer
● c) Physical Layer
● d) Transport Layer
Answer: a) Data Link Layer
52.Which layer handles the acknowledgment of successfully received data?
● a) Data Link Layer
● b) Application Layer
● c) Transport Layer
● d) Network Layer
Answer: c) Transport Layer
53.Which of the following is the correct order of the OSI model layers from bottom to
top?
● a) Application, Presentation, Session, Transport, Network, Data Link, Physical
● b) Physical, Data Link, Network, Transport, Session, Presentation, Application
● c) Data Link, Network, Transport, Application, Presentation, Session
● d) Transport, Network, Data Link, Application, Presentation, Session
Answer: b) Physical, Data Link, Network, Transport, Session, Presentation, Application
54.What does the Transport Layer use to manage data flow between devices?
● a) Routing tables
● b) Flow control mechanisms
● c) MAC addresses
● d) IP addresses
Answer: b) Flow control mechanisms
55.Which OSI layer is responsible for checking and maintaining the integrity of data
during transmission?
● a) Physical Layer
● b) Data Link Layer
● c) Network Layer
● d) Transport Layer
Answer: d) Transport Layer
56.Which of the following is a function of the Application Layer in the OSI model?
● a) Data encryption and compression
● b) Segmentation of data packets
● c) Routing of data packets
● d) Interaction with end-user software
Answer: d) Interaction with end-user software
57.Which layer defines the format, syntax, and semantics of the transmitted data?
● a) Presentation Layer
● b) Data Link Layer
● c) Transport Layer
● d) Application Layer
Answer: a) Presentation Layer
58.At which OSI layer does TCP perform error checking?
● a) Network Layer
● b) Transport Layer
● c) Data Link Layer
● d) Application Layer
Answer: b) Transport Layer
59.Which OSI layer manages the transmission of raw bits over a communication
medium?
● a) Application Layer
● b) Data Link Layer
● c) Physical Layer
● d) Network Layer
Answer: c) Physical Layer
60.Which layer manages the logical communication between devices in a network?
● a) Data Link Layer
● b) Network Layer
● c) Transport Layer
● d) Session Layer
Answer: b) Network Layer
61.Which protocol operates at the OSI Data Link Layer?
● a) IP
● b) HTTP
● c) Ethernet
● d) TCP
Answer: c) Ethernet
62.Which OSI layer is responsible for data encapsulation?
● a) Transport Layer
● b) Data Link Layer
● c) Application Layer
● d) Physical Layer
Answer: b) Data Link Layer
63.Which OSI layer provides end-to-end communication and flow control?
● a) Transport Layer
● b) Network Layer
● c) Application Layer
● d) Session Layer
Answer: a) Transport Layer
64.Which OSI layer ensures that data is correctly formatted and presented to the
application?
● a) Presentation Layer
● b) Transport Layer
● c) Network Layer
● d) Data Link Layer
Answer: a) Presentation Layer
65.Which of the following is an example of a protocol that operates at the OSI
Network Layer?
● a) IP
● b) HTTP
● c) TCP
● d) Ethernet
Answer: a) IP
66.At which layer is data converted into packets for transmission across a network?
● a) Application Layer
● b) Data Link Layer
● c) Network Layer
● d) Transport Layer
Answer: c) Network Layer
67.Which layer is responsible for determining if the physical link is functioning
correctly?
● a) Network Layer
● b) Data Link Layer
● c) Transport Layer
● d) Physical Layer
Answer: b) Data Link Layer
68.Which of the following protocols operates at the OSI Transport Layer?
● a) FTP
● b) HTTP
● c) UDP
● d) IP
Answer: c) UDP
69.Which layer is responsible for session establishment and maintenance?
● a) Application Layer
● b) Session Layer
● c) Data Link Layer
● d) Transport Layer
Answer: b) Session Layer
70.At which OSI layer do IP addresses exist?
● a) Network Layer
● b) Data Link Layer
● c) Physical Layer
● d) Transport Layer
Answer: a) Network Layer
71.Which layer is responsible for the physical addressing of devices in a network?
● a) Application Layer
● b) Data Link Layer
● c) Transport Layer
● d) Network Layer
Answer: b) Data Link Layer
72.Which OSI layer provides error detection, error correction, and flow control?
● a) Network Layer
● b) Transport Layer
● c) Data Link Layer
● d) Session Layer
Answer: c) Data Link Layer
73.Which of the following is a responsibility of the Data Link Layer in the OSI model?
● a) Routing data between different networks
● b) Converting data into electrical signals
● c) Formatting and framing data for transmission
● d) Encrypting the data
Answer: c) Formatting and framing data for transmission
74.At which layer does SSL/TLS operate?
● a) Application Layer
● b) Presentation Layer
● c) Session Layer
● d) Transport Layer
Answer: b) Presentation Layer
75.Which layer of the OSI model is responsible for determining the best physical path
for data?
● a) Network Layer
● b) Transport Layer
● c) Data Link Layer
● d) Session Layer
Answer: a) Network Layer
76.Which layer in the OSI model is responsible for routing data from the source to the
destination device across multiple networks?
● a) Data Link Layer
● b) Network Layer
● c) Transport Layer
● d) Session Layer
Answer: b) Network Layer
77.Which of the following devices operates at the Data Link Layer?
● a) Router
● b) Switch
● c) Hub
● d) Gateway
Answer: b) Switch
78.Which layer in the OSI model deals with physical addresses (MAC addresses)?
● a) Transport Layer
● b) Data Link Layer
● c) Network Layer
● d) Physical Layer
Answer: b) Data Link Layer
79.Which of the following is NOT an OSI layer?
● a) Application Layer
● b) Session Layer
● c) Protocol Layer
● d) Transport Layer
Answer: c) Protocol Layer
80.At which layer does packet switching occur?
● a) Application Layer
● b) Network Layer
● c) Data Link Layer
● d) Transport Layer
Answer: b) Network Layer
81.What is the purpose of the Transport Layer in the OSI model?
● a) Provides a means for end-to-end communication
● b) Defines how bits are transmitted across the network
● c) Defines how data is formatted for the application
● d) Provides encryption and compression services
Answer: a) Provides a means for end-to-end communication
82.Which OSI layer is responsible for session establishment, management, and
termination?
● a) Transport Layer
● b) Data Link Layer
● c) Session Layer
● d) Application Layer
Answer: c) Session Layer
83.Which layer of the OSI model uses IP addresses for logical addressing?
● a) Data Link Layer
● b) Network Layer
● c) Transport Layer
● d) Application Layer
Answer: b) Network Layer
84.Which layer of the OSI model is responsible for translating data between different
application formats?
● a) Presentation Layer
● b) Transport Layer
● c) Data Link Layer
● d) Network Layer
Answer: a) Presentation Layer
85.What is the primary function of the Session Layer?
● a) Provides encryption and compression
● b) Provides a communication channel for applications
● c) Transmits data over the physical medium
● d) Ensures that data arrives in sequence and manages sessions
Answer: d) Ensures that data arrives in sequence and manages sessions
86.Which layer of the OSI model does the ARP protocol operate at?
● a) Data Link Layer
● b) Network Layer
● c) Transport Layer
● d) Application Layer
Answer: a) Data Link Layer
87.Which of the following is the function of the Physical Layer in the OSI model?
● a) Defines the structure and meaning of data
● b) Encodes and decodes data into a format suitable for transmission
● c) Provides encryption and compression
● d) Determines how data is physically transmitted
Answer: d) Determines how data is physically transmitted
88.Which layer is responsible for the segmentation and reassembly of data?
● a) Data Link Layer
● b) Network Layer
● c) Transport Layer
● d) Application Layer
Answer: c) Transport Layer
89.At which layer does IP packet forwarding occur?
● a) Network Layer
● b) Transport Layer
● c) Data Link Layer
● d) Application Layer
Answer: a) Network Layer
90.Which layer of the OSI model is responsible for ensuring data integrity during
transmission?
● a) Transport Layer
● b) Network Layer
● c) Data Link Layer
● d) Session Layer
Answer: a) Transport Layer
91.Which OSI layer is responsible for managing logical addresses (e.g., IP
addresses)?
● a) Transport Layer
● b) Application Layer
● c) Network Layer
● d) Data Link Layer
Answer: c) Network Layer
92.Which of the following devices operates at the OSI Physical Layer?
● a) Hub
● b) Switch
● c) Router
● d) Bridge
Answer: a) Hub
93.Which of the following is an example of a protocol operating at the Presentation
Layer?
● a) HTTP
● b) FTP
● c) SSL/TLS
● d) ARP
Answer: c) SSL/TLS
94.Which layer of the OSI model is responsible for the overall communication
between different applications?
● a) Data Link Layer
● b) Application Layer
● c) Network Layer
● d) Session Layer
Answer: b) Application Layer
95.Which OSI layer is concerned with converting a stream of data into frames for
transmission?
● a) Network Layer
● b) Data Link Layer
● c) Transport Layer
● d) Physical Layer
Answer: b) Data Link Layer
96.Which layer manages the flow of data in case of congestion?
● a) Data Link Layer
● b) Application Layer
● c) Transport Layer
● d) Network Layer
Answer: c) Transport Layer
97.Which layer of the OSI model provides a standard way of communicating between
devices in a network?
● a) Application Layer
● b) Data Link Layer
● c) Transport Layer
● d) Session Layer
Answer: b) Data Link Layer
98.Which layer of the OSI model defines the logical structure of addressing?
● a) Network Layer
● b) Data Link Layer
● c) Transport Layer
● d) Physical Layer
Answer: a) Network Layer
99.Which layer of the OSI model handles packet retransmission in case of error?
● a) Transport Layer
● b) Network Layer
● c) Data Link Layer
● d) Physical Layer
Answer: a) Transport Layer
100. Which OSI layer is responsible for establishing and maintaining connections
between different networks?
● a) Network Layer
● b) Transport Layer
● c) Session Layer
● d) Data Link Layer
Answer: a) Network Layer
TCP
1. What is the primary function of the TCP protocol?
○ a) No error detection
○ b) Connection-oriented communication
○ c) No flow control
○ d) Data is sent in a continuous stream
Answer: b) Connection-oriented communication
5. What is the initial state of a TCP connection?
○ a) SYN_SENT
○ b) LISTEN
○ c) CLOSED
○ d) ESTABLISHED
Answer: c) CLOSED
6. Which TCP flag is used to initiate a connection?
○ a) FIN
○ b) SYN
○ c) RST
○ d) ACK
Answer: b) SYN
7. What is the purpose of the ACK flag in TCP?
○ a) Window size
○ b) Sequence number
○ c) Checksum
○ d) Timeout interval
Answer: a) Window size
9. In TCP, what does the term "Three-Way Handshake" refer to?
IP address
1. What does IP stand for?
● a) Internet Protocol
● b) Internet Process
● c) Internal Protocol
● d) Internet Program
Answer: a) Internet Protocol
2.Which layer of the OSI model does the IP protocol operate at?
● a) Transport
● b) Network
● c) Data Link
● d) Application
Answer: b) Network
● a) 32 bits
● b) 64 bits
● c) 128 bits
● d) 256 bits
Answer: a) 32 bits
● a) 192.168.1.1
● b) 255.256.1.1
● c) 300.1.1.1
● d) 192.168.0.999
Answer: a) 192.168.1.1
● a) 2^32
● b) 2^16
● c) 2^128
● d) 2^64
Answer: a) 2^32
● a) Class A
● b) Class B
● c) Class C
● d) Class D
Answer: a) Class A
● a) 255.255.0.0
● b) 255.0.0.0
● c) 255.255.255.0
● d) 255.255.255.255
Answer: b) 255.0.0.0
● a) 10.0.0.0 – 10.255.255.255
● b) 172.16.0.0 – 172.31.255.255
● c) 192.168.0.0 – 192.168.255.255
● d) All of the above
Answer: d) All of the above
● a) 127.0.0.1
● b) 0.0.0.0
● c) 255.255.255.255
● d) 192.168.1.1
Answer: a) 127.0.0.1
● a) 128.0.0.0 – 191.255.255.255
● b) 0.0.0.0 – 127.255.255.255
● c) 192.0.0.0 – 223.255.255.255
● d) 224.0.0.0 – 255.255.255.255
Answer: a) 128.0.0.0 – 191.255.255.255
In CIDR notation, what does the "/24" mean in the IP address 192.168.1.0/24?
● a) 24 bits for the network part, and 8 bits for the host part
● b) 8 bits for the network part, and 24 bits for the host part
● c) It is the subnet mask
● d) Both a and c
Answer: d) Both a and c
● a) 192.168.1.255
● b) 192.168.1.0
● c) 255.255.255.255
● d) 192.168.1.1
Answer: a) 192.168.1.255
● a) 192.168.5.255
● b) 10.255.255.255
● c) 255.255.255.255
● d) 172.16.1.1
Answer: c) 255.255.255.255
● a) 192.168.1.1
● b) 10.0.0.1
● c) 8.8.8.8
● d) 172.16.0.1
Answer: c) 8.8.8.8
● a) Broadcast address
● b) Network address
● c) Unicast address
● d) Multicast address
Answer: b) Network address
Which of the following IP address classes has the smallest number of hosts?
● a) Class A
● b) Class B
● c) Class C
● d) Class D
Answer: c) Class C
● a) The first 24 bits are used for the network, and the remaining 8 bits are used for hosts
● b) The first 8 bits are used for the network, and the remaining 24 bits are used for hosts
● c) The entire address is used for the network
● d) The address has no subnetting
Answer: a) The first 24 bits are used for the network, and the remaining 8 bits are used
for hosts
● a) Unicast address
● b) Broadcast address
● c) Multicast address
● d) Anycast address
Answer: b) Broadcast address
● a) Class A
● b) Class B
● c) Class C
● d) Class D
Answer: c) Class C
How many hosts can be addressed by a Class C network with a subnet mask of
255.255.255.0?
● a) 254 hosts
● b) 256 hosts
● c) 128 hosts
● d) 512 hosts
Answer: a) 254 hosts
● a) 224.0.0.0 to 239.255.255.255
● b) 192.168.0.0 to 192.168.255.255
● c) 10.0.0.0 to 10.255.255.255
● d) 172.16.0.0 to 172.31.255.255
Answer: a) 224.0.0.0 to 239.255.255.255
● a) 10.0.0.1
● b) 172.16.0.1
● c) 192.168.1.1
● d) 224.0.0.1
Answer: a) 10.0.0.1
● a) 192.168.100.1
● b) 255.255.255.255
● c) 128.0.0.1
● d) 0.0.0.0
Answer: b) 255.255.255.255
○ a) 192.168.1.1
○ b) 2001:0db8:85a3:0000:0000:8a2e:0370:7334
○ c) 10.0.0.1
○ d) 172.16.0.1
Answer: b) 2001:0db8:85a3:0000:0000:8a2e:0370:7334
2. Which of the following is true about IPv6?
● a) IPv6 uses 128-bit addresses
● b) IPv6 is not backward compatible with IPv4
● c) IPv6 does not support autoconfiguration
● d) IPv6 addresses are written in decimal
Answer: a) IPv6 uses 128-bit addresses
32.What is the main benefit of IPv6 over IPv4?
● a) It provides faster data transmission speeds
● b) It offers a larger address space
● c) It supports more secure data encryption
● d) It is backward compatible with IPv4
Answer: b) It offers a larger address space
33.Which of the following is the size of an IPv6 address?
● a) 32 bits
● b) 64 bits
● c) 128 bits
● d) 256 bits
Answer: c) 128 bits
34.How many hexadecimal digits are used to represent an IPv6 address?
● a) 6
● b) 8
● c) 4
● d) 16
Answer: b) 8
35.What does the "::" represent in an IPv6 address?
● a) It is used to separate network and host portions
● b) It indicates the beginning of the address
● c) It indicates one or more groups of consecutive 16-bit zeros
● d) It is the address for the local loopback
Answer: c) It indicates one or more groups of consecutive 16-bit zeros
36.Which of the following IPv6 addresses is used for local communication within a
network?
● a) 2001:0db8::
● b) fc00::/7
● c) 0::/8
● d) fe80::/10
Answer: d) fe80::/10
37.Which of the following represents a valid IPv6 address?
● a) 192.168.1.1
● b) 2001:0db8:85a3:0000:0000:8a2e:0370:7334
● c) 10.0.0.1
● d) 172.16.0.1
Answer: b) 2001:0db8:85a3:0000:0000:8a2e:0370:7334
38.Which part of an IPv6 address is used for routing?
● a) Network prefix
● b) Interface identifier
● c) Subnet mask
● d) Broadcast address
Answer: a) Network prefix
39.What is the purpose of the Link-local address in IPv6?
● a) To communicate with other devices in the local network
● b) To provide communication between different networks
● c) To route traffic globally
● d) To assign globally unique addresses
Answer: a) To communicate with other devices in the local network
40.Which of the following is an example of an IPv6 loopback address?
● a) 0.0.0.0
● b) ::1
● c) 127.0.0.1
● d) 192.168.1.1
Answer: b) ::1
41.Which of the following is the primary reason for the transition from IPv4 to IPv6?
● a) IPv4 address depletion
● b) IPv6 is faster than IPv4
● c) IPv6 supports more security features
● d) IPv6 is easier to configure
Answer: a) IPv4 address depletion
42.Which of the following is a key feature of IPv6?
● a) NAT (Network Address Translation)
● b) Simplified header format
● c) IPv6 addresses are backward compatible with IPv4
● d) IPv6 uses less bandwidth than IPv4
Answer: b) Simplified header format
43.Which of the following is NOT a reserved IP address range?
● a) 0.0.0.0 - 0.255.255.255
● b) 127.0.0.0 - 127.255.255.255
● c) 169.254.0.0 - 169.254.255.255
● d) 192.168.1.0 - 192.168.255.255
Answer: d) 192.168.1.0 - 192.168.255.255
44.What is the primary purpose of NAT (Network Address Translation)?
● a) To provide encryption for data transmission
● b) To translate between private and public IP addresses
● c) To assign static IP addresses to all devices
● d) To assign IP addresses to devices dynamically
Answer: b) To translate between private and public IP addresses
45.Which of the following is true about the IPv4 address 0.0.0.0?
● a) It is used to represent the local loopback
● b) It is the network address for the default route
● c) It is a reserved address for broadcasting
● d) It is used to identify any host within a network
Answer: b) It is the network address for the default route
46.In an IPv4 address, what is the range of the first octet for a Class B network?
● a) 128-191
● b) 1-127
● c) 192-223
● d) 224-255
Answer: a) 128-191
47.What is the main purpose of a subnet mask?
● a) To encrypt IP address information
● b) To identify the network and host portions of an IP address
● c) To provide secure data transmission
● d) To specify the maximum number of hops allowed in a network
Answer: b) To identify the network and host portions of an IP address
48.Which of the following IP address ranges is used for Class C addresses?
● a) 128.0.0.0 - 191.255.255.255
● b) 192.0.0.0 - 223.255.255.255
● c) 0.0.0.0 - 127.255.255.255
● d) 224.0.0.0 - 255.255.255.255
Answer: b) 192.0.0.0 - 223.255.255.255
49.What is the purpose of the IPv4 address 255.255.255.255?
● a) To broadcast a packet to all devices in the local network
● b) To assign a unique address to each device
● c) To assign a private address for NAT purposes
● d) To route packets globally
Answer: a) To broadcast a packet to all devices in the local network
50.What is the first step when configuring a device to use an IP address?
● a) Assigning a subnet mask
● b) Configuring DNS settings
● c) Assigning an IP address
● d) Setting up a gateway address
Answer: c) Assigning an IP address
51.Which type of address is used to identify a device in a large network and is
globally routable?
● a) Private IP address
● b) Local IP address
● c) Public IP address
● d) Loopback address
Answer: c) Public IP address
52.Which of the following is used to identify a subnet in IPv4?
● a) Subnet mask
● b) Default gateway
● c) Domain name
● d) Host ID
Answer: a) Subnet mask
53.Which of the following IP address ranges is used for private addresses in IPv6?
● a) 10.0.0.0 - 10.255.255.255
● b) fc00::/7
● c) 172.16.0.0 - 172.31.255.255
● d) 192.168.0.0 - 192.168.255.255
Answer: b) fc00::/7
54.Which of the following IP addresses is used to identify the local loopback in IPv4?
● a) 192.168.1.1
● b) 127.0.0.1
● c) 0.0.0.0
● d) 255.255.255.255
Answer: b) 127.0.0.1
55.Which of the following is true about IPv6 addresses?
● a) They are written in hexadecimal notation
● b) They can be written in dotted-decimal notation
● c) They are backward compatible with IPv4
● d) They are 64-bit long
Answer: a) They are written in hexadecimal notation
56.How many bits are used to identify the host in a Class A IPv4 address?
● a) 8 bits
● b) 16 bits
● c) 24 bits
● d) 32 bits
Answer: c) 24 bits
57.Which address is used to send data to multiple destinations in a network in IPv4?
● a) Unicast
● b) Broadcast
● c) Multicast
● d) Anycast
Answer: c) Multicast
58.What is the subnet mask for the Class A address range?
● a) 255.0.0.0
● b) 255.255.0.0
● c) 255.255.255.0
● d) 255.255.255.255
Answer: a) 255.0.0.0
59.Which IPv6 address is used for communication within a single network segment?
● a) Link-local address
● b) Global address
● c) Multicast address
● d) Anycast address
Answer: a) Link-local address
60.What is the range of IPv4 addresses in a Class A network?
● a) 1.0.0.0 to 126.0.0.0
● b) 128.0.0.0 to 191.255.255.255
● c) 192.0.0.0 to 223.255.255.255
● d) 224.0.0.0 to 239.255.255.255
Answer: a) 1.0.0.0 to 126.0.0.0
61.What is the purpose of a default gateway in an IP network?
● a) To assign IP addresses dynamically
● b) To route packets between different networks
● c) To encrypt data
● d) To monitor network performance
Answer: b) To route packets between different networks
62.In an IPv4 network, how many bits are used for the network portion in a Class C IP
address?
● a) 24 bits
● b) 16 bits
● c) 8 bits
● d) 32 bits
Answer: a) 24 bits
63.What is the maximum number of hosts that can be addressed in a Class C
network?
● a) 254 hosts
● b) 128 hosts
● c) 256 hosts
● d) 512 hosts
Answer: a) 254 hosts
64.Which type of address in IPv6 is used for routing data to the nearest group of
destinations?
● a) Unicast
● b) Multicast
● c) Anycast
● d) Broadcast
Answer: c) Anycast
65.What is the primary purpose of the ARP (Address Resolution Protocol)?
● a) To resolve domain names to IP addresses
● b) To map MAC addresses to IP addresses
● c) To route packets between different networks
● d) To assign IP addresses to hosts dynamically
Answer: b) To map MAC addresses to IP addresses
66.What is the default subnet mask for a Class B IP address?
● a) 255.255.255.0
● b) 255.255.0.0
● c) 255.255.255.255
● d) 255.0.0.0
Answer: b) 255.255.0.0
67.What does "CIDR" stand for in the context of IP addressing?
● a) Classless Inter-Domain Routing
● b) Classful Inter-Domain Routing
● c) Class Inter-Domain Routing
● d) Classless Internet Routing
Answer: a) Classless Inter-Domain Routing
68.What is the purpose of an IP address?
● a) To identify a network device on the internet
● b) To provide encryption for data
● c) To assign a MAC address to the device
● d) To provide the default gateway for the device
Answer: a) To identify a network device on the internet
69.Which of the following is a valid IPv4 address for a Class B network?
● a) 172.16.0.1
● b) 192.168.0.1
● c) 10.0.0.1
● d) 224.0.0.1
Answer: a) 172.16.0.1
70.Which of the following is NOT a valid method of assigning IP addresses to
devices?
● a) Static IP address assignment
● b) Dynamic IP address assignment (DHCP)
● c) Manual MAC address assignment
● d) Link-local address assignment
Answer: c) Manual MAC address assignment