nerdexam
CompTIA

CV0-002 · Question #389

A network administrator is enabling SFTP. Which of the following ports should be open on the firewall?

The correct answer is B. 22. SFTP (SSH File Transfer Protocol) provides secure file transfer functionality and utilizes the same port as its underlying secure shell protocol.

Security

Question

A network administrator is enabling SFTP. Which of the following ports should be open on the firewall?

Options

  • A21
  • B22
  • C80
  • D443

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    93% (28)
  • D
    3% (1)

Why each option

SFTP (SSH File Transfer Protocol) provides secure file transfer functionality and utilizes the same port as its underlying secure shell protocol.

A21

Port 21 is the default control port for FTP (File Transfer Protocol), which is an insecure protocol and unrelated to SFTP.

B22Correct

Port 22 is the standard well-known port for SSH (Secure Shell), and SFTP leverages SSH for secure command and data transfer, making port 22 the correct choice to open on a firewall for SFTP.

C80

Port 80 is the standard port for HTTP (Hypertext Transfer Protocol), used for unencrypted web traffic.

D443

Port 443 is the standard port for HTTPS (Hypertext Transfer Protocol Secure), used for encrypted web traffic.

Concept tested: Standard network service ports (SFTP)

Source: https://www.ssh.com/academy/ssh/port

Topics

#SFTP#firewall ports#network security

Community Discussion

No community discussion yet for this question.

Full CV0-002 Practice