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
-
show isis neighbor
-
show isis interface
-
show interface route
-
show interface protocols
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.
-
internal and external BGP routes
-
two routes received from the same AS
-
two routes received from the same routing protocol
-
two routes received from different routing protocol
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.
-
perform a label pop
-
perform a label swap
-
perform a label push
-
send an error message toward the ingress router
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.
-
It pops the label and sends the remaining data packet to the egress router.
-
It pushes an additional label on a packet and sends it to the egress router.
-
It swaps an incoming label with a label of 3 and sends it to the egress router.
-
It examines the IP packet and forwards the packet based on the destination IP address.
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.
-
apply an import policy under [edit protocols ospf] that matches OSPF routes and accepts them
-
apply an export policy under [edit protocols ospf] that matches OSPF routes and accepts them
-
apply an export policy under [edit protocols bgp] that matches OSPF routes and accepts them
-
apply an import policy under [edit protocols bgp] that matches OSPF routes and accepts them
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.
-
family ip
-
family ip6
-
family inet
-
Family inet4
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.
-
for VLSM support
-
for loop prevention
-
for TCP reachability
-
for MD5 authentication
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.
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.
-
UDP port 169
-
TCP port 169
-
UDP port 179
-
TCP port 179
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.
-
Supports VLSM
-
Supports Kerberos authentication
-
Is backward compatible with RIPv1
-
Multicasts messages to RIP neighbors
-
Uses Hello Protocol for neighbor discovery
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.
-
routing-options {autonomous-system 64;} protocols { bgp { group external-peer11{ type external; neighbor 10.0.3.6 { peer as } }
-
routing-options {autonomous-system 34;} protocols { bgp { group external-peer11{ type external; neighbor 10.0.3.6 { peer as } }
-
routing-options {autonomous-system 11;} protocols { bgp { group external-peer64{ type external; neighbor 10.0.3.6 { peer as } }
-
routing-options {autonomous-system 44;} protocols { bgp { group external-peer11{ type external; neighbor 10.0.3.5 { peer as } }
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.
-
protocol type
-
MAC address
-
TCP or UDP port
-
source and destination IP address
A,C,D
Correct answer
Explanation
Firewall filters operate at Layer 3 and Layer 4, matching on protocol types, IP addresses, and port numbers. MAC addresses operate at Layer 2 and are handled by switching/bridging functions, not firewall filters.
-
packet forwarding
-
queuing functions
-
routing protocol control
-
JUNOS software operation
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.
-
apply the redistribution policy to RIP as import
-
apply the redistribution policy to RIP as export
-
apply the redistribution policy to OSPF as import
-
apply the redistribution policy to OSPF as export
-
create a redistribution policy accepting the RIP routes
-
create a redistribution policy accepting the OSPF routes
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.
-
$strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterConfiguration" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = TRUE" Write-Host "MAC Address: " $objItem.MacAddress Write-Ho
-
$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
-
$strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterConfiguration" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = FALSE" Write-Host "MAC Address: " $objItem.MacAddress Write-H
-
$strComputer ="Compuet name" $colItems = GWMI -cl "Win32_ NetworkAdapterDetails " -name "root\CimV2"-comp $strComputer -filter "IpEnabled = FALSE" Write-Host "MAC Address: " $objItem.MacAddress Write-Host
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.