Computer Knowledge
Computer Networks
2,461 Questions
Computer networks involve the architecture, protocols, and security measures used for digital communication. This collection covers OSI model layers, IP addressing, data transmission, and cryptographic standards. These concepts are vital for the computer knowledge sections of banking and government exams.
OSI model layersNetwork protocolsIP subnet maskingData encryption standardsServer configurationsNetwork commands
Computer Networks Questions
C
Correct answer
Explanation
SMTP (Simple Mail Transfer Protocol) is an Application layer (Layer 7) protocol. TCP is Layer 4, and IPsec is typically Layer 3.
-
Application, Presentation, Session
-
Presentation, Session, Transport,
-
Session, Transport, Network
-
Transport, Network, Data Link
A
Correct answer
Explanation
The OSI model is divided into upper layers (Application, Presentation, Session) which deal with user-facing data, and lower layers (Transport, Network, Data Link, Physical) which deal with data transmission.
-
IPv6 supports a hop limit of 255
-
IPv6 interfaces must have a link-local address
-
IPv6 natively incorporates IPSec
-
IPv6 supports broadcasting
D
Correct answer
Explanation
IPv6 does not support broadcasting; instead, it uses multicasting and anycasting to send data to specific groups or the nearest interface.
-
Session - maintains the state of the ongoing connection
-
Presentation - Encryption & Translation can occur at layer 6
-
Application - resource sharing, remote file access and other
-
Transport - transmission of packets
D
Correct answer
Explanation
The Transport layer is considered a lower layer, not a higher layer. The higher layers are Session, Presentation, and Application.
-
IPv6 fragmentation occurs at the routers
-
IPv6 packet size is pre-determined on the sending host
-
IPv6 MTU is hard set to 1500
-
IPv6 fragmentation occurs at switches
B
Correct answer
Explanation
In IPv6, routers do not perform fragmentation. Fragmentation is the responsibility of the source host, which determines the MTU and fragments the packet accordingly.
-
Network - Datagram
-
Physical - bits
-
Data Link - Frame
-
Transport - Segment
A
Correct answer
Explanation
The PDU for the Network layer is a Packet, not a Datagram (though sometimes used interchangeably, Packet is the standard OSI term). However, in many contexts, Datagram is associated with Transport (UDP). Actually, the Network layer PDU is a Packet, so the match 'Network - Datagram' is technically incorrect in strict OSI terminology.
-
Ethernet and TCP
-
ICMP and IPv6
-
UDP and TCP
-
IPv4 and STP
B
Correct answer
Explanation
ICMP and IPv6 are both protocols that operate at the Network layer (Layer 3).
-
destination MAC address
-
VLAN tag
-
source MAC address
-
Ethertype
B
Correct answer
Explanation
A standard Ethernet frame header consists of destination MAC, source MAC, and Ethertype. A VLAN tag is optional and only present if 802.1Q tagging is used.
-
Located after the destination MAC and Tag is always 0x0800
-
It is located after the Ether Type
-
Located after the source MAC and Tag is always 0x8100
-
Located after the destination MAC and Tag is always 0x8100
C
Correct answer
Explanation
The 802.1Q VLAN tag is inserted after the source MAC address, and the Tag Protocol Identifier (TPID) is 0x8100.
-
1 byte field that uses same protocol numbers as IPv4
-
1 byte field that uses different protocol numbers than IPv4
-
2 byte field that uses same protocol numbers as IPv4
-
2 byte field that uses different protocol numbers than IPv4
A
Correct answer
Explanation
The Next Header field in IPv6 is 1 byte and uses the same protocol numbers as the Protocol field in IPv4.
-
Data Link - Frames
-
Network - Packets
-
Transport - Segments/Datagrams
-
Session - Bits
D
Correct answer
Explanation
The OSI model defines PDUs for different layers: bits for Physical, frames for Data Link, packets for Network, and segments for Transport. The Session layer does not use bits as its PDU; bits are the PDU for the Physical layer.
D
Correct answer
Explanation
The TCP 3-way handshake uses SYN, SYN-ACK, and ACK flags to establish a connection. ACK-FIN is used during the connection termination process, not the handshake.
D
Correct answer
Explanation
SSH (Secure Shell) requires a reliable, connection-oriented transport to ensure data integrity and order, which is provided by TCP. TFTP, DNS, and DHCP are typically connectionless and use UDP.
-
Broadcasted - RA
-
Multicasted - RS
-
Multicasted - RA
-
Broadcasted - RS
B
Correct answer
Explanation
When an IPv6 device joins a network, it sends a Router Solicitation (RS) message to the all-routers multicast address to request a Router Advertisement (RA). The RS is multicasted, not broadcasted.
-
192.168.255.254
-
10.9.1.12
-
172.17.22.9
-
172.32.255.254
D
Correct answer
Explanation
RFC 1918 defines private address ranges as 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. 172.32.x.x falls outside the 172.16.0.0/12 range (which ends at 172.31.255.255).