Questions: FTP: File Transfer Protocol and SFTP

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A client behind a firewall that blocks all unsolicited incoming TCP connections tries to download a file using FTP in active mode. The transfer fails. What is the direct cause?

AActive mode uses UDP for data transfers, which firewalls always block
BIn active mode, the server initiates the data connection to the client's IP address and port — and the firewall blocks this incoming connection
CActive mode requires the client to open port 21, but the firewall only allows outbound connections on port 80
DThe FTP control connection was not established because port 21 is also blocked for incoming connections
Question 2 Multiple Choice

Why has SFTP largely replaced FTP in modern deployments rather than FTPS, despite FTPS also providing encryption?

ASFTP uses faster encryption algorithms than FTPS, making file transfers significantly quicker
BFTPS is not supported on Linux or Unix systems, limiting its deployment
CSFTP runs over a single SSH connection (simpler for firewalls, strong authentication built in), while FTPS preserves FTP's dual-connection architecture with added TLS overhead
DSFTP allows resuming interrupted transfers, while FTPS does not support this feature
Question 3 True / False

In FTP passive mode, the client initiates both the control connection to port 21 and the data connection to a server-provided high-numbered port.

TTrue
FFalse
Question 4 True / False

SFTP (SSH File Transfer Protocol) is an encrypted version of FTP that adds SSL/TLS security to the existing FTP control and data channels.

TTrue
FFalse
Question 5 Short Answer

Explain why FTP's active mode causes problems with firewalls and NAT, and why passive mode solves this problem.

Think about your answer, then reveal below.