20 FTP Quiz Questions and Answers

FTP, or File Transfer Protocol, is a standard network protocol used for transferring files between a client and a server over the internet or a local network. It enables users to upload, download, delete, and manage files on remote systems, operating on a client-server model that typically uses TCP/IP for reliable data transmission. Originally developed in the 1970s, FTP supports both active and passive modes to handle firewall restrictions, though it transmits data in plain text, making it vulnerable to interception. For secure alternatives, variants like FTPS (FTP over SSL/TLS) or SFTP (SSH File Transfer Protocol) are often recommended.

Table of contents

Part 1: OnlineExamMaker AI quiz generator – The easiest way to make quizzes online

Are you looking for an online assessment to test the FTP knowledge of your learners? OnlineExamMaker uses artificial intelligence to help quiz organizers to create, manage, and analyze exams or tests automatically. Apart from AI features, OnlineExamMaker advanced security features such as full-screen lockdown browser, online webcam proctoring, and face ID recognition.

Take a product tour of OnlineExamMaker:
● Includes a safe exam browser (lockdown mode), webcam and screen recording, live monitoring, and chat oversight to prevent cheating.
● AI Exam Grader for efficiently grading quizzes and assignments, offering inline comments, automatic scoring, and “fudge points” for manual adjustments.
● Embed quizzes on websites, blogs, or share via email, social media (Facebook, Twitter), or direct links.
● Handles large-scale testing (thousands of exams/semester) without internet dependency, backed by cloud infrastructure.

Automatically generate questions using AI

Generate questions for any topic
100% free forever

Part 2: 20 FTP quiz questions & answers

  or  

1. What does FTP stand for?
A. File Transfer Protocol
B. Fast Transmission Process
C. File Tracking Program
D. Full Transfer Procedure
Answer: A
Explanation: FTP stands for File Transfer Protocol, which is a standard network protocol used for transferring files between a client and a server on a computer network.

2. Which port is commonly used for FTP control connections?
A. Port 21
B. Port 22
C. Port 80
D. Port 443
Answer: A
Explanation: FTP typically uses port 21 for control connections, where commands are exchanged between the client and server.

3. What is the primary purpose of FTP?
A. To transfer files over a network
B. To encrypt data transmissions
C. To manage user authentication
D. To host web pages
Answer: A
Explanation: The main function of FTP is to facilitate the transfer of files from one host to another over TCP/IP networks.

4. In FTP, what does the PASV command do?
A. Switches to passive mode
B. Lists files in the directory
C. Retrieves a file
D. Stores a file
Answer: A
Explanation: The PASV command initiates passive mode in FTP, which helps with firewall issues by having the server open a data port for the client.

5. Which of the following is a disadvantage of FTP?
A. It transmits data in plain text
B. It requires a constant connection
C. It lacks built-in encryption
D. All of the above
Answer: D
Explanation: FTP has several drawbacks, including transmitting data in plain text, requiring a constant connection for some operations, and lacking native encryption, making it vulnerable to security risks.

6. What type of FTP uses encryption for secure transfers?
A. FTPS
B. SFTP
C. Both A and B
D. Neither A nor B
Answer: C
Explanation: FTPS (FTP over SSL/TLS) and SFTP (SSH File Transfer Protocol) both provide encrypted channels for secure file transfers, unlike standard FTP.

7. How many connections does FTP typically use?
A. Two (control and data)
B. One
C. Three
D. Four
Answer: A
Explanation: FTP uses a control connection for commands and a separate data connection for file transfers, making two connections in total.

8. What command is used in FTP to change the working directory on the server?
A. CWD
B. CD
C. LIST
D. RETR
Answer: A
Explanation: The CWD (Change Working Directory) command is used in FTP to navigate to a different directory on the remote server.

9. Which protocol is FTP often compared to for secure alternatives?
A. SFTP
B. HTTP
C. SMTP
D. DNS
Answer: A
Explanation: SFTP is a secure alternative to FTP, as it uses SSH for encryption, addressing FTP’s security vulnerabilities.

10. In active mode FTP, who initiates the data connection?
A. The server
B. The client
C. Both simultaneously
D. Neither
Answer: A
Explanation: In active mode, the server initiates the data connection back to the client’s specified port.

11. What is anonymous FTP?
A. FTP access without a username and password
B. Encrypted FTP connections
C. FTP for anonymous users only
D. A type of FTP server software
Answer: A
Explanation: Anonymous FTP allows users to log in with a public account (often “anonymous”) and a generic password, enabling public file sharing.

12. Which FTP command is used to download a file?
A. RETR
B. STOR
C. DELE
D. RNFR
Answer: A
Explanation: The RETR (Retrieve) command is used by the client to request a file download from the server.

13. What does the FTP response code 226 indicate?
A. Closing data connection
B. File action completed
C. Command not implemented
D. Service not available
Answer: A
Explanation: The response code 226 means the server is closing the data connection, often after a successful file transfer.

14. FTP operates at which layer of the OSI model?
A. Application layer
B. Transport layer
C. Network layer
D. Data link layer
Answer: A
Explanation: FTP is an application-layer protocol, as it deals with end-user services for file transfers.

15. What is the difference between FTP and TFTP?
A. TFTP is simpler and lacks authentication
B. FTP is faster than TFTP
C. TFTP uses TCP, while FTP uses UDP
D. There is no difference
Answer: A
Explanation: TFTP (Trivial File Transfer Protocol) is a stripped-down version of FTP that does not support authentication or directories, making it simpler for basic transfers.

16. How can FTP be secured?
A. By using FTPS or a VPN
B. By disabling ports
C. By limiting file sizes
D. By using HTTP instead
Answer: A
Explanation: FTP can be secured by implementing FTPS, which adds SSL/TLS encryption, or by tunneling through a VPN.

17. What is the maximum number of concurrent connections in standard FTP?
A. It depends on server configuration
B. Exactly one
C. Unlimited
D. Exactly two
Answer: A
Explanation: The number of concurrent FTP connections is determined by the server’s settings and resources, not a fixed limit in the protocol.

18. Which FTP mode is recommended for clients behind firewalls?
A. Passive mode
B. Active mode
C. Both
D. Neither
Answer: A
Explanation: Passive mode is preferred for clients behind firewalls because it allows the client to initiate both control and data connections, reducing firewall issues.

19. What command is used in FTP to upload a file?
A. STOR
B. RETR
C. LIST
D. DELE
Answer: A
Explanation: The STOR (Store) command is used to upload a file from the client to the server.

20. Why might FTP be replaced in modern applications?
A. Due to security concerns and better alternatives like SFTP
B. Because it is too slow
C. It requires special hardware
D. It is not compatible with mobile devices
Answer: A
Explanation: FTP is often replaced because of its lack of encryption and vulnerability to attacks, with protocols like SFTP offering more secure options.

  or  

Part 3: Save time and energy: generate quiz questions with AI technology

Automatically generate questions using AI

Generate questions for any topic
100% free forever