1.
FTP is built on which architecture?
Correct Answer
B. Client-server architecture
Explanation
FTP (File Transfer Protocol) is built on the client-server architecture. In this architecture, there is a central server that stores and manages files, and multiple clients that can connect to the server to access and transfer files. The server is responsible for handling requests from the clients and managing the file transfers. This architecture allows for efficient and secure file sharing between the server and clients, making it the most suitable option for FTP. P2P (Peer-to-Peer) and data-centric architectures are not specifically designed for FTP and do not provide the same level of functionality and control as the client-server architecture.
2.
How many parallel TCP connections does FTP use to transfer a file?
Correct Answer
B. Two
Explanation
FTP (File Transfer Protocol) uses two parallel TCP connections to transfer a file. One connection is used for control information, such as sending commands and receiving responses, while the other connection is used for actual data transfer. This separation allows for efficient and reliable file transfer, as the control connection can handle commands and responses independently of the data connection.
3.
What are the objectives of FTP?
Correct Answer
D. All of the above
Explanation
The objectives of FTP include encouraging the use of remote computers, providing the sharing of files, and being a more reliable and efficient data transfer protocol. This means that FTP aims to facilitate the access and transfer of files between different computers, making it easier for users to share and retrieve data. Additionally, FTP is designed to ensure that data transfer is done reliably and efficiently, minimizing errors and optimizing the transfer process. Therefore, all of the given statements correctly describe the objectives of FTP.
4.
What are the types of connections in FTP?
Correct Answer(s)
A. Control Connection
B. Data Connection
Explanation
FTP (File Transfer Protocol) uses two types of connections: the control connection and the data connection. The control connection is responsible for sending commands and receiving responses between the client and the server. It is used to establish and manage the FTP session. On the other hand, the data connection is used to transfer the actual files or data between the client and the server. It is established separately for each file transfer and is closed after the transfer is complete.
5.
On what port number is the control connection initiated?
Correct Answer
B. 21
Explanation
The control connection is initiated on port number 21. This port is specifically designated for FTP (File Transfer Protocol) control connections. FTP is a standard network protocol used for transferring files between a client and a server on a computer network. The control connection is responsible for managing the communication between the client and the server, including commands and responses related to file transfers.
6.
On what port number is the data connection initiated?
Correct Answer
A. 20
Explanation
The data connection is initiated on port number 20.
7.
Which types of data structures are allowed by FTP?
Correct Answer
D. All of the above
Explanation
FTP (File Transfer Protocol) allows for the transfer of various types of data structures. It supports file-structure, which allows for the transfer of entire files. It also supports record-structure, which allows for the transfer of individual records within a file. Additionally, FTP supports page structure, which allows for the transfer of data in fixed-size blocks or pages. Therefore, all of the mentioned data structures (file-structure, record-structure, and page structure) are allowed by FTP.
8.
Which one of the following is not a disadvantage of FTP?
Correct Answer
C. It has greater speed compared to other networking protocols.
Explanation
The given answer states that "It has greater speed compared to other networking protocols" is not a disadvantage of FTP. This means that FTP does not have the disadvantage of being slower than other networking protocols. This suggests that FTP is actually faster than other protocols, which can be seen as an advantage rather than a disadvantage. Therefore, the correct answer implies that the other options listed (compatibility with every system and the risk of unwanted eavesdropping) are disadvantages of FTP.
9.
Which command is used to send the password to the server?
Correct Answer
A. PASS
Explanation
The correct answer is PASS. This command is used to send the password to the server. The other options, PASSWD and PWORD, are not valid commands for sending passwords to the server. Therefore, the correct answer is PASS.
10.
What UDP port does TFTP (What UDP port does TFTP use?) use?
Correct Answer
A. 69
Explanation
TFTP (Trivial File Transfer Protocol) uses UDP port 69. UDP (User Datagram Protocol) is a connectionless protocol that does not guarantee reliable delivery of data, making it suitable for applications like TFTP that prioritize speed over reliability. By using port 69, TFTP clients and servers can communicate and transfer files over a network using UDP packets.