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
What is the purpose of the Serving Gateway (SGW) in an HSPA network?
-
Providing internet connectivity to end-users
-
Managing the core network infrastructure
-
Handling call setup and termination processes
-
Controlling the radio resources and scheduling data transmissions
A
Correct answer
Explanation
The Serving Gateway (SGW) in an HSPA network is responsible for providing internet connectivity to end-users by routing data traffic between the mobile devices and the external networks.
What is the role of the Packet Data Network Gateway (PDN GW) in an HSPA network?
-
Managing the core network infrastructure
-
Providing internet connectivity to end-users
-
Controlling the radio resources and scheduling data transmissions
-
Handling call setup and termination processes
D
Correct answer
Explanation
The Packet Data Network Gateway (PDN GW) in an HSPA network is responsible for handling call setup and termination processes, managing the allocation of IP addresses, and providing security features.
Which networking protocol is commonly used for real-time communication in multiplayer games?
-
TCP (Transmission Control Protocol)
-
UDP (User Datagram Protocol)
-
HTTP (Hypertext Transfer Protocol)
-
FTP (File Transfer Protocol)
B
Correct answer
Explanation
UDP is a connectionless protocol that is often preferred for real-time communication in multiplayer games due to its low overhead and ability to handle data loss, making it suitable for fast-paced and latency-sensitive applications.
What is the maximum number of hosts that can be accommodated in a network with a subnet mask of 255.255.255.192?
A
Correct answer
Explanation
The number of hosts in a network is determined by subtracting 2 from the number of bits in the host portion of the subnet mask. In this case, the host portion is 8 bits (32 - 24 = 8), so the maximum number of hosts is 2^8 - 2 = 254. However, since the network address and broadcast address also occupy two addresses, the actual number of usable hosts is 254 - 2 = 252.
Which of the following is a valid IPv4 address?
-
192.168.0.256
-
255.255.255.255
-
10.0.0.1
-
172.16.0.1
C
Correct answer
Explanation
A valid IPv4 address consists of four octets, each ranging from 0 to 255. The address 192.168.0.256 is invalid because the fourth octet exceeds 255. The address 255.255.255.255 is the broadcast address and cannot be assigned to a host. The address 172.16.0.1 is invalid because it falls within the reserved range of 172.16.0.0 to 172.31.255.255.
Which of the following is a valid subnet mask for a network with 24 hosts?
-
255.255.255.128
-
255.255.255.192
-
255.255.255.224
-
255.255.255.240
C
Correct answer
Explanation
To determine the appropriate subnet mask for a network with 24 hosts, we need to calculate the number of bits required for the host portion of the IP address. Since 24 hosts require 5 bits (2^5 = 32), the subnet mask should have 27 bits in the network portion (32 - 5 = 27). The subnet mask 255.255.255.224 has 27 bits in the network portion and 5 bits in the host portion, making it a valid choice.
What is the default subnet mask for a Class C network?
-
255.255.255.0
-
255.255.255.128
-
255.255.255.192
-
255.255.255.224
A
Correct answer
Explanation
A Class C network is identified by the third octet of the IP address ranging from 192 to 223. The default subnet mask for a Class C network is 255.255.255.0, which provides 254 usable host addresses (2^8 - 2).
Which of the following is a private IPv4 address range?
-
10.0.0.0 - 10.255.255.255
-
172.16.0.0 - 172.31.255.255
-
192.168.0.0 - 192.168.255.255
-
All of the above
D
Correct answer
Explanation
Private IPv4 address ranges are reserved for use within private networks and are not routable on the public Internet. The three private IPv4 address ranges are 10.0.0.0 - 10.255.255.255, 172.16.0.0 - 172.31.255.255, and 192.168.0.0 - 192.168.255.255.
Which of the following is a valid IPv6 address?
-
2001:0db8:85a3:0000:0000:8a2e:0370:7334
-
2001:0db8:85a3:0000:0000:8a2e:0370:7335
-
2001:0db8:85a3:0000:0000:8a2e:0370:7336
-
2001:0db8:85a3:0000:0000:8a2e:0370:7337
A
Correct answer
Explanation
A valid IPv6 address consists of eight hexadecimal groups, each representing 16 bits. The address 2001:0db8:85a3:0000:0000:8a2e:0370:7334 is a valid IPv6 address because each hexadecimal group is a valid hexadecimal number and the address follows the correct format.
Which of the following is a valid Class B network address?
-
172.16.0.0
-
192.168.0.0
-
10.0.0.0
-
224.0.0.0
A
Correct answer
Explanation
A Class B network address is identified by the second octet of the IP address ranging from 128 to 191. The address 172.16.0.0 is a valid Class B network address because the second octet is within the specified range.
Which of the following is a valid MAC address?
-
00:11:22:33:44:55
-
00:11:22:33:44:56
-
00:11:22:33:44:57
-
00:11:22:33:44:58
A
Correct answer
Explanation
A valid MAC address consists of six hexadecimal digits, separated by colons. Each hexadecimal digit represents four bits. The address 00:11:22:33:44:55 is a valid MAC address because it follows the correct format and each hexadecimal digit is a valid hexadecimal number.
What is the purpose of a network address translation (NAT) device?
-
To translate public IP addresses to private IP addresses
-
To translate private IP addresses to public IP addresses
-
To provide access to the Internet
-
All of the above
D
Correct answer
Explanation
A network address translation (NAT) device serves multiple purposes. It translates public IP addresses to private IP addresses, allowing multiple devices on a private network to share a single public IP address. It also translates private IP addresses to public IP addresses, allowing devices on a private network to access the Internet. Additionally, it provides access to the Internet by routing traffic between the private network and the public Internet.
Which of the following is a valid wildcard mask for a subnet mask of 255.255.255.192?
-
0.0.0.63
-
0.0.0.127
-
0.0.0.191
-
0.0.0.255
A
Correct answer
Explanation
A wildcard mask is the inverse of a subnet mask. It is used to identify the host portion of an IP address. The wildcard mask for a subnet mask of 255.255.255.192 is 0.0.0.63 because 255.255.255.192 = 11111111.11111111.11111111.11000000 and 0.0.0.63 = 00000000.00000000.00000000.00111111.
-
A method of connecting two VPCs within the same region
-
A method of connecting two VPCs across different regions
-
A method of connecting two VPCs across different accounts
-
A method of connecting two VPCs across different clouds
A
Correct answer
Explanation
VPC Peering allows you to connect two VPCs within the same region to each other, enabling communication between resources in both VPCs.
What are the prerequisites for VPC Peering?
-
Both VPCs must be in the same region
-
Both VPCs must have the same CIDR block
-
Both VPCs must be owned by the same account
-
Both VPCs must be in the same project
A
Correct answer
Explanation
The only prerequisite for VPC Peering is that both VPCs must be in the same region.