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

Multiple choice

What is the purpose of the Serving Gateway (SGW) in an HSPA network?

  1. Providing internet connectivity to end-users

  2. Managing the core network infrastructure

  3. Handling call setup and termination processes

  4. Controlling the radio resources and scheduling data transmissions

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

What is the role of the Packet Data Network Gateway (PDN GW) in an HSPA network?

  1. Managing the core network infrastructure

  2. Providing internet connectivity to end-users

  3. Controlling the radio resources and scheduling data transmissions

  4. Handling call setup and termination processes

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which networking protocol is commonly used for real-time communication in multiplayer games?

  1. TCP (Transmission Control Protocol)

  2. UDP (User Datagram Protocol)

  3. HTTP (Hypertext Transfer Protocol)

  4. FTP (File Transfer Protocol)

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

What is the maximum number of hosts that can be accommodated in a network with a subnet mask of 255.255.255.192?

  1. 64

  2. 128

  3. 256

  4. 512

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which of the following is a valid IPv4 address?

  1. 192.168.0.256

  2. 255.255.255.255

  3. 10.0.0.1

  4. 172.16.0.1

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which of the following is a valid subnet mask for a network with 24 hosts?

  1. 255.255.255.128

  2. 255.255.255.192

  3. 255.255.255.224

  4. 255.255.255.240

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

What is the default subnet mask for a Class C network?

  1. 255.255.255.0

  2. 255.255.255.128

  3. 255.255.255.192

  4. 255.255.255.224

Reveal answer Fill a bubble to check yourself
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).

Multiple choice

Which of the following is a private IPv4 address range?

  1. 10.0.0.0 - 10.255.255.255

  2. 172.16.0.0 - 172.31.255.255

  3. 192.168.0.0 - 192.168.255.255

  4. All of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which of the following is a valid IPv6 address?

  1. 2001:0db8:85a3:0000:0000:8a2e:0370:7334

  2. 2001:0db8:85a3:0000:0000:8a2e:0370:7335

  3. 2001:0db8:85a3:0000:0000:8a2e:0370:7336

  4. 2001:0db8:85a3:0000:0000:8a2e:0370:7337

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which of the following is a valid Class B network address?

  1. 172.16.0.0

  2. 192.168.0.0

  3. 10.0.0.0

  4. 224.0.0.0

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which of the following is a valid MAC address?

  1. 00:11:22:33:44:55

  2. 00:11:22:33:44:56

  3. 00:11:22:33:44:57

  4. 00:11:22:33:44:58

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

What is the purpose of a network address translation (NAT) device?

  1. To translate public IP addresses to private IP addresses

  2. To translate private IP addresses to public IP addresses

  3. To provide access to the Internet

  4. All of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which of the following is a valid wildcard mask for a subnet mask of 255.255.255.192?

  1. 0.0.0.63

  2. 0.0.0.127

  3. 0.0.0.191

  4. 0.0.0.255

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

What is VPC Peering?

  1. A method of connecting two VPCs within the same region

  2. A method of connecting two VPCs across different regions

  3. A method of connecting two VPCs across different accounts

  4. A method of connecting two VPCs across different clouds

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

What are the prerequisites for VPC Peering?

  1. Both VPCs must be in the same region

  2. Both VPCs must have the same CIDR block

  3. Both VPCs must be owned by the same account

  4. Both VPCs must be in the same project

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The only prerequisite for VPC Peering is that both VPCs must be in the same region.