nerdexam
CompTIA

CS0-003 · Question #149

A company uses an FTP server to support its critical business functions. The FTP server is configured as follows: - The FTP service is running with the data directory configured in /opt/ftp/data. - Th

The correct answer is C. Run the FTP server n a chroot environment. Place local users in a chroot jail based on their home directory.

Submitted by zhang_li· Mar 6, 2026Vulnerability Management

Question

A company uses an FTP server to support its critical business functions. The FTP server is configured as follows:

  • The FTP service is running with the data directory configured in /opt/ftp/data.
  • The FTP server hosts employees' home directories in /home.
  • Employees may store sensitive information in their home directories.

An IoC revealed that an FTP directory traversal attack resulted in sensitive data loss. Which of the following should a server administrator implement to reduce the risk of current and future directory traversal attacks targeted at the FTP server?

Options

  • AImplement file-level encryption of sensitive files
  • BReconfigure the FTP server to support FTPS
  • CRun the FTP server n a chroot environment
  • DUpgrade the FTP server to the latest version

How the community answered

(45 responses)
  • A
    4% (2)
  • B
    9% (4)
  • C
    84% (38)
  • D
    2% (1)

Explanation

Place local users in a chroot jail based on their home directory.

Topics

#directory traversal#chroot#FTP security#secure configuration#vulnerability mitigation

Community Discussion

No community discussion yet for this question.

Full CS0-003 Practice