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
-
192.168.4.3/29
-
192.168.4.15/29
-
192.168.4.65/26
-
192.168.4.255/24
-
The host subnet mask is incorrect.
-
The default gateway is a network address.
-
The default gateway is a broadcast address.
-
The default gateway is on a different subnet from the host.
D
Correct answer
Explanation
For a host to communicate with devices outside its local network, it must have a default gateway configured within its own subnet. If the default gateway IP address is on a different subnet than the host's IP address, the host cannot send traffic to it because Layer 2 communication (ARP) would fail. The gateway must be reachable at the data link layer, which requires being on the same broadcast domain.
-
The hosts return to a listen-before-transmit mode.
-
The hosts creating the collision have priority to send data.
-
The hosts creating the collision retransmit the last 16 frames.
-
The hosts extend their delay period to allow for rapid transmission.
A
Correct answer
Explanation
In CSMA/CD (Carrier Sense Multiple Access with Collision Detection), when a collision occurs, both devices stop transmitting and wait a random backoff period. Once this backoff expires, the hosts do not immediately retransmit. Instead, they return to a listen-before-transmit mode, meaning they sense the carrier to ensure the medium is idle before attempting to transmit again. This prevents repeated collisions.
-
Users attempting to access hosts in the 192.168.30.0/24 network will be required to telnet to R3.
-
Hosts connecting to resources in the 191.68.30.0/24 network have an idle timeout of 15 minutes.
-
Hosts connecting to resources in the 191.68.30.0/24 network have an idle timeout of 15 minutes.
-
Telnet access to R3 will only be permitted on Serial 0/0/1.
-
To forward routing updates, address-to-DLCI mapping must be done via the use of the frame-relay.
-
map command coupled with the broadcast keyword.
-
Inverse ARP must be enabled to turn routing update broadcasts into unicast traffic that can be propagated to other Frame Relay nodes.
-
Because broadcast traffic is not supported, RIPv1 cannot be implemented on Frame Relay networks.
-
To forward broadcast routing updates, dynamic mapping must be enabled.
A
Correct answer
Explanation
Frame Relay is a non-broadcast multiaccess (NBMA) network technology that does not natively support broadcast or multicast traffic. For RIP, which uses broadcast updates, to work over Frame Relay, you must manually configure address-to-DLCI mappings using the 'frame-relay map' command with the 'broadcast' keyword. This converts broadcast routing updates into unicast traffic that can be forwarded to specific Frame Relay destinations via their DLCI identifiers.
B
Correct answer
Explanation
The network 172.16.1.4 with a /30 mask indicates a point-to-point link. RIPv2 is being used here because RIPv1 is classful and cannot carry subnet mask information in its updates, which is essential for discontiguous networks or VLSM. RIPv2 includes subnet mask information, supports authentication, and uses multicast (224.0.0.9) rather than broadcast. The /30 subnet mask in the routing table confirms a classless protocol is in use.
-
R1 uses PAP as a method of authentication, and R2 uses CHAP.R1 uses PAP as a method of authentication, and R2 uses CHAP.
-
R1 uses PAP as a method of authentication, and R2 uses CHAP.
-
R1 uses an incorrect user name or password for CHAP authentication.
-
R2 uses an incorrect user name or password for PAP authentication.
A
Correct answer
Explanation
The debug output shows that R1 is attempting PAP authentication while R2 expects CHAP authentication. This mismatch causes authentication failure because PAP sends credentials in clear text (username/password), while CHAP uses a three-way handshake with MD5 hashes. When both ends don't agree on the authentication method, the PPP link cannot establish. The symptoms show R1 sending PAP credentials and R2 rejecting them because it's configured for CHAP.
-
192.168.3.32 0.0.0.7
-
192.168.3.32 0.0.0.15
-
192.168.3.40 0.0.0.7
-
192.168.3.40 0.0.0.15
C
Correct answer
Explanation
The subnet 192.168.3.32/28 has 16 total addresses (32-47), with 14 usable (33-46). The last 8 usable addresses are 192.168.3.40-47. Using the network address 192.168.3.40 with wildcard mask 0.0.0.7 (binary 00000111) matches exactly these 8 addresses: 40 (10101000) AND 7 (00000111) gives the range where the last 3 bits vary, covering 8 addresses total.
D
Correct answer
Explanation
RIP (Routing Information Protocol) sends its entire routing table to all directly connected neighbors every 30 seconds by default. This 30-second update timer is part of RIP's design, along with a 180-second invalid timer, 180-second hold-down timer, and 240-second flush timer. These timers determine how RIP converges and ages out routes.
-
The commands filter UDP and TCP traffic coming to the router.
-
The commands disable any TCP or UDP request sent by the routing protocols.
-
The commands disable the services such as echo, discard, and chargen on the router to prevent security vulnerabilities.
-
The commands disable the BOOTP and TFTP server services to prevent security vulnerabilities.
C
Correct answer
Explanation
The commands shown disable minor TCP and UDP services (echo port 7, discard port 9, chargen port 19) that run on Cisco routers by default. These services can be exploited in denial-of-service attacks like the fraggle attack or used for reconnaissance. Disabling them is a security hardening best practice. The 'no service tcp-small-servers' and 'no service udp-small-servers' commands specifically target these legacy services.
-
translate URLs to IP addresses
-
resolve IPv4 addresses to MAC addresses
-
provide dynamic IP configuration to network devices
-
convert internal private addresses to external public addresses
B
Correct answer
Explanation
ARP (Address Resolution Protocol) operates at Layer 2 to map IPv4 addresses to MAC addresses. When a device needs to send data to an IP address on the local network, it broadcasts an ARP request asking 'Who has this IP?' The device with that IP responds with its MAC address. The requester then caches this mapping in its ARP table. This is essential because Ethernet frames use MAC addresses, not IP addresses, for delivery within a broadcast domain.
-
network 192.168.1.0
-
network 192.168.1.0 255.255.255.0
-
network 192.168.1.64 0.0.0.3
-
network 192.168.1.64 0.0.0.7
-
network 192.168.1.64 0.0.0.255
-
172.16.1.0/25 because it is the first ultimate route
-
0.0.0.0/0 because it is the lowest network number
-
172.16.0.0/25 because it is the first level 1 route
-
172.18.0.0/15 because it has the shortest mask
D
Correct answer
Explanation
RIPv1 is a classful routing protocol that does not include subnet mask information in updates. However, when a network has subnets configured, RIPv1 can advertise the subnet mask if the receiving interface is in the same major network. For a Class B network like 172.16.0.0 with a /24 subnet (255.255.255.0), the routing update would include this 24-bit mask. The mask value of 24 corresponds to 255.255.255.0, which is the standard classful subnet mask for Class C networks but is being used here for subnetting a Class B address space.
D
Correct answer
Explanation
EIGRP (Enhanced Interior Gateway Routing Protocol) maintains a topology table that is separate from the routing table. The topology table contains all routes learned from neighbors, including feasible successors and the reported distance from each neighbor. The routing table only contains the best routes (successors) selected from the topology table. This dual-table architecture allows for fast convergence since EIGRP can immediately promote a feasible successor to successor status if the primary route fails. IGRP and RIPv1/v2 do not maintain separate topology tables.