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
-
169.254.0.0/16
-
127.0.0.1
-
192.168.0.0/16
-
168.255.0.0/16
A
Correct answer
Explanation
APIPA (Automatic Private IP Addressing) addresses are in the 169.254.0.0/16 range. This is used by clients when they cannot reach a DHCP server.
-
Network administratively prohibited
-
Host administratively prohibited
-
Destination network unreachable
-
Destination port unreachable
C
Correct answer
Explanation
When a packet is dropped by an ACL, the router typically sends an ICMP 'Administratively Prohibited' message. 'Destination network unreachable' is generally used for routing table issues, not ACL drops.
-
Destination Unreachable
-
Source Quench
-
Redirect Message
-
Time exceeded
D
Correct answer
Explanation
When an IPv4 packet's Time to Live (TTL) field reaches zero, the router discards the packet and sends an ICMP 'Time Exceeded' message back to the source.
B
Correct answer
Explanation
An ICMP Echo Request (the initial ping) is defined as Type 8, Code 0.
-
Next Header
-
Ethertype
-
Protocol
-
Type of Service
C
Correct answer
Explanation
The IPv4 header contains a 'Protocol' field (8 bits) that indicates the next level protocol (e.g., 6 for TCP, 17 for UDP) encapsulated in the packet.
-
When DNS querys keep failing
-
When conducting zone transfer
-
Upon inital DNS connection request
-
DNS cannot use TCP
B
Correct answer
Explanation
DNS primarily uses UDP for queries. However, it switches to TCP for zone transfers (between servers) or when the response size exceeds the 512-byte UDP limit.
A
Correct answer
Explanation
FTP uses two ports: port 21 for the control connection (commands) and port 20 for the data connection.
-
TCP 68/69
-
TCP 67/68
-
UDP 68/69
-
UDP 67/68
D
Correct answer
Explanation
DHCP uses UDP port 67 for the server and UDP port 68 for the client.
A
Correct answer
Explanation
HTTPS (HTTP Secure) uses TLS/SSL to encrypt traffic and operates over TCP port 443.
C
Correct answer
Explanation
DNS (Domain Name System) uses port 53 for both UDP and TCP communications.
-
Destination MAC
-
Destination IP
-
Source MAC
-
Source IP
A
Correct answer
Explanation
ARP (Address Resolution Protocol) is used to map a known destination IP address to its corresponding physical MAC address on the local network segment.
D
Correct answer
Explanation
ARP operates between the Data Link (Layer 2) and Network (Layer 3) layers, but it is generally considered a Layer 2 protocol because it facilitates the delivery of frames.
B
Correct answer
Explanation
The first byte of an IPv4 header contains the Version (4 bits) and the IHL (Internet Header Length, 4 bits). A standard header with no options has an IHL of 5 (5 * 4 bytes = 20 bytes). Thus, the byte is 0x45.
B
Correct answer
Explanation
The IHL (Internet Header Length) field in an IPv4 header indicates the number of 32-bit words. A standard header without options is 20 bytes, which equals 5 words.
-
Destination IP then Source IP
-
Source MAC then Destination MAC
-
Destination MAC then Source MAC
-
Source IP then Destination IP
C
Correct answer
Explanation
In an Ethernet II frame header, the first 6 bytes are the Destination MAC address, followed by the next 6 bytes which are the Source MAC address.