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
-
Inverting the subnet mask will always create the wildcard mask.
-
A wildcard mask identifies a network or subnet bit by using a 1.
-
The same function is performed by both a wildcard mask and a subnet mask.
-
When a 0 is encountered in a wildcard mask, the IP address bit must be checked.
D
Correct answer
Explanation
In wildcard masks, a 0 bit means the corresponding IP address bit must match exactly, while a 1 bit means 'don't care' - the bit can be any value. This is the opposite of subnet masks, where 1 means network portion and 0 means host portion. Wildcard masks are commonly used in access control lists and OSPF configuration.
-
10.1.0.0/16
-
10.1.0.0/8
-
10.0.0.0/16
-
10.0.0.0/8
D
Correct answer
Explanation
RIPv1 is a classful routing protocol that does not include subnet mask information in its updates. When network 10.1.0.0 is configured, RIPv1 advertises the entire classful network 10.0.0.0/8 because it assumes all subnets within that classful network belong to the same major network. This is a limitation of classful protocols.
-
application
-
physical
-
transport
-
internet
-
network access
-
physical
-
session
-
network
-
application
-
presentation
D
Correct answer
Explanation
The Application layer (layer 7) of the OSI model provides network services directly to user applications and software. This layer includes protocols like HTTP, FTP, SMTP, and DNS that allow users to interact with the network through applications such as web browsers and email clients.
-
The update information will replace the existing routing table entry.
-
The update information will be added to the existing routing table.
-
The existing routing table entry will be deleted from the routing table and all routers will exchange routing updates to reach convergence.
-
The update will be ignored and no further action will be taken.
D
Correct answer
Explanation
When a RIP router receives a route to a destination that it already has in its routing table, it compares the metrics. RIP only keeps the route with the lowest cost (fewest hops). If the received update has a higher cost than the existing entry, the update is ignored and the existing better route is retained.
-
metric
-
route prefix
-
update timer
-
administrative distance
D
Correct answer
Explanation
Administrative distance is the criterion used by Cisco routers to select between routes learned from different routing protocols or sources. Each routing source has a default AD value (e.g., connected=0, static=1, EIGRP=90, OSPF=110, RIP=120). The route with the lowest AD is installed in the routing table, regardless of the routing protocol's metric.
-
floods the LSP to neighbors
-
calculates the SPF algorithm
-
runs the Bellman-Ford algorithm
-
computes the best path to the destination network
A
Correct answer
Explanation
When a link-state router receives a Link State Packet (LSP) from a neighbor, it immediately floods this LSP to all its other neighbors (except the one it received it from). This flooding ensures all routers quickly receive the same topology information. SPF calculation happens later, after the LSP is processed and added to the LSDB.
-
The physical interface must have an IP address configured.
-
The subinterface numbers must match the VLAN ID number.
-
The no shutdown command must be given on each subinterface.
-
The IP address of each subinterface must be the default gateway address for each VLAN subnet.
D
Correct answer
Explanation
For inter-VLAN routing, each subinterface must have the default gateway IP address for devices in that VLAN to use for routing. The physical interface itself typically does not need an IP address configured. While it's common practice to match subinterface numbers to VLAN IDs, this is not a technical requirement, and the no shutdown command is generally issued on the physical interface, not each subinterface.
-
access-list 10 deny 192.168.16.0 0.0.0.31
-
access-list 10 deny 192.168.16.16 0.0.0.31
-
access-list 10 deny 192.168.16.32 0.0.0.16
-
access-list 10 deny 192.168.16.32 0.0.0.15
D
Correct answer
Explanation
The host 192.168.16.43/28 belongs to the subnet 192.168.16.32/28 (addresses 192.168.16.32 to 192.168.16.47). A /28 mask corresponds to a wildcard mask of 0.0.0.15. The ACL statement must use the network address (192.168.16.32) paired with the wildcard mask (0.0.0.15) to match all hosts in that subnet.
-
It helps to conserve IP addresses.
-
It establishes multiple PVC connections to multiple physical interfaces.
-
It eliminates split horizon issues without increasing the likelihood of routing loops.
-
It requires the configuration of the encapsulation command on the subinterface.
-
bridge priority
-
MAC address
-
protocol
-
VLAN ID
D
Correct answer
Explanation
PVST+ (Per-VLAN Spanning Tree Plus) runs a separate spanning tree instance for each VLAN. To make this work, the Bridge ID was modified to include the VLAN ID, allowing each VLAN to have a different root bridge if desired. This modification maintains backward compatibility while enabling per-VLAN spanning tree calculations. The Bridge ID still contains priority and MAC address, but the VLAN ID extension is what makes PVST+ possible.
-
Router1(config)# ip classless
-
Router1(config-router)# network 192.168.16.0
-
Router1(config-router)# no passive-interface serial 0/1/1
-
Router2(config-router)# version 2
-
Router2(config-router)# neighbor 10.0.0.2
-
BOS -> ATL because this path is highest cost
-
BOS -> ATL because this path is the least hops
-
BOS -> ORL -> JAX -> ATL because this path is the lowest cost
-
traffic would load balance across all links
-
192.168.0.0/24 through 192.168.0.15/24
-
192.168.0.0/24 through 192.168.15.0/24
-
192.168.16.0/24 through 192.168.255.0/24
-
192.168.15.0/24 through 192.168.31.0/24
-
192.168.15.0/24 through 192.168.255.0/24
B
Correct answer
Explanation
The wildcard mask 0.0.15.255 matches networks where the third octet ranges from 0 to 15. This means 192.168.0.0/24 through 192.168.15.0/24 will be advertised. The wildcard mask works by having 0 bits that must match exactly and 1 bits that can vary. The binary of 15 is 00001111, allowing the first 4 bits to match (giving 0-15) while the first two octets and last octet are fixed.