wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

File Transfer Protocol (FTP)

Total questions: 14

Worksheet time: 9mins

Name
Class
Date
1.

Which use cases would you solve with FTP?

a)

Sharing a 12GB medical data file 🚚

b)

Exchanging some words with your friend in Japan 🇯🇵

c)

Loading a website into your browser

d)

Doing a backup of your 3391 cat pics

2.

Which transport protocol uses FTP?

a)

UDP

b)

IP

c)

TCP

d)

WiFi

3.

Which architectural pattern follows FTP?

a)

Peer to peer

b)

Client - server

c)

Pub/sub

d)

Master - slave

4.

FTP has many similarities with SMTP because it was designed...

a)

after SMTP

b)

before SMTP

c)

at the same time as SMTP

d)

by the same guy

5.

In the same way as SMTP, an FTP server...

a)

Accepts commands in form of ASCII messages

b)

Responds with a status code and phrase

c)

Can act as a client an as a server

d)

Adds random headers to its requests

6.

Which kind of files can be sent over FTP?

a)

Plain ASCII text files

b)

UTF-8 text files

c)

Binary files

d)

Audio files

7.

How many TCP connections does an FTP server handle?

a)

Just one, for control

b)

Just one, for data transfer

c)

Two, one for control and one for data transfer

d)

Three: one for control, one for data transfer and one more as a backup

8.

Which kind of contents travel over the control connection?

a)

ASCII commands

b)

Status codes and phrases

c)

Command results (e.g. the listing of a directory)

d)

Streams of bytes

9.

Which kind of contents travel over the data connection?

a)

ASCII commands

b)

Status codes and phrases

c)

Command results (e.g. the listing of a directory)

d)

Streams of bytes

10.

When should we prefer the passive mode?

a)

While behind a NAT

b)

When we have limited bandwidth

c)

While behind a firewall

d)

If the server can not initiate the connection by itself

11.

Which modes of operation support FTP?

a)

Active

b)

Passive

c)

Hybrid

d)

Standalone

12.

If we want to execute a LIST command...

a)

We can issue the command directly over the control connection

b)

We have to wait for the server to be ready

c)

We have to open a data connection with PORT or PASV commands

d)

We must authenticate

13.

We have just issued the command PORT 3431, what happens next?

a)

The server opens a TCP socket to our port 3431

b)

The server expects us to open a TCP socket to our port 3431

c)

The server answers with a message "PORT 3432"

d)

The server answers with a message "PORT 3430"

14.

We have just issued the command PASV, server answered (192, 162, 1, 210, 4, 12), which connection shall be open?

a)

192.162.1.210:1132

b)

192.162.1.210:1036

c)

201.162.1.189:1036

d)

192.162.1.210:48