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
-
Standard ACLS must be numbered and cannot be named.
-
They should be placed as close to the destination as possible.
-
They can filter based on source and destination address as well as on source and destination port.
-
When applied to an outbound interface, incoming packets are processed before they are routed to the outbound interface.
B
Correct answer
Explanation
Standard ACLs filter traffic based only on the source IP address, not destination address or ports. Because they're limited, best practice is to place them as close to the destination as possible to avoid blocking legitimate traffic from multiple sources. Extended ACLs, which can filter based on source and destination addresses/ports, should be placed close to the source. Standard ACLs can be either numbered or named, contrary to option A.
-
When IPv4 and IPv6 are configured on the same interface, all IPv4 addresses are over-written in favour of the newer technology.
-
Incorrect IPv4 addresses are entered on the router interfaces.
-
RIPng is incompatible with dual-stack technology.
-
IPv4 is incompatible with RIPng.
D
Correct answer
Explanation
RIPng (RIP next generation) is designed exclusively for IPv6 networks. IPv4 routing uses RIPv1 or RIPv2, which are completely separate protocols. You cannot mix IPv4 routes with RIPng configuration as they operate on different IP stacks.
-
Host1 sends a segment with the ACK flag = 0, SYN flag = 0 to Host2.
-
Host1 sends a segment with the ACK flag = 1, SYN flag = 0 to Host2.
-
Host1 sends a segment with the ACK flag = 1, SYN flag = 1 to Host2.
-
Host2 sends a segment with the ACK flag = 1, SYN flag = 1 to Host1.
-
Host2 sends a segment with the ACK flag = 0, SYN flag = 1 to Host1.
D
Correct answer
Explanation
In TCP's three-way handshake, after the initiator sends a SYN (synchronize) packet, the recipient responds with a SYN-ACK packet - acknowledging the SYN and sending its own synchronize. The final step is the initiator sending an ACK to complete the connection.
-
The network statements are configured incorrectly.
-
A routing loop has been created.
-
RIPv1 is unable to route to discontiguous subnets of a major network.
-
RIPv1 is unable to route networks with a /24 subnet mask.
C
Correct answer
Explanation
RIPv1 is a classful routing protocol that does not support subnet masks in its updates. When it encounters discontiguous subnets of the same major network (like 10.0.0.0/8 separated by other networks), it cannot properly route between them because it summarizes all subnets of a major network at network boundaries.
-
The passwords are encrypted.
-
The current configuration was saved to NVRAM.
-
The configuration that is shown will be the one used on the next reboot.
-
The commands that are displayed determine the current operation of the router.
D
Correct answer
Explanation
The running-configuration (show running-config) displays the commands that are currently active in RAM and determining the router's operation. The startup-config (in NVRAM) is what's used on next reboot, and password encryption requires a separate command (service password-encryption).
-
10.1.1.2:1234
-
172.30.20.1:1234
-
172.30.20.1:3333
-
192.168.1.2:80
C
Correct answer
Explanation
With NAT overload (PAT), the router translates both the source IP and source port of internal traffic. The web server receives the packet with source IP 172.30.20.1 and source port 3333, so it sends the return packet to that same destination IP and port. The NAT table then translates it back to 10.1.1.2:1234.
-
2031::130F::9C0::130B
-
2031::130F::9C0:0:130B
-
2031:0:130F::9C0::130B
-
2031:0:130F::9C0:0:130B
D
Correct answer
Explanation
IPv6 address compression rules allow replacing consecutive zeros with double colon (::), but this can only be done ONCE in an address to avoid ambiguity. Options A, B, and C incorrectly use :: twice. Option D correctly compresses the second hextet (0:0000 becomes 0) and the zero block before 9C0, using :: only once.
-
WinterPark(config)# ==>ip route 0.0.0.0 0.0.0.0 192.168.146.1
-
Altamonte(config)# ==>ip route 10.0.234.0 255.255.255.0 192.168.146.2
-
Altamonte(config)# ip route 0.0.0.0 0.0.0.0 s0/1
-
WinterPark(config)# ip route 0.0.0.0 0.0.0.0 192.168.146.1
-
Altamonte(config)# ip route 10.0.234.0 255.255.255.0 192.168.146.2
-
Enable RIP authentication on R2.
-
Issue the ip directed-broadcast command on R2.
-
Change the subnet masks to 10.11.12.0/8 and 172.16.40.0/16 on R2.
-
Enable CDP on R2 so that the other routers will receive routing updates.
-
The bandwidth capability of the interface increases and decreases automatically based on BECNs.
-
The Serial 0/0/1 interface acquired 172.16.3.1 from a DHCP server.
-
The mapping between DLCI 100 and 172.16.3.1 was learned through Inverse ARP.
-
DLCI 100 will automatically adapt to changes in the Frame Relay cloud.
B
Correct answer
Explanation
In Frame Relay, 'dynamic' refers to DLCI-to-IP address mappings learned via Inverse ARP, not statically configured. This allows routers to automatically discover which remote IP addresses correspond to which DLCIs without manual configuration. DHCP is unrelated to Frame Relay address assignment.
-
Router>
-
Router#
-
Router(config)#
-
Router(config-if)#
D
Correct answer
Explanation
Router configuration modes are hierarchical: User mode (>) > Privileged mode (#) > Global config (config)# > Interface config (config-if)#. To change interface parameters like IP address, you must be in interface configuration mode, accessed via 'interface ' from global config mode.
-
The router will have to perform recursive lookups to forward a packet destined for 192.168.2.213/24.
-
The parent route for these networks was removed from the routing table.
-
A route to 192.168.0.0/25 would be classified as a supernet route for the routes listed in the routing table.
-
All of the routes listed are network routes.
D
Correct answer
Explanation
The routing table shows routes with various subnet masks (/24, /25, /30). These are all 'network routes' because they represent specific network prefixes with their associated subnet masks. A supernet would have a shorter mask than the classful boundary (like /16 for a Class C). Parent routes appear when a more specific route exists, not when removed.
-
EIGRP packets are waiting to be sent to the neighbours.
-
The adjacencies between the routers are yet to be established.
-
The IP address 192.168.10.10 is configured at serial interface S0/0/1 of router R2.
-
Router R2 is receiving hello packets from a neighbour with the IP address 192.168.10.10 via the R2 S0/0/1 interface.
D
Correct answer
Explanation
The output shows EIGRP hello packets received from a neighbor. The key information is that router R2 (the local router) is receiving hello packets from neighbor 192.168.10.10 via interface S0/0/1. This indicates EIGRP neighbor discovery is working. The hello packets are used to form and maintain EIGRP adjacencies between routers.
D
Correct answer
Explanation
FECN (Forward Explicit Congestion Notification) is the Frame Relay mechanism used to signal congestion in the forward direction. When switches detect congestion, they set the FECN bit in frames heading toward the destination to inform routers to slow down their transmission rate. BECN (Backward Explicit Congestion Notification) would signal in the reverse direction, while CIR is the committed information rate, not a signaling mechanism.
-
Configure all the interfaces on the switch as the static root ports.
-
Change the BPDU to a lower value than that of the other switches in the network.
-
Assign a lower IP address to the switch than that of the other switches in the network.
-
Set the switch priority to a smaller value than that of the other switches in the network.
D
Correct answer
Explanation
In STP, the root bridge is selected based on the lowest bridge ID, which combines priority (default 32768) and MAC address. Setting a lower priority value ensures that switch becomes root. Configuring static root ports is not possible - root ports are determined by the root bridge. IP addresses have no role in STP operation, and BPDU values are not configurable.