0
0
Computer Networksknowledge~20 mins

FTP and SFTP for file transfer in Computer Networks - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
FTP and SFTP Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Difference in Security Between FTP and SFTP

Which statement best describes the main security difference between FTP and SFTP?

ASFTP encrypts both commands and data, while FTP sends data and passwords in plain text.
BFTP uses SSH for encryption, while SFTP uses SSL/TLS for encryption.
CFTP encrypts all data including passwords, while SFTP sends data in plain text.
DBoth FTP and SFTP send data without any encryption by default.
Attempts:
2 left
💡 Hint

Think about which protocol uses SSH to secure the connection.

📋 Factual
intermediate
1:30remaining
Default Ports for FTP and SFTP

What are the default network ports used by FTP and SFTP respectively?

AFTP uses port 23, SFTP uses port 20.
BFTP uses port 21, SFTP uses port 22.
CFTP uses port 20, SFTP uses port 23.
DFTP uses port 22, SFTP uses port 21.
Attempts:
2 left
💡 Hint

Remember that SFTP runs over SSH which uses a specific port.

🚀 Application
advanced
2:30remaining
Choosing Between FTP and SFTP for Secure File Transfer

You need to transfer sensitive company files over the internet. Which protocol should you choose and why?

AChoose SFTP because it encrypts data and passwords, protecting sensitive information during transfer.
BChoose FTP because it is faster and does not encrypt data, so it uses less CPU.
CChoose FTP because it uses two ports which makes it more reliable for large files.
DChoose SFTP because it sends data in plain text, making it easier to debug transfer issues.
Attempts:
2 left
💡 Hint

Consider the importance of data privacy and protection during transfer.

🔍 Analysis
advanced
2:30remaining
Impact of Firewalls on FTP and SFTP Connections

Why can FTP connections be more difficult to manage through firewalls compared to SFTP?

AFTP uses a single port making it easy to block, while SFTP uses multiple ports.
BBoth FTP and SFTP use the same ports, so firewalls treat them equally.
CSFTP requires opening many ports, while FTP only needs one port open.
DFTP uses multiple ports for control and data, requiring complex firewall rules; SFTP uses a single port.
Attempts:
2 left
💡 Hint

Think about how FTP opens separate connections for commands and data.

Reasoning
expert
3:00remaining
Evaluating Protocol Choice for Automated Backup Systems

An organization wants to automate backups to a remote server. The server supports both FTP and SFTP. Considering security, firewall complexity, and automation ease, which protocol is best and why?

AFTP is best because it uses multiple ports which allow parallel transfers improving speed for backups.
BSFTP is best because it sends data in plain text, making it easier to troubleshoot automated scripts.
CSFTP is best because it provides secure encrypted transfers and uses a single port, easing firewall setup and automation.
DFTP is best because it is widely supported and easier to automate without encryption overhead.
Attempts:
2 left
💡 Hint

Balance security needs with network and automation considerations.