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. an internet

  2. a network

  3. an octet

  4. a radi

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

A network is defined as a group of hosts that share identical bit patterns in the high-order bits of their IP addresses. These high-order bits represent the network portion of the address, while the remaining low-order bits represent the host portion. For example, in 192.168.1.0/24, the first 24 bits (high-order) identify the network, and hosts within this network share these same 24 bits. This fundamental IP addressing concept allows routers to forward traffic based on network prefixes rather than individual host addresses.

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 IP address 172.16.134.64 and mask 255.255.255.224 (/27), we calculate the network address. The block size for /27 is 32 (2^(32-27) = 32). Network addresses are multiples of 32: 172.16.134.0, 172.16.134.32, 172.16.134.64, etc. The address 172.16.134.64 falls exactly on a network boundary (0, 32, 64, 96...), making it a network address, not a usable host address. The broadcast address would be 172.16.134.95 (network address + block size - 1). Usable host addresses are 172.16.134.65-94.

Multiple choice
  1. 224.0.0.5

  2. 224.0.0.6

  3. 224.0.0.9

  4. 224.0.0.10

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

EIGRP uses the multicast address 224.0.0.10 for sending hello packets, updates, and other EIGRP messages. This address is reserved specifically for EIGRP and ensures that EIGRP messages are received by all EIGRP-speaking routers on the broadcast domain without disturbing other protocols. By contrast, 224.0.0.5 and 224.0.0.6 are used by OSPF (all OSPF routers and designated routers respectively), while 224.0.0.9 is used by RIPv2. Using protocol-specific multicast addresses improves efficiency by allowing devices to filter unwanted traffic at the hardware layer.

Multiple choice
  1. Router1(config-)# no router rip Router1(config-router)# network 192.168.10.0

  2. Router1(config-router)# no network 192.168.10.0

  3. Router1(config-router)# passive-interface fastethernet 0/0

  4. Router1(config-router)# passive-interface serial 0/0/0

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

The passive-interface command in RIPv1 prevents routing updates from being sent out the specified interface while still allowing that network to be advertised to other routers. In this scenario, FastEthernet 0/0 connects to the end-user network (192.168.10.0/24), and making it passive prevents unnecessary RIP traffic to end-user devices that don't need routing updates. However, the network is still included in RIP updates sent out other interfaces (like Serial 0/0/0) to other routers. Option B would remove the network entirely, while option D targets the wrong interface.

Multiple choice
  1. incorrect encapsulation

  2. incorrect STP configuration

  3. incorrect ARP mapping

  4. incorrect clock rate

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

Physical layer problems relate to the actual transmission of signals on the network medium. The clock rate (or timing) is a physical layer parameter that ensures synchronized communication between devices, especially on serial WAN links. An incorrect clock rate causes synchronization failures, preventing reliable data transmission. The other options are issues at higher layers: encapsulation is data link layer, STP (Spanning Tree Protocol) is data link layer, and ARP mapping involves both data link and network layers. Physical layer problems also include cable faults, voltage issues, and connector problems.

Multiple choice
  1. Limits that hours of operation for this switch

  2. Allows only administrator passwords

  3. Limits all port traffic through this switch

  4. Limits the number of MAC addresses that can be serviced from a port

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

Port Security is a feature that, when enabled, limits the number of MAC addresses associated with a port. In other words, there is a preset limit to the number of sources that can access or forward frames into the switch.

Multiple choice
  1. This allows the switch to host web pages for the network.

  2. This allows remote VPN connections to the switch over the Internet.

  3. This is required if a web server or web farm is attached to the switch.

  4. This allows web-based configuration tools to be used with the switch.

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

Configuring a Cisco switch as an HTTP server enables the switch's embedded web-based management interface. This allows administrators to use a standard web browser (instead of a CLI) for configuration, monitoring, and management. The switch itself is not hosting web pages for network users (option A), nor is it related to VPN connectivity (B). This is a convenience feature for switch management, not a requirement for attaching web servers to the network (C).

Multiple choice
  1. R1(config-router)# network 10.0.0.0 0.0.0.0 area 0

  2. R1(config-router)# network 10.1.0.0 0.0.0.255 area 0

  3. R1(config-router)# network 10.1.1.0 0.0.0.255 area 0

  4. R1(config-router)# network 10.1.2.4 0.0.0.3 area 0

  5. R1(config-router)# network 10.1.0.0 0.0.0.255.255 area 0

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

The OSPF 'network' command uses a wildcard mask (inverse of subnet mask) to match interfaces. The command 'network 10.1.0.0 0.0.0.255 area 0' means 'match any interface with an IP in the 10.1.x.x range where the third octet can vary (0-255)'. This enables OSPF on all interfaces whose IP addresses fall within 10.1.0.0/16 networks with /24 subnets. Option A's 0.0.0.0 wildcard would only match 10.0.0.0/32 (a single host), option C is too specific, option D uses point-to-point mask, and option E has an invalid wildcard mask (four octets instead of three).

Multiple choice
  1. OSPF is an exterior gateway protocol (EGP).

  2. OSPF routing updates do not include the subnet masks.

  3. OSPF routing updates always contain the entire routing table.

  4. OSPF supports variable-length subnet masks.

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

OSPF is a classless interior gateway protocol (IGP) which supports VLSM, hence includes the subnet masks in the routing updates. OSPF routers exchange the state of their links (interfaces) by sending incremental updates, not the entire routing table.

Multiple choice
  1. Telnet

  2. Console

  3. AUX

  4. SSH

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

SSH (Secure Shell) encrypts the entire session including authentication (user ID and password) and all subsequent command traffic. Telnet transmits everything in cleartext, making it vulnerable to eavesdropping. Console and AUX ports provide local physical access but don't provide encryption. For keeping session contents and credentials private over a remote connection, SSH is the only secure option among these choices.

Multiple choice
  1. It will travel via A, B, and C.

  2. It will travel via A, F, E, D, and C.

  3. It will travel via A, G, H, and C.

  4. The traffic will be load-balanced on all paths.

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

EIGRP uses a composite metric based on bandwidth and delay (by default) to select the best path. The exhibit must show that the path A-F-E-D-C has the lowest composite metric among all available paths between the two networks. Option D (load-balancing) would require equal-cost paths, which the exhibit apparently doesn't show. EIGRP does not consider the number of hops in its metric calculation, so a longer path with better bandwidth/delay characteristics will be preferred over a shorter but slower path.

Multiple choice
  1. physical

  2. data link

  3. network

  4. application

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

The administrator has verified that NAT is working and that basic IP connectivity functions (ping works). This means Layer 3 (network layer) is operational, as is Layer 1 and 2. Since users cannot reach the web server using HTTP but IP-level connectivity is confirmed, the problem is at Layer 7 (application layer). Possible issues include: firewall rules blocking HTTP traffic, the web server service not running, or application-level filtering. The next troubleshooting step should focus on application layer issues.

Multiple choice
  1. PC1 will be able to telnet to PC3.

  2. R3 will not be able to communicate with PC1 and PC3.

  3. PC3 cannot telnet to R3 and cannot communicate with PC1.

  4. PC1 will not be able to telnet to R3 and PC3 will not be able to communicate with PC1.

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

The two ACLs (Serial inbound and LAN inbound) are blocking specific traffic flows. From the correct answer, the Serial ACL is blocking PC1's telnet traffic to R3, while the LAN ACL is blocking PC3's communication with PC1. ACLs are processed in order and applied to traffic in the specified direction (inbound means entering the interface). Without seeing the exact ACL rules and network exhibit, the administrator must have configured rules that deny these specific flows while permitting others. Telnet uses TCP port 23, which the Serial ACL apparently blocks for PC1-to-R3 traffic.

Multiple choice
  1. provides the formatting of data

  2. provides end-to-end delivery of data between hosts

  3. provides delivery of data between two applications

  4. provides for the exchange data over a common local media

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

The data link layer (Layer 2) provides for the exchange of data over a common local media. It handles framing, physical addressing (MAC addresses), and media access control (like CSMA/CD). Option A refers to the presentation layer (formatting). Option B (end-to-end delivery) is the transport layer's function (Layer 4). Option C (delivery between applications) is the session or application layer's role. Layer 2 specifically deals with getting data across the local network segment.