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
-
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).
-
EMS
-
JMS
-
Rendezvous
-
None of the above
C
Correct answer
Explanation
TIBCO Rendezvous (RV) is the original and default messaging transport protocol in TIBCO infrastructure. EMS (Enterprise Message Service) is a JMS-compliant messaging server that can be used as an alternative, but Rendezvous remains the foundational transport mechanism.
-
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.
-
Through Gateway server
-
Through Domain Server
-
Through Enterprise Server
-
Directly
A
Correct answer
Explanation
Siebel Remote Client connects through the Gateway server, which acts as an intermediary between remote clients and the Siebel Enterprise server. The Gateway server handles authentication, routing, and connection management for remote users. Direct connection or connecting through Domain/Enterprise server is not the standard architecture.
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.
-
getLocalPort() method
-
getActivePort() method
-
By pinging the server
-
By giving value 0 as port number
A
Correct answer
Explanation
The getLocalPort() method returns the local port number to which the socket is bound. On the server side, this reveals the port assigned to the ServerSocket. On the client side, it shows the ephemeral port used for the connection. Options B and D are not valid methods or approaches for port discovery.
-
TCP/IP or UDP port on the server
-
Reprsents the actual service inv used
-
Exposes a <service> using a specific protocol binding
-
None of the above
C
Correct answer
Explanation
In WSDL, a element defines an individual endpoint by combining a (protocol + data format) with a network address. It exposes the service through a specific protocol binding like SOAP over HTTP. Option A incorrectly refers to transport-layer ports, while B is vague and contains a typo.