Computer Knowledge

Computer Networks

2,614 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
  1. The PC is set to full duplex. The switch port fails to autonegotiate the duplex setting and defaults to half duplex, which causes a duplex mismatch.

  2. The switch traffic is exceeding available frame buffers. The result is that frames are being dropped.

  3. The PC and the default gateway have different bandwidth Ethernet ports.

  4. The default gateway is not on the same switch that the PC is.

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

Duplex mismatch occurs when one end is autonegotiating (switch) and defaults to half-duplex while the other end (PC) is hardcoded to full-duplex. This causes late collisions and packet loss on the full-duplex side, leading to slow and intermittent connectivity. The solution is to ensure both ends autonegotiate or both are manually configured to the same duplex setting.

Multiple choice
  1. The cost for this link has a value of 129.

  2. The clock rate on this serial interface is set to 129,000.

  3. The next-hop router is 129 hops away from this router.

  4. This route has been updated 129 times in this routing table.

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

The routing table entry shows O (OSPF) [110/129]. The first number (110) is OSPF's administrative distance. The second number (129) is the route metric/cost, calculated from bandwidth and delay (option A). Option B incorrectly interprets this as clock rate. Option C incorrectly states this is hop count (OSPF uses cost, not hops). Option D incorrectly says this is update count. The 129 is the composite metric for this OSPF route.

Multiple choice
  1. 255.255.0.0

  2. 255.255.255.0

  3. 255.255.254.0

  4. 255.255.248.0

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

A /24 subnet mask (255.255.255.0) provides 256 total IP addresses, with 254 usable for hosts after subtracting the network address and broadcast address. The network address 192.168.32.0 with this mask gives the range 192.168.32.1 to 192.168.32.254 for host assignment. Option A (/16) would provide 65,534 hosts, which is excessive. Option C (/23) would give 510 hosts, and Option D (/21) would provide 2,046 hosts - both far more than needed.

Multiple choice
  1. Callback

  2. Multilink

  3. Compression

  4. Error detection

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

PPP Multilink (MP) protocol allows load balancing across multiple interfaces by bundling them into a single logical link. This distributes traffic and provides increased bandwidth through aggregation. Option A (Callback) is for dial-backup functionality. Option C (Compression) reduces data size but doesn't load balance. Option D (Error detection) ensures data integrity but doesn't distribute traffic across interfaces.

Multiple choice
  1. Application

  2. Transport

  3. Network

  4. Data link

  5. Physical

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

The show interface command output primarily reveals issues at the Data Link layer (Layer 2) of the OSI model, as it displays information about interface status, CRC errors, framing errors, and collisions - all Layer 2 phenomena. Physical layer issues would show as line down or excessive carrier transitions. Network layer problems would be visible in routing tables and IP-specific commands. Transport and Application layer issues require different diagnostic commands.

Multiple choice
  1. 10.1.1.1

  2. 172.30.20.2

  3. 192.168.1.2

  4. 255.255.255.255

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

When HostA communicates with the web server, it must use the web server's actual public IP address (172.30.20.2) as the destination. R1 performs NAT on the 10.1.1.0/24 network, translating HostA's private source address to a public address. R2 performs NAT for the 192.168.1.0/24 network on the server side. The destination IP in HostA's IP header remains the web server's public address throughout; only the source address gets translated by NAT.

Multiple choice
  1. PAT uses the word "overload" at the end of the access-list statement to share a single registered address.

  2. Static NAT allows an unregistered address to map to multiple registered addresses.

  3. Dynamic NAT allows hosts to receive the same global address each time external access is required.

  4. PAT uses unique source port numbers to distinguish between translations.

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

PAT (Port Address Translation) uses unique source port numbers to distinguish between multiple private IP addresses mapping to a single registered public IP address. This allows many hosts to share one global address simultaneously. Option A incorrectly describes syntax - 'overload' is used in the NAT command, not access-list statements. Option B is wrong because static NAT maps one-to-one, not one-to-many. Option C is incorrect because dynamic NAT does not guarantee the same global address across multiple connections.

Multiple choice
  1. The FastEthernet interface of R1 is disabled.

  2. One of the default routes is configured incorrectly.

  3. A routing protocol is not configured on both routers.

  4. The default gateway has not been configured on both routers.

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

When serial interfaces can ping each other but FastEthernet interfaces cannot, the issue is typically incorrect default route configuration. One router's default route likely points to the wrong next-hop address or interface, causing packets destined for the FastEthernet network to be sent incorrectly. If FastEthernet interfaces were disabled, the serial ping would also likely fail. A routing protocol is not necessary if static routes are configured. Default gateway configuration applies to hosts, not routers.

Multiple choice
  1. OSPF autonomous system IDs do not match.

  2. OSPF process IDs do not match.

  3. OSPF network types are identical.

  4. OSPF hello or dead timers do not match.

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

OSPF neighbors must have matching hello and dead timer intervals to form adjacencies. These timers determine how often OSPF sends hello packets and when a neighbor is declared down. Mismatched timers prevent neighbor discovery even if other parameters match. OSPF process IDs are local to each router and don't need to match. Autonomous system IDs are used in BGP, not OSPF. Identical network types would actually help OSPF work, not prevent it.

Multiple choice
  1. The hosts return to a listen-before-transmit mode.

  2. The hosts creating the collision have priority to send data.

  3. The hosts creating the collision retransmit the last 16 frames.

  4. The hosts extend their delay period to allow for rapid transmission.

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

After a collision in CSMA/CD, hosts wait for their backoff period to expire. Once the backoff time elapses, they must return to listen-before-transmit mode to check if the channel is idle before attempting retransmission. This prevents immediate re-collision. Hosts do not have priority - they compete fairly for channel access.

Multiple choice
  1. This is a useable host address.

  2. This is a broadcast address.

  3. This is a network address.

  4. This is not a valid address.

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

With a /27 mask (255.255.255.224), the subnet size is 32 addresses. The subnet starting at 172.16.134.64 would have network address 172.16.134.64, usable host range 172.16.134.65-94, and broadcast address 172.16.134.95. Therefore 172.16.134.64 is the network address, not a usable host address.

Multiple choice
  1. The networks are not correctly summarized.

  2. The FastEthernet interfaces on R1 are configured as passive.

  3. The network statements on R2 are incorrectly configured.

  4. EIGRP on R1 does not recognize the 192.168.10.0 network.

Reveal answer Fill a bubble to check yourself
B Correct answer