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
-
Mail Transfer
-
POP3
-
FTP
-
SMTP
-
Outbox
D
Correct answer
Explanation
SMTP (Simple Mail Transfer Protocol) is the standard protocol for sending email between mail servers. It handles the transmission and delivery of electronic mail messages across the Internet. POP3 is for retrieving mail, FTP transfers files, and 'Mail Transfer' and 'Outbox' are not protocol names.
-
HOSTS
-
DHCP
-
DNSHOSTS
-
NAMEHOSTS
-
SMHOSTS
A
Correct answer
Explanation
The HOSTS file (typically located at /etc/hosts on Unix or C:\Windows\System32\drivers\etc\hosts on Windows) maps hostnames to IP addresses locally, providing name resolution before querying a DNS server. DHCP is for assigning IP addresses, not name resolution.
-
Data Packets
-
Addressing
-
Protocol
-
File services
C
Correct answer
Explanation
Protocols are sets of rules that govern data transmission, ensuring packets arrive complete, in order, and error-free. Examples include TCP which guarantees reliable delivery through sequencing, acknowledgments, and retransmission of lost packets.
-
Simple Mailer transport protocol
-
Simple mail transport protocol
-
Single Mail transport protocol
B
Correct answer
Explanation
SMTP stands for Simple Mail Transfer Protocol. It is the standard protocol used for sending emails across the Internet. The other options use incorrect words like 'Mailer', 'transport' (lowercase), or 'Single', which do not represent the official acronym.
-
Network layer
-
Presentaion layer
-
Application layer
-
Data Link layer
B
Correct answer
Explanation
Encryption and decryption primarily occur at the Presentation layer (Layer 6) of the OSI model. This layer is responsible for translation, encryption, and compression of data to ensure it's in a format the application layer can use. Note: Some modern encryption also happens at the Application layer (SSL/TLS).
A
Correct answer
Explanation
SMTP (Simple Mail Transfer Protocol) is the standard protocol for sending email messages between servers. While the question is imprecise (email also uses POP3/IMAP for receiving), SMTP is the correct answer among the choices as it's the primary email protocol listed.
D
Correct answer
Explanation
Port 25 is the default port for SMTP (Simple Mail Transfer Protocol). This standard port is used for sending email between mail servers. Note: Port 587 is now commonly used for client submission with authentication, but 25 remains the traditional SMTP port.
A
Correct answer
Explanation
Port 21 is the default port for FTP (File Transfer Protocol) control connections. This port is used for establishing FTP sessions and sending commands. Port 20 is used for data transfer in active mode, but 21 is the primary control port.
C
Correct answer
Explanation
Port 80 is the default port for HTTP web traffic on servers like IIS and Apache. When you type a URL without specifying a port, the browser defaults to port 80 for unencrypted HTTP. Port 443 is used for HTTPS, and 8080 is a common alternate web server port.
A
Correct answer
Explanation
The Application layer (Layer 7) provides network services directly to user applications and end-user processes. It supports file transfer protocols like FTP and network management protocols like SNMP. Lower layers handle data transport, not application-level services.
C
Correct answer
Explanation
CMIP was developed by ISO as a comprehensive network management protocol to compete with SNMP. While more feature-rich, it was complex and less widely adopted than SNMP. CMIP operates at the application layer and uses OSI management services.
-
Static
-
Manual
-
Direct
-
Dynamic
D
Correct answer
Explanation
Dynamic routers use routing protocols (RIP, OSPF, BGP) to automatically exchange network topology information and calculate optimal paths. Static routing requires manual configuration. Dynamic routing adapts to network changes automatically without administrator intervention.
-
de-multiplexing
-
ANDing
-
supernetting
-
broadcasting
B
Correct answer
Explanation
ANDing the destination IP address with the subnet mask extracts the network address. Comparing this with the local network address determines if the destination is on the same subnet. If network addresses match, traffic is local; otherwise, it's routed to a gateway.
-
ipconfig
-
winipcfg
-
ifconfig
-
lconfig
C
Correct answer
Explanation
The Linux ______ command is used to assign an internet address to a network interface.
A. ipconfig
B. winipcfg
C. ifconfig
D. lconfig
Now, let's go through each option and explain why it is right or wrong:
A. ipconfig: This option is incorrect because ipconfig is a command used in Windows operating systems to display the IP configuration of network interfaces. It is not a command used in Linux.
B. winipcfg: This option is incorrect because winipcfg is a command used specifically in Windows 9x/ME operating systems to display the IP configuration of network interfaces. It is not a command used in Linux.
C. ifconfig: This option is correct. ifconfig is a command used in Linux and Unix-like operating systems to configure network interfaces, including assigning internet addresses (IP addresses) to them.
D. lconfig: This option is incorrect because lconfig is not a valid command in Linux. It does not exist as a command used for assigning internet addresses to network interfaces.
Therefore, the correct answer is C. ifconfig.