FTP & TFTP Flashcards

File Transfer Protocol & Trivial File Transfer Protocol

1
Q

FTP & TFTP are used for:

A

Transferring files over a network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

T/F: FTP & TFTP both use a client-server model

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The most common use of FTP/TFTP for network engineers is:

A

Upgrading the operating system of a network device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

T/F: FTP/TFTP can be used to upgrade the IOS image of a networking device

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe the functionality of TFTP

A

Only permits a client copying a file to or from a server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

T/F: FTP is lighter weight than TFTP

A

F

TFTP is much lighter than FTP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

T/F: TFTP required OAuth2

A

F

TFTP requires no authentication whatsoever

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

T/F: TFTP uses no authentication whatsoever

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

T/F: TFTP transfers are protected by MD5 hash encryption

A

F

TFTP transfers are in plain text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

T/F: TFTP transfers are unencrypted and sent in plain text

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the protocol and port used by TFTP

A

UDP 69

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

T/F: While TFTP uses UDP, TFTP has connection and reliability protocols built within it

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

T/F: Every TFTP data message is acknowledged

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

T/F: If a waiting device doesn’t receive a TFTP message within an expected time, the message will be resent

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

TFTP uses ______ communication to create reliability

A

Lock-step communication

Client and server alternately send a message then wait for a reply

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Describe Lock-Step communication

A

The client and the server alternate in sending messages, and wait for a reply. If no reply is received, retransmissions are made as necessary. This is less efficient than TCP’s reliability measures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the three TFTP file transfer phases?

A
  1. Connection
  2. Data Transfer
  3. Connection Termination
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What port does FTP use

A

TCP 20 and 21

18
Q

T/F: FTP uses encryption to protect data being transferred, but no authentication is required

A

F

FTP uses authentication but doesn’t encrypt data transfers

19
Q

T/F: FTP uses authentication but does not encrypt data transfers

20
Q

What is the FTP version that adds additional security

A

FTPS (FTP over SSL/TLS), or, SSH FTP (SFTP)

FTPS is an upgrade to FTP, but SFTP is a different protocol altogether

21
Q

T/F: SFTP is an upgrade to FTP

A

F

SFTP is a new protocol altogether and doesn’t have any relation to the original FTP protocol

22
Q

T/F: FTPS a new seperate protocol rather than an upgrade to FTP

A

F

FTPS is an upgraded version of FTP

23
Q

T/F: FTP allows for clients to navigate file directories, add and remove directories, etc.

24
What protocol and port does an FTP control connection use
TCP 21
25
What protocol and port does an FTP data connection use
TCP 20
26
In order to navigate/add/remove directories on the server, an FTP client sends ____ on port ____ to the server
FTP commands, port 21
27
What are the two different modes of FTP data connections
Active and passive
28
The default method of establishing FTP data connections is _____ mode
Active mode, where the server initiates the TCP connection
29
In FTP passive mode, the ___ initiates the TCP connection
Client
30
When a client is behind a firewall, it usually means FTP _____ mode must be used
Passive, since a firewall is more likely to block an incoming connection than an outgoing connection
31
What is the command to view the file systems of a Cisco device
sh file systems
32
What is the command to view the contents of the flash memory on a Cisco device
sh flash
33
What is the command to use TFTP to get an updated Cisco IOS image
copy tftp: flash:
34
What is the command to have a Cisco IOS device use a specific image of IOS
boot system flash:{image name} write reload
35
What is the command to delete an old image of IOS on a Cisco device
delete flash:{image name}
36
What is the series of commands to use FTP to get an updated Cisco IOS image
ip ftp username {username} ip ftp password {password} copy ftp: flash: boot system flash: {image name} wr reload
37
Which of the following statements about FTP are true? (pick 2) a) FTP control connections use TCP port 20 b) FTP control connections use TCP port 21 c) FTP control connections use TCP port 69 d) FTP data connections use TCP port 20 e) FTP data connections use TCP port 21 f) FTP data connections use TCP port 69
B and D
38
Which of the following commands can be used to transfer a file form an external TFTP server to the local device's flash storage? a) copy tftp: flash: b) copy flash: tftp: c) move tftp: flash: d) move flash: tftp:
A
39
R1 is behind a firewall and wants to connect to an external FTP server. Which of the following statements is true? a) R1 should use FTP passive mode for the control connection b) R1 should use FTP active mode for the control connection c) R1 should use FTP passive mode for the data connection d) R1 should use FTP active mode for the data connection
C Active and passive mode only apply to FTP data connections, since the client always initiates the control connection
40
Which type of file system is used to store the startup-config of a device running Cisco IOS a) Opaque b) Disk c) Network d) NVRAM
D
41
Which of the following functions are not possible when using TFTP (pick 2) a) Copy a file from a server b) Create a new directory on a server c) List the contents of a server d) Copy a file to a server
B and C
42
Which of the following Application layer protocols use UDP for unsynchronized, connectionless data transfer? (pick 2) FTP SMTP TFTP SNMP HTTP
TFTP and SNMP
43