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
-
Switch SW2 must be configured as a VTP client.
-
The switches must be interconnected via an access link.
-
The switches must be configured with the same VTP domain name.
-
Both switches must be configured with the same VTP revision number.
C
Correct answer
Explanation
VTP (VLAN Trunking Protocol) requires switches to be in the same domain to exchange VLAN information. Without matching domain names, VTP advertisements are ignored between switches, preventing VLAN synchronization. The revision number automatically synchronizes once domains match - it should NOT be manually set higher.
-
network 0.0.0.0 255.255.255.255 area 0
-
network 192.168.0.0 0.0.255.255 area 0
-
network 255.255.255.255 0.0.0.0 area 0
-
network 192.168.1.2 0.0.0.0 area 0 network 192.168.2.2 0.0.0.0 area 0 network 172.16.3.2 0.0.0.0 area 0
A
Correct answer
Explanation
The correct command sequence for configuring OSPF in a single area configuration is:
router ospf <process-id>
network <network address> <wildcard mask> area <area number>
Answer A would include all interfaces on the router, the commands in answer D define them individually per interface.
-
a query for network 192.168.0.0/28
-
an acknowledgment packet to 224.0.0.9
-
an update packet that is sent to 255.255.255.255
-
a packet that contains the new routing table for R2
-
unicast update packets to 192.168.1.1 and 192.168.2.1
D
Correct answer
Explanation
In RIP, when a directly connected network goes down, the router immediately sends triggered updates to its directly connected neighbors containing the withdrawn route. This is a rapid convergence mechanism - unlike regular periodic updates, triggered updates happen immediately to propagate topology changes faster through the network.
-
It indicates that there are 8 hops between this and the 10.0.0.0 network.
-
It represents the time, in milliseconds, it takes for a ping to reply when sent to the 10.0.0.0 network.
-
It indicates that there are 8 subnets in the destination network to which the router can forward packets.
-
It indicates the number of consecutive bits, from the left, in the destination IP address of a packet that must match 10.0.0.0 to use that route.
D
Correct answer
Explanation
CIDR notation /8 indicates a subnet mask of 255.0.0.0, meaning the first 8 bits (first octet) of the destination IP must match 10.x.x.x for this route to be used. This is the prefix length - it tells the router how many bits, starting from the left, must match the network address. The remaining bits can vary for individual host addresses within that network.
-
It will deny TCP traffic to the Internet if the traffic is sourced from the 172.22.10.0/24 network.
-
It will not allow TCP traffic coming from the Internet to enter the network 172.22.10.0/24.
-
It will allow any TCP traffic from the Internet to enter the network 172.22.10.0/24.
-
It will permit any TCP traffic that originated from network 172.22.10.0/24 to return inbound on the S0/0/0 interface.
D
Correct answer
Explanation
ACL 110 permits TCP traffic from 172.22.10.0/24 and denies all other TCP traffic. When applied inbound on S0/0/0, it allows return traffic for sessions that originated from the internal network 172.22.10.0/24. This is because stateful firewalls or ACLs with established keyword permit return traffic for outbound-initiated connections - the ACL allows traffic FROM that network to return inbound.
-
Conduct a performance test and compare with the baseline that was established previously.
-
Determine performance on the intranet by monitoring load times of company web pages from remote sites.
-
Interview departmental administrative assistants and determine if they think load time for web pages has improved.
-
Compare the hit counts on the company web server for the current week to the values that were recorded in previous weeks.
A
Correct answer
Explanation
The only valid way to measure performance impact is to compare current performance against a previously established baseline. A baseline provides the reference point for what normal performance looked like before the change. Options B, C, and D either measure from external sources (uncontrolled variables), rely on subjective perception, or measure traffic volume rather than performance - none of which isolate the effect of the configuration change.
-
0 to 255
-
0 to 1023
-
1024 to 49151
-
49152 to 65535
B
Correct answer
Explanation
Port numbers 0-1023 are the well-known ports, reserved by IANA for standard services like HTTP (80), HTTPS (443), SSH (22), FTP (21), etc. These require privileged access to bind to. Ports 1024-49151 are registered ports, and 49152-65535 are dynamic/private ports used for ephemeral connections by clients.
-
It is allowed because of the implicit deny any.
-
It is dropped because it does not match any of the items in the ACL.
-
It is allowed because line 10 of the ACL allows packets to 192.168.0.0/16.
-
It is allowed because line 20 of the ACL allows packets to the host 192.168.10.13.
B
Correct answer
Explanation
Every ACL has an implicit deny any at the end. The packet with source 10.1.1.1 and destination 192.168.10.13 doesn't match line 10 (which permits 192.168.0.0/16) OR line 20 (which permits host 192.168.10.1). Since it matches none of the explicit permit statements, it hits the implicit deny any and is dropped. The IP doesn't match line 20 (192.168.10.1), and line 10 permits the 192.168.0.0/16 network but the question implies it doesn't match.
B
Correct answer
Explanation
ARP is used to find a MAC address. Because the routers build new MAC headers and trailers, and because the new headers contain MAC addresses, the routers must have some way to decide what MAC addresses to use. An example of how the router determines which MAC address to use is the IP Address Resolution Protocol (ARP) protocol. ARP is used to dynamically learn the MAC address of some IP host.
-
RouterB# router rip
-
RouterB(router)# network 210.36.7.0
-
RouterB(config)# router rip
-
RouterB(config-router)# network 198.16.4.0
-
RouterB(config-router)# network 210.36.7.0
B
Correct answer
Explanation
To enable RIP on Router B for all connected networks, you must: enter global config mode (config#), start RIP configuration (router rip), then specify each network with the 'network' command. Option B is correct because it specifies the network command at the appropriate config-router prompt level. Option A is incomplete, Option C is at wrong prompt, Options D/E are incomplete.
-
Incoming traffic with VLAN ID 0 is processed by interface fa0/0.
-
Incoming traffic that has a VLAN ID of 2 is processed by subinterface fa0/0.2.
-
Both subinterfaces remain up with line protocol up, even if fa0/0 line protocol is down.
-
Subinterfaces use unique MAC addresses by adding the 802.1Q VLAN ID to the hardware address.
-
Traffic inbound on this router is processed by different subinterfaces, depending on the VLAN from which the traffic originated.
B
Correct answer
Explanation
Router-on-a-stick uses subinterfaces with 802.1Q encapsulation to route between VLANs. Each subinterface is configured with an encapsulation dot1q command. When traffic arrives on the physical interface with a VLAN tag, the router directs it to the matching subinterface based on that VLAN ID. Subinterface fa0/0.2 handles VLAN 2 traffic. The physical interface fa0/0 itself doesn't process the VLAN-tagged traffic - the subinterfaces do based on VLAN tags.
-
To supply error detection
-
To establish and terminate data links
-
To provide authentication capabilities to PPP
-
To manage network congestion and to allow quality testing of the link
-
To allow multiple Layer 3 protocols to operate over the same physical link
-
Flow control
-
Error control
-
Authentication
-
Synchronous communication
C
Correct answer
Explanation
HDLC is a basic WAN encapsulation protocol that provides no authentication mechanism. PPP was designed with extensible features including authentication protocols (PAP and CHAP) that can verify the identity of connecting devices before establishing a full connection.
-
UBAMA# configure terminal
-
UBAMA(config)# line vty 0 4
-
UBAMA(config)# line console 0
-
UBAMA(config)# interface Serial 0/0/0
-
UBAMA(config)# interface FastEthernet 0/1
-
Router1 will perform recursive lookup and packet will exit S0/0.
-
Router1 will perform recursive lookup and packet will exit S0/1.
-
There is no matching interface associated with network 172.16.0.0, so packets will be dropped.
-
There is no matching interface associated with network 172.16.0.0, so packets will take gateway of last resort and exit out S0/2.