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
A
Correct answer
Explanation
The network layer (Layer 3 in OSI model) is responsible for routing packets from the source host to the destination host across multiple networks using logical addressing (IP addresses) and routing protocols.
-
Provides a well-defined service interface to the network layer
-
Deals with transmission errors
-
Regulating the flow of data so that slow receivers are not swamped by fast senders
-
All of the above
D
Correct answer
Explanation
The data link layer has three core functions: (1) providing a service interface to the network layer, (2) handling transmission errors via checksums/CRC and ARQ mechanisms, and (3) flow control to prevent fast senders from overwhelming slow receivers. All listed options are correct.
-
set the hostname
-
set the time zone
-
set the IP
-
all the above
D
Correct answer
Explanation
The set_parms command on HP-UX is a system administration utility that can configure various system parameters including hostname, timezone, and network settings like IP address. It provides an interactive menu or command-line interface for modifying system configuration parameters. The command consolidates multiple parameter-setting functions into one utility, making it versatile for system configuration tasks.
-
/etc/hosts
-
/etc/ports
-
/etc/services
-
/etc/protocols
C
Correct answer
Explanation
On HP-UX (and most Unix systems), /etc/services is the standard file that maps service names to port numbers and protocols. This file is used by network applications to resolve service names like 'http' or 'ssh' to their corresponding port numbers. /etc/hosts maps IP addresses to hostnames, /etc/protocols lists protocol numbers, and /etc/ports does not exist as a standard file. The services file is essential for network configuration and service name resolution.
-
default
-
start profile
-
Central instance –instance profile
-
- Application Instance – instance profile
A
Correct answer
Explanation
The parameter rdisp/mshost defines the host where the SAP Message Server is running. This is a global setting required by all instances to communicate, and therefore it is typically maintained in the Default Profile (DEFAULT.PFL) rather than instance-specific profiles.
-
DEFAULT.PFL
-
TPPARAM
-
TPPARAM.sap
-
DOMAIN.CFG
B
Correct answer
Explanation
The R/3 Transport System uses TPPARAM as its parameter configuration file. This file contains settings for transport tools (tp, R3trans) like transport directory, system connections, and buffer parameters. DEFAULT.PFL is used for instance profiles. DOMAIN.CFG relates to domain configuration. The .sap extension is not part of the TPPARAM filename. TPPARAM is central to Change and Transport System (CTS) operations.
-
default
-
start profile
-
Central instance –instance profile
-
- Application Instance – instance profile
A
Correct answer
Explanation
The parameter rdisp/mshost specifies the message server host and is found in the default profile (DEFAULT.PFL). This is because the message server host needs to be known system-wide, not just for specific instances. The default profile is read by all SAP instances during startup, making it the right place for this system-wide parameter.
-
DEFAULT.PFL
-
TPPARAM
-
TPPARAM.sap
-
DOMAIN.CFG
D
Correct answer
Explanation
DOMAIN.CFG is the parameter file used by the R/3 Transport System. This file contains configuration parameters for the transport tools (tp, R3trans). DEFAULT.PFL is the default instance profile, TPPARAM and TPPARAM.sap are not the correct transport parameter file names. The DOMAIN.CFG file is crucial for transport system configuration and must be properly maintained.
-
TextTrust
-
Httpwatch
-
Fiddler
-
Webpage Analyser
C
Correct answer
Explanation
Fiddler is a widely used HTTP debugging proxy that captures and logs all traffic between a computer and the internet. Httpwatch is a browser plug-in rather than a standalone proxy, and the others are not standard tools for this specific purpose.
-
All Users of an application
-
A Single session
-
All users within a single tunnel
-
None
B
Correct answer
Explanation
Session state variables are specific to a single user session and cannot be accessed by other users or sessions. They persist only for the duration of that specific session and are isolated from other sessions. Option A is incorrect because session state is not shared across all users, and Option C is incorrect - sessions don't work at a 'tunnel' level.
-
SOAP & TCP
-
SOAP & REST
-
REST & IP
-
None
B
Correct answer
Explanation
SOAP and REST are the two most widely used protocols for web services. SOAP uses XML for structured messaging, while REST uses HTTP methods (GET, POST, PUT, DELETE) with various data formats. TCP and IP are lower-level networking protocols, not web service protocols.
-
SAOP
-
HTTP/HTTPs
-
TCP/IP+JMS
-
REST
B
Correct answer
Explanation
While SOAP and REST are architectural styles, HTTP/HTTPS are the underlying protocols used for asynchronous communication in web services (often via AJAX or callbacks). However, JMS is also a common choice for enterprise async messaging.
-
Ethernet
-
SCSI
-
FC
-
All the above
D
Correct answer
Explanation
Storage Area Networks (SANs) utilize Fiber Channel (FC) for high-speed transport, SCSI as the command protocol for storage communication, and can also run over Ethernet (iSCSI/FCoE).
-
Physical layer
-
encode/decode
-
routing, flow control
-
mapping interface
C
Correct answer
Explanation
FC-2 is the second layer in the Fibre Channel protocol stack, responsible for routing and flow control between devices. This layer handles data framing, sequence management, and ensures reliable delivery through flow control mechanisms. FC-0 handles physical signaling, and FC-1 handles encoding/decoding - neither is FC-2's responsibility.
-
a) telnet works only with terminals where rsh works for all
-
b) telnet is unix product while rsh is a TCP product
-
c) telnet uses byte protocol while rsh uses stream protocol
-
d) No difference. They can be used interchangably
C
Correct answer
Explanation
telnet uses a byte-oriented protocol and was designed specifically for terminal emulation, while rsh (remote shell) uses a stream protocol for executing commands on remote hosts. Their underlying communication protocols differ.