FTP & TFTP Flashcards
File Transfer Protocol & Trivial File Transfer Protocol
FTP & TFTP are used for:
Transferring files over a network
T/F: FTP & TFTP both use a client-server model
T
The most common use of FTP/TFTP for network engineers is:
Upgrading the operating system of a network device
T/F: FTP/TFTP can be used to upgrade the IOS image of a networking device
T
Describe the functionality of TFTP
Only permits a client copying a file to or from a server
T/F: FTP is lighter weight than TFTP
F
TFTP is much lighter than FTP
T/F: TFTP required OAuth2
F
TFTP requires no authentication whatsoever
T/F: TFTP uses no authentication whatsoever
T
T/F: TFTP transfers are protected by MD5 hash encryption
F
TFTP transfers are in plain text
T/F: TFTP transfers are unencrypted and sent in plain text
T
What is the protocol and port used by TFTP
UDP 69
T/F: While TFTP uses UDP, TFTP has connection and reliability protocols built within it
T
T/F: Every TFTP data message is acknowledged
T
T/F: If a waiting device doesn’t receive a TFTP message within an expected time, the message will be resent
T
TFTP uses ______ communication to create reliability
Lock-step communication
Client and server alternately send a message then wait for a reply
Describe Lock-Step communication
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
What are the three TFTP file transfer phases?
- Connection
- Data Transfer
- Connection Termination
What port does FTP use
TCP 20 and 21
T/F: FTP uses encryption to protect data being transferred, but no authentication is required
F
FTP uses authentication but doesn’t encrypt data transfers
T/F: FTP uses authentication but does not encrypt data transfers
T
What is the FTP version that adds additional security
FTPS (FTP over SSL/TLS), or, SSH FTP (SFTP)
FTPS is an upgrade to FTP, but SFTP is a different protocol altogether
T/F: SFTP is an upgrade to FTP
F
SFTP is a new protocol altogether and doesn’t have any relation to the original FTP protocol
T/F: FTPS a new seperate protocol rather than an upgrade to FTP
F
FTPS is an upgraded version of FTP
T/F: FTP allows for clients to navigate file directories, add and remove directories, etc.
T
What protocol and port does an FTP control connection use
TCP 21
What protocol and port does an FTP data connection use
TCP 20
In order to navigate/add/remove directories on the server, an FTP client sends ____ on port ____ to the server
FTP commands, port 21
What are the two different modes of FTP data connections
Active and passive
The default method of establishing FTP data connections is _____ mode
Active mode, where the server initiates the TCP connection
In FTP passive mode, the ___ initiates the TCP connection
Client
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
What is the command to view the file systems of a Cisco device
sh file systems
What is the command to view the contents of the flash memory on a Cisco device
sh flash
What is the command to use TFTP to get an updated Cisco IOS image
copy tftp: flash:
What is the command to have a Cisco IOS device use a specific image of IOS
boot system flash:{image name}
write
reload
What is the command to delete an old image of IOS on a Cisco device
delete flash:{image name}
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
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
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
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
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
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
Which of the following Application layer protocols use UDP for unsynchronized, connectionless data transfer? (pick 2)
FTP
SMTP
TFTP
SNMP
HTTP
TFTP and SNMP