Computer Knowledge
Computer Networks
2,461 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
C
Correct answer
Explanation
This is a webMethods Broker Server-specific configuration question. The correct default port is implementation-specific and would be found in product documentation.
C
Correct answer
Explanation
Neighbor Discovery (ND) is a core component of IPv6 protocol suite, replacing ARP's functionality in IPv4 networks. ND operates at the link layer to discover and maintain neighbor relationships on the same network segment. DHCP is for address configuration, ARP is IPv4-only, and OSPF is a routing protocol.
-
netstat
-
nwmgr
-
lanscan
-
ifconfig
A
Correct answer
Explanation
The netstat command displays the network routing table along with other network statistics and connections. nwmgr is a network management tool, lanscan scans LAN interfaces, and ifconfig configures individual network interfaces but doesn't display the full routing table.
-
SSH-2
-
SSH-3
-
SSH-AES
-
OpenSSH3
A
Correct answer
Explanation
HP-UX uses SSH-2 as the default protocol for Secure Shell connections. SSH-2 is the current standard version with improved security over SSH-1. SSH-3 does not exist as a standard protocol version, SSH-AES is a cipher option not a protocol version, and OpenSSH3 refers to software version not protocol version.
-
gethostbyname
-
hostname
-
nsquery
-
whois
-
ifconfig
-
lanscan
-
arp
-
traceroute
C
Correct answer
Explanation
ARP (Address Resolution Protocol) maps IP addresses to MAC (Ethernet) addresses. The arp command displays the ARP cache showing Internet (IP) to Ethernet (MAC) address resolutions, while ifconfig shows interface configuration, lanscan lists LAN interfaces (HP-UX), and traceroute traces packet routes.
-
nslookup
-
ping
-
lanscan
-
arp
C
Correct answer
Explanation
lanscan is an HP-UX specific command that displays the status of all LAN interfaces, including whether each NIC is enabled or disabled. It shows the interface state, PPA, and MAC addresses. nslookup queries DNS, ping tests connectivity, and arp shows address mappings - none verify NIC enable status.
-
On the new access switch, configure the MAC address to port association
-
On the old access switch, configure the MAC address to port association.
-
On the old access switch, remove any configured access lists
-
On the new access switch, remove any port security configuration.
A,C
Correct answer
Explanation
When moving a host device between switches, you must complete the setup on the new switch (A) and clean up the old switch (C). Configuring the MAC-to-port association on the new switch ensures proper connectivity, while removing access lists from the old switch prevents security conflicts. You don't need to configure the old switch (B) since the device is leaving it, and removing port security from the new switch (D) would defeat its purpose.
-
To design a network based on traffic pattern requirements
-
To manage network device addressing
-
To divide the functions of network protocols into manageable chunks
-
To describe the process of data encapsulation
A
Correct answer
Explanation
Cisco's three-layer hierarchical model (core, distribution, access) is designed to create networks based on traffic flow patterns and requirements. The core layer handles high-speed transport, distribution handles policy-based connectivity, and access provides local workstation connectivity. It does not manage device addressing (B), divide protocol functions (C), or describe encapsulation (D).
-
policy-based bandwidth provisioning
-
automatic configuration of IP interfaces
-
prioritize only inbound network bandwidth
-
prioritize only outbound network bandwidth
A,D
Correct answer
Explanation
IPQoS (IP Quality of Service) enables policy-based bandwidth provisioning for both inbound and outbound network traffic. It does not automatically configure IP interfaces, nor does it limit prioritization to only one direction of traffic.
-
/usr/sbin/ntpsync
-
/usr/sbin/ntpdate
-
/usr/sbin/ntpscan
-
/usr/sbin/ntpd.conf
B
Correct answer
Explanation
The ntpdate command is used to synchronize the local system clock with a remote NTP server. ntpsync and ntpscan are not standard commands, and ntpd.conf is a configuration file not a command.
C
Correct answer
Explanation
The ping command tests connectivity and reachability of a remote host by sending ICMP (Internet Control Message Protocol) echo requests and waiting for replies. It measures round-trip time and packet loss, indicating whether the remote host is accessible and responding. Ping is the fundamental network diagnostic tool for checking host connectivity.
-
netpmon
-
ipconfig
-
netstat
-
nfsstat
C
Correct answer
Explanation
netstat displays network connections, routing tables, interface stats. netpmon is AIX-specific. ipconfig is Windows. nfsstat shows NFS stats, not general network status.
B
Correct answer
Explanation
TNSPING is faster than standard PING because TNSPING only checks if the listener is reachable and can respond to TNS (Transparent Network Substrate) requests - it doesn't connect to the database instance or verify database availability. Standard PING operates at the TCP/IP network layer and checks basic network connectivity, while TNSPING operates at the Oracle application layer and is specifically optimized for Oracle Net Services. The TNSPING check is lighter weight as it bypasses instance connection and verification.
A
Correct answer
Explanation
Socket APIs are standardized across programming languages. A socket server written in Java can communicate with a client written in Python or C because they use the same underlying network protocols (TCP/IP) and socket interface standards defined by the operating system.