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

A

T

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.

A

T

24
Q

What protocol and port does an FTP control connection use

A

TCP 21

25
Q

What protocol and port does an FTP data connection use

A

TCP 20

26
Q

In order to navigate/add/remove directories on the server, an FTP client sends ____ on port ____ to the server

A

FTP commands, port 21

27
Q

What are the two different modes of FTP data connections

A

Active and passive

28
Q

The default method of establishing FTP data connections is _____ mode

A

Active mode, where the server initiates the TCP connection

29
Q

In FTP passive mode, the ___ initiates the TCP connection

A

Client

30
Q

When a client is behind a firewall, it usually means FTP _____ mode must be used

A

Passive, since a firewall is more likely to block an incoming connection than an outgoing connection

31
Q

What is the command to view the file systems of a Cisco device

A

sh file systems

32
Q

What is the command to view the contents of the flash memory on a Cisco device

A

sh flash

33
Q

What is the command to use TFTP to get an updated Cisco IOS image

A

copy tftp: flash:

34
Q

What is the command to have a Cisco IOS device use a specific image of IOS

A

boot system flash:{image name}
write
reload

35
Q

What is the command to delete an old image of IOS on a Cisco device

A

delete flash:{image name}

36
Q

What is the series of commands to use FTP to get an updated Cisco IOS image

A

ip ftp username {username}
ip ftp password {password}

copy ftp: flash:
boot system flash: {image name}
wr
reload

37
Q

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

A

B and D

38
Q

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

A

39
Q

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

A

C

Active and passive mode only apply to FTP data connections, since the client always initiates the control connection

40
Q

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

A

D

41
Q

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

A

B and C

42
Q

Which of the following Application layer protocols use UDP for unsynchronized, connectionless data transfer? (pick 2)

FTP
SMTP
TFTP
SNMP
HTTP

A

TFTP and SNMP

43
Q
A