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 technology
  1. show isis neighbor

  2. show isis interface

  3. show interface route

  4. show interface protocols

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

'show isis interface' displays IS-IS protocol status specifically at the interface level, showing which interfaces have IS-IS configured and their operational state. Option A shows neighbor adjacencies but doesn't verify interface configuration. Options C and D are incorrect command syntax in Junos.

Multiple choice technology
  1. internal and external BGP routes

  2. two routes received from the same AS

  3. two routes received from the same routing protocol

  4. two routes received from different routing protocol

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

Route preference (also called administrative distance) is primarily used to select between routes learned from different routing protocols to the same destination. When multiple routing protocols provide routes to the same prefix, the route with the lowest preference value is selected. Option D is grammatically incorrect ('protocol' vs 'protocols'). Route preference does not differentiate between internal/external BGP (A) - that's what LOCAL_PREF is for.

Multiple choice technology
  1. perform a label pop

  2. perform a label swap

  3. perform a label push

  4. send an error message toward the ingress router

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

When an LSR receives a label of 0 (implicit null), it performs PHP (Penultimate Hop Popping) by popping the label and forwarding the IP packet to the egress router. However, this is operationally equivalent to a label swap operation where the incoming label is swapped for a null label (0), which is then removed. The correct answer is B because in MPLS forwarding operations, the label action is classified as a swap. Options A (pop), C (push), and D (error) do not correctly describe the MPLS forwarding operation for label 0.

Multiple choice technology
  1. It pops the label and sends the remaining data packet to the egress router.

  2. It pushes an additional label on a packet and sends it to the egress router.

  3. It swaps an incoming label with a label of 3 and sends it to the egress router.

  4. It examines the IP packet and forwards the packet based on the destination IP address.

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

The penultimate hop router (second-to-last router in the LSP) performs PHP (Penultimate Hop Popping) by removing the MPLS label before forwarding the packet to the egress router. This reduces processing load on the egress router since it doesn't need to perform a label lookup - it receives a plain IP packet. Option B is incorrect because the penultimate router pops, not pushes. Option C describes a swap operation with explicit null (label 3), not the normal PHP case. Option D is what the egress router does after PHP, not the penultimate router's job.

Multiple choice technology
  1. apply an import policy under [edit protocols ospf] that matches OSPF routes and accepts them

  2. apply an export policy under [edit protocols ospf] that matches OSPF routes and accepts them

  3. apply an export policy under [edit protocols bgp] that matches OSPF routes and accepts them

  4. apply an import policy under [edit protocols bgp] that matches OSPF routes and accepts them

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

To advertise OSPF routes into BGP, you must apply an export policy under the BGP protocol hierarchy. An export policy controls what routes are advertised out of a protocol. Import policies control what routes are accepted into a protocol. Applying an export policy under OSPF (B) would advertise BGP routes into OSPF, not the reverse. Import policies under BGP (D) would filter what BGP routes are accepted, not what OSPF routes are advertised.

Multiple choice technology
  1. family ip

  2. family ip6

  3. family inet

  4. Family inet4

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

In Junos, the 'family inet' statement must be configured at the interface level before assigning an IPv4 address. The 'inet' family enables IPv4 processing on the interface. Options A (ip) and D (inet4) are not valid Junos protocol family names. Option B (family ip6) is for IPv6, not IPv4. The correct sequence is: configure 'family inet', then assign the address within that family context.

Multiple choice technology
  1. for VLSM support

  2. for loop prevention

  3. for TCP reachability

  4. for MD5 authentication

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

When configuring IBGP peering to loopback addresses, the local-address option is required because the TCP session for BGP uses the loopback address as the source. Without explicitly setting local-address, the router might use a different interface's IP address as the source, which could fail or cause connectivity issues depending on routing. This is not for VLSM support (A), loop prevention (B), or MD5 authentication (D) - those are handled by other mechanisms. The local-address ensures proper TCP source address selection.

Multiple choice technology
  1. 0

  2. 1

  3. 5

  4. 17

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

Directly connected routes receive the highest preference value of 0 because they represent networks directly attached to the router's interface. This ensures that directly connected routes are always preferred over routes learned through any routing protocol, which have higher (less preferred) preference values.

Multiple choice technology
  1. UDP port 169

  2. TCP port 169

  3. UDP port 179

  4. TCP port 179

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

BGP uses TCP as its reliable transport protocol and listens on port 179. This is a well-known standard port number for BGP connections. UDP is not used for BGP because it requires reliable, ordered delivery of routing updates, which TCP provides. Port 169 is not associated with BGP.

Multiple choice technology
  1. Supports VLSM

  2. Supports Kerberos authentication

  3. Is backward compatible with RIPv1

  4. Multicasts messages to RIP neighbors

  5. Uses Hello Protocol for neighbor discovery

Reveal answer Fill a bubble to check yourself
A,C,D Correct answer
Explanation

RIPv2 supports Variable Length Subnet Masking (VLSM) which allows more efficient IP address allocation. It maintains backward compatibility with RIPv1 routers in a network. RIPv2 uses multicast (address 224.0.0.9) instead of broadcast to communicate with RIP neighbors, reducing unnecessary traffic on all network devices. Kerberos authentication is not used by RIPv2, and the Hello Protocol is used by OSPF, not RIP.

Multiple choice technology
  1. routing-options {autonomous-system 64;} protocols { bgp { group external-peer11{ type external; neighbor 10.0.3.6 { peer as } }

  2. routing-options {autonomous-system 34;} protocols { bgp { group external-peer11{ type external; neighbor 10.0.3.6 { peer as } }

  3. routing-options {autonomous-system 11;} protocols { bgp { group external-peer64{ type external; neighbor 10.0.3.6 { peer as } }

  4. routing-options {autonomous-system 44;} protocols { bgp { group external-peer11{ type external; neighbor 10.0.3.5 { peer as } }

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

The correct EBGP configuration specifies autonomous-system 64 locally while connecting to a peer in AS 11, which matches the scenario description. Option A correctly identifies the local AS as 64 and references the peer group appropriately. Options B, C, and D specify incorrect local AS numbers or neighbor details that don't match the requirement.

Multiple choice technology
  1. packet forwarding

  2. queuing functions

  3. routing protocol control

  4. JUNOS software operation

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

In Juniper's architecture, the Routing Engine handles control plane tasks like running routing protocols (C) and system management including queuing functions (B). Packet forwarding is handled separately by the Packet Forwarding Engine.

Multiple choice technology
  1. apply the redistribution policy to RIP as import

  2. apply the redistribution policy to RIP as export

  3. apply the redistribution policy to OSPF as import

  4. apply the redistribution policy to OSPF as export

  5. create a redistribution policy accepting the RIP routes

  6. create a redistribution policy accepting the OSPF routes

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

Redistribution into RIP requires: (1) a policy accepting OSPF routes (F), and (2) applying that policy to RIP as export (B) so RIP can advertise those routes. Import policies filter routes entering RIP, not redistributing from other protocols.

Multiple choice technology
  1. $strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterConfiguration" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = TRUE" Write-Host "MAC Address: " $objItem.MacAddress Write-Ho
  2. $strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterDetails" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = TRUE" Write-Host "MAC Address: " $objItem.MacAddress Write-Host &qu
  3. $strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterConfiguration" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = FALSE" Write-Host "MAC Address: " $objItem.MacAddress Write-H
  4. $strComputer ="Compuet name" $colItems = GWMI -cl "Win32_ NetworkAdapterDetails " -name "root\CimV2"-comp $strComputer -filter "IpEnabled = FALSE" Write-Host "MAC Address: " $objItem.MacAddress Write-Host
Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Win32_NetworkAdapterConfiguration WMI class contains MACAddress and IPAddress properties for network adapters. The filter IpEnabled=TRUE selects only adapters with active IP configurations. Option B and D incorrectly use Win32_NetworkAdapterDetails which is not a valid WMI class. Option C uses IpEnabled=FALSE which would return adapters without IP configuration.