Disclaimer:
Educational Use Only:
The website links provided are to be used strictly for educational and knowledge-gaining purposes only.
No Misuse:
Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.
Respect for Websites and Businesses:
Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.
Acknowledge Value of Knowledge:
Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.
No Endorsement:
The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.
User Responsibility:
By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.
- Which layer of the OSI model does FTP operate at?
a. Network
b. Transport
c. Application
d. Data Link
Answer: c. Applicationgeeksforgeeks+1 - What is the default control port used by FTP?
a. 80
b. 21
c. 22
d. 443
Answer: b. 21cerberusftp+1 - Which FTP command is used to change the working directory on the remote host?
a. cd
b. ls
c. pwd
d. get
Answer: a. cdgeeksforgeeks+1 - FTP uses which transport protocol for file transfer?
a. UDP
b. TCP
c. SCTP
d. ICMP
Answer: b. TCPfortinet+1 - What is the default data port for FTP in active mode?
a. 21
b. 20
c. 23
d. 25
Answer: b. 20cbtnuggets+1 - Which FTP command retrieves a copy of a file from the server?
a. STOR
b. RETR
c. PUT
d. GET
Answer: b. RETRwikipedia+1 - What role does the FTP server play in the client-server architecture?
a. Initiates commands
b. Requests connections
c. Provides access to directories
d. Controls internet speed
Answer: c. Provides access to directorieskinsta+1 - Which command prints the current working directory in FTP?
a. cd
b. pwd
c. ls
d. dir
Answer: b. pwdgeeksforgeeks+1 - What is the function of the FTP “quit” command?
a. List files
b. Change directory
c. Disconnect from server
d. Upload file
Answer: c. Disconnect from serverwikipedia+1 - Which mode allows FTP to transfer files by compressing data?
a. Stream
b. Block
c. Compressed
d. Default
Answer: c. Compressedgeeksforgeeks - Which command allows uploading a file to the FTP server?
a. SEND
b. PUT
c. STOR
d. ADD
Answer: c. STORjscape+1 - What kind of login is used for public FTP servers?
a. SSO
b. Anonymous
c. Kerberos
d. SSH
Answer: b. Anonymousknownhost+1 - Passive mode FTP requires which port to be open in a firewall?
a. 20
b. 21
c. 443
d. 53
Answer: b. 21jscape+1 - Which is NOT an FTP transmission mode?
a. Stream
b. Comic
c. Block
d. Compressed
Answer: b. Comicgeeksforgeeks - What does the “LIST” command do in FTP?
a. Prints working directory
b. Lists files
c. Quits FTP
d. Changes directory
Answer: b. Lists fileswikipedia - The FTP command used to delete a file is:
a. REMOVE
b. DELETE
c. DELE
d. RM
Answer: c. DELEsolarwinds+1 - Which command sets the transfer mode to binary in FTP?
a. TYPE I
b. TYPE A
c. TYPE B
d. TYPE IMG
Answer: a. TYPE Iwikipedia - What type of files can FTP transfer?
a. Only text files
b. Only images
c. ASCII, EBCDIC, binary files
d. Only executable files
Answer: c. ASCII, EBCDIC, binary fileswikipedia+1 - Which mode of FTP is recommended when the client is behind a NAT firewall?
a. Active
b. Passive
c. Stream
d. Compressed
Answer: b. Passivejscape - Which FTP command renames a file?
a. RNFR & RNTO
b. MV
c. RENAME
d. CHNAME
Answer: a. RNFR & RNTOsolarwinds+1 - The control connection in FTP remains open for:
a. Each file transfer
b. The entire session
c. Only during authentication
d. Only for upload operations
Answer: b. The entire sessionknownhost+1 - FTP transmits data:
a. Always encrypted
b. Only compressed
c. Unencrypted by default
d. Encrypted by default
Answer: c. Unencrypted by defaultcbtnuggets+1 - Which command in FTP is used to make a new directory?
a. MKD
b. DIR
c. MD
d. NEW
Answer: a. MKDsolarwinds+1 - Which port is used for FTPS explicit TLS/SSL control connections?
a. 21
b. 22
c. 989
d. 990
Answer: d. 990cerberusftp - Which protocol is a secure alternative to FTP?
a. HTTP
b. SFTP
c. IMAP
d. POP3
Answer: b. SFTPkinsta+1 - What command is used for aborting an active FTP file transfer?
a. END
b. STOP
c. ABOR
d. BREAK
Answer: c. ABORwikipedia - What must be supplied by the client when authentication is required by the FTP server?
a. Server IP
b. Username and password
c. MAC address
d. File size
Answer: b. Username and passwordfortinet+1 - Which FTP mode allows faster transfer through firewalls?
a. Active
b. Passive
c. Block
d. Stream
Answer: b. Passivejscape - Which FTP command appends data to a file at the server?
a. STOR
b. RETR
c. APPE
d. ADD
Answer: c. APPEwikipedia - What is FTP’s default file share format for character encoding?
a. UTF-8
b. ASCII
c. EBCDIC
d. Unicode
Answer: b. ASCIIwikipedia+1 - FTPS works over which additional ports besides 21?
a. 22, 80
b. 989, 990
c. 443, 1000
d. 25, 53
Answer: b. 989, 990cbtnuggets+1 - Which FTP command retrieves information about server status?
a. INFO
b. STAT
c. SERVER
d. STATUS
Answer: b. STATwikipedia - Which command changes to the parent directory in FTP?
a. UPDIR
b. CDUP
c. PARENT
d. CHDIR
Answer: b. CDUPwikipedia - The FTP “help” command is used for:
a. Listing directories
b. Getting documentation on commands
c. Downloading files
d. Changing file type
Answer: b. Getting documentation on commandsgeeksforgeeks+1 - Which command sets file transfer structure in FTP?
a. TYPE
b. STRU
c. MODE
d. STRUCT
Answer: b. STRUgeeksforgeeks+1 - On which network protocol type does FTP primarily rely?
a. IPX/SPX
b. TCP/IP
c. AppleTalk
d. UDP/IP
Answer: b. TCP/IPhostinger+1 - To mount a file structure in FTP, use which command?
a. MOUNT
b. SMNT
c. STRU
d. DIR
Answer: b. SMNTwikipedia - What does the “NOOP” FTP command accomplish?
a. Does nothing
b. Opens a connection
c. Lists files
d. Quits FTP
Answer: a. Does nothingwikipedia - Which FTP command sets the transfer mode to ASCII?
a. TYPE A
b. TYPE I
c. MODE S
d. TYPE ASCII
Answer: a. TYPE Ageeksforgeeks+1 - Which command is used to remove a directory in FTP?
a. RMD
b. DELE
c. RM
d. REMDIR
Answer: a. RMDsolarwinds+1 - FTP directories are browsed by sending commands over which connection?
a. Data connection
b. Control connection
c. UDP connection
d. Pipe connection
Answer: b. Control connectionknownhost+1 - Which security extension command may be used in FTP for confidentiality?
a. AUTH
b. CONF
c. ENCR
d. SFTP
Answer: b. CONFwikipedia - In FTP, which file transfer structure is used for transferring a file as a continuous stream?
a. File structure
b. Record structure
c. Byte structure
d. Stream structure
Answer: d. Stream structuregeeksforgeeks+1 - Which of the following is NOT a standard FTP command?
a. PORT
b. QUIT
c. RENAME
d. RETR
Answer: c. RENAMEwikipedia - The FTP “SYST” command returns:
a. System time
b. System type
c. Directory size
d. File type
Answer: b. System typewikipedia - In FTP active mode, the client opens which port for data connection?
a. 20
b. 21
c. Any dynamic port above 1024
d. 443
Answer: c. Any dynamic port above 1024jscape - The “SITE” command in FTP is used for:
a. Sending site-specific commands
b. Deleting files
c. Uploading files
d. Quitting FTP
Answer: a. Sending site-specific commandswikipedia - To restart transfer from a specified point in FTP, use:
a. REST
b. RESUME
c. RETR
d. PUT
Answer: a. RESTwikipedia - What is the purpose of the FTP command “ALLO”?
a. Allocate disk space
b. Authenticate user
c. List files
d. Change directory
Answer: a. Allocate disk spacewikipedia - Which FTP extension command supports IPv6 and NATs?
a. PORT
b. EPRT
c. MODE
d. PASV
Answer: b. EPRTwikipedia
- https://www.geeksforgeeks.org/computer-networks/file-transfer-protocol-ftp-in-application-layer/
- https://kinsta.com/knowledgebase/what-is-ftp/
- https://www.cerberusftp.com/blog/ftp-and-ftps-ports/
- https://www.ionos.com/digitalguide/server/know-how/ftp-ports/
- https://www.geeksforgeeks.org/computer-science-fundamentals/file-transfer-protocol-ftp/
- https://en.wikipedia.org/wiki/List_of_FTP_commands
- https://www.fortinet.com/resources/cyberglossary/file-transfer-protocol-ftp-meaning
- https://www.cbtnuggets.com/common-ports/what-are-ports-20-21
- https://www.jscape.com/blog/ftp-command-line
- https://www.knownhost.com/blog/what-is-ftp-complete-guide-to-file-transfer-protocol/
- https://www.jscape.com/blog/active-v-s-passive-ftp-simplified
- https://www.solarwinds.com/serv-u/tutorials/ftp-commands-for-windows
- https://en.wikipedia.org/wiki/File_Transfer_Protocol
- https://www.hostinger.com/in/tutorials/what-is-ftp
- https://www.cs.colostate.edu/helpdocs/ftp.html
- https://www.youtube.com/watch?v=JK4c4gW3Glk
- https://www.exavault.com/blog/ftp-port
- https://www.goanywhere.com/blog/ftp-101-what-are-basics
- https://www.ibm.com/docs/ssw_aix_72/f_commands/ftp.html
- https://www.cloudns.net/blog/ftp-a-beginners-guide-to-file-transfer-protocol/