Blog

MCQs

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.


  1. Which layer of the OSI model does FTP operate at?
    a. Network
    b. Transport
    c. Application
    d. Data Link
    Answer: c. Applicationgeeksforgeeks+1
  2. What is the default control port used by FTP?
    a. 80
    b. 21
    c. 22
    d. 443
    Answer: b. 21cerberusftp+1
  3. 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
  4. FTP uses which transport protocol for file transfer?
    a. UDP
    b. TCP
    c. SCTP
    d. ICMP
    Answer: b. TCPfortinet+1
  5. What is the default data port for FTP in active mode?
    a. 21
    b. 20
    c. 23
    d. 25
    Answer: b. 20cbtnuggets+1
  6. Which FTP command retrieves a copy of a file from the server?
    a. STOR
    b. RETR
    c. PUT
    d. GET
    Answer: b. RETRwikipedia+1
  7. 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
  8. Which command prints the current working directory in FTP?
    a. cd
    b. pwd
    c. ls
    d. dir
    Answer: b. pwdgeeksforgeeks+1
  9. 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
  10. Which mode allows FTP to transfer files by compressing data?
    a. Stream
    b. Block
    c. Compressed
    d. Default
    Answer: c. Compressedgeeksforgeeks
  11. Which command allows uploading a file to the FTP server?
    a. SEND
    b. PUT
    c. STOR
    d. ADD
    Answer: c. STORjscape+1
  12. What kind of login is used for public FTP servers?
    a. SSO
    b. Anonymous
    c. Kerberos
    d. SSH
    Answer: b. Anonymousknownhost+1
  13. Passive mode FTP requires which port to be open in a firewall?
    a. 20
    b. 21
    c. 443
    d. 53
    Answer: b. 21jscape+1
  14. Which is NOT an FTP transmission mode?
    a. Stream
    b. Comic
    c. Block
    d. Compressed
    Answer: b. Comicgeeksforgeeks
  15. 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
  16. The FTP command used to delete a file is:
    a. REMOVE
    b. DELETE
    c. DELE
    d. RM
    Answer: c. DELEsolarwinds+1
  17. 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
  18. 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
  19. 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
  20. Which FTP command renames a file?
    a. RNFR & RNTO
    b. MV
    c. RENAME
    d. CHNAME
    Answer: a. RNFR & RNTOsolarwinds+1
  21. 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
  22. FTP transmits data:
    a. Always encrypted
    b. Only compressed
    c. Unencrypted by default
    d. Encrypted by default
    Answer: c. Unencrypted by defaultcbtnuggets+1
  23. Which command in FTP is used to make a new directory?
    a. MKD
    b. DIR
    c. MD
    d. NEW
    Answer: a. MKDsolarwinds+1
  24. Which port is used for FTPS explicit TLS/SSL control connections?
    a. 21
    b. 22
    c. 989
    d. 990
    Answer: d. 990cerberusftp
  25. Which protocol is a secure alternative to FTP?
    a. HTTP
    b. SFTP
    c. IMAP
    d. POP3
    Answer: b. SFTPkinsta+1
  26. What command is used for aborting an active FTP file transfer?
    a. END
    b. STOP
    c. ABOR
    d. BREAK
    Answer: c. ABORwikipedia
  27. 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
  28. Which FTP mode allows faster transfer through firewalls?
    a. Active
    b. Passive
    c. Block
    d. Stream
    Answer: b. Passivejscape
  29. Which FTP command appends data to a file at the server?
    a. STOR
    b. RETR
    c. APPE
    d. ADD
    Answer: c. APPEwikipedia
  30. What is FTP’s default file share format for character encoding?
    a. UTF-8
    b. ASCII
    c. EBCDIC
    d. Unicode
    Answer: b. ASCIIwikipedia+1
  31. 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
  32. Which FTP command retrieves information about server status?
    a. INFO
    b. STAT
    c. SERVER
    d. STATUS
    Answer: b. STATwikipedia
  33. Which command changes to the parent directory in FTP?
    a. UPDIR
    b. CDUP
    c. PARENT
    d. CHDIR
    Answer: b. CDUPwikipedia
  34. 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
  35. Which command sets file transfer structure in FTP?
    a. TYPE
    b. STRU
    c. MODE
    d. STRUCT
    Answer: b. STRUgeeksforgeeks+1
  36. 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
  37. To mount a file structure in FTP, use which command?
    a. MOUNT
    b. SMNT
    c. STRU
    d. DIR
    Answer: b. SMNTwikipedia
  38. What does the “NOOP” FTP command accomplish?
    a. Does nothing
    b. Opens a connection
    c. Lists files
    d. Quits FTP
    Answer: a. Does nothingwikipedia
  39. 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
  40. Which command is used to remove a directory in FTP?
    a. RMD
    b. DELE
    c. RM
    d. REMDIR
    Answer: a. RMDsolarwinds+1
  41. 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
  42. Which security extension command may be used in FTP for confidentiality?
    a. AUTH
    b. CONF
    c. ENCR
    d. SFTP
    Answer: b. CONFwikipedia
  43. 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
  44. Which of the following is NOT a standard FTP command?
    a. PORT
    b. QUIT
    c. RENAME
    d. RETR
    Answer: c. RENAMEwikipedia
  45. The FTP “SYST” command returns:
    a. System time
    b. System type
    c. Directory size
    d. File type
    Answer: b. System typewikipedia
  46. 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
  47. 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
  48. To restart transfer from a specified point in FTP, use:
    a. REST
    b. RESUME
    c. RETR
    d. PUT
    Answer: a. RESTwikipedia
  49. 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
  50. Which FTP extension command supports IPv6 and NATs?
    a. PORT
    b. EPRT
    c. MODE
    d. PASV
    Answer: b. EPRTwikipedia

 

  1. https://www.geeksforgeeks.org/computer-networks/file-transfer-protocol-ftp-in-application-layer/
  2. https://kinsta.com/knowledgebase/what-is-ftp/
  3. https://www.cerberusftp.com/blog/ftp-and-ftps-ports/
  4. https://www.ionos.com/digitalguide/server/know-how/ftp-ports/
  5. https://www.geeksforgeeks.org/computer-science-fundamentals/file-transfer-protocol-ftp/
  6. https://en.wikipedia.org/wiki/List_of_FTP_commands
  7. https://www.fortinet.com/resources/cyberglossary/file-transfer-protocol-ftp-meaning
  8. https://www.cbtnuggets.com/common-ports/what-are-ports-20-21
  9. https://www.jscape.com/blog/ftp-command-line
  10. https://www.knownhost.com/blog/what-is-ftp-complete-guide-to-file-transfer-protocol/
  11. https://www.jscape.com/blog/active-v-s-passive-ftp-simplified
  12. https://www.solarwinds.com/serv-u/tutorials/ftp-commands-for-windows
  13. https://en.wikipedia.org/wiki/File_Transfer_Protocol
  14. https://www.hostinger.com/in/tutorials/what-is-ftp
  15. https://www.cs.colostate.edu/helpdocs/ftp.html
  16. https://www.youtube.com/watch?v=JK4c4gW3Glk
  17. https://www.exavault.com/blog/ftp-port
  18. https://www.goanywhere.com/blog/ftp-101-what-are-basics
  19. https://www.ibm.com/docs/ssw_aix_72/f_commands/ftp.html
  20. https://www.cloudns.net/blog/ftp-a-beginners-guide-to-file-transfer-protocol/

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!