nerdexam
CompTIACompTIA

XK0-005 · Question #134

XK0-005 Question #134: Real Exam Question with Answer & Explanation

The correct answer is A: Allow SFTP connections on port 22 using /etc/sysconfig/iptables.. Users cannot connect to the SFTP server, indicating a firewall is blocking the correct port for SFTP traffic.

Troubleshooting

Question

All users are reporting that they cannot connect to the SFTP server. The administrator runs a scan: Which of the following would allow the administrator to fix the problem?

Options

  • AAllow SFTP connections on port 22 using /etc/sysconfig/iptables.
  • BAllow SFTP connections on port 20 and 21 using /etc/sysconfig/iptables.
  • CAllow SFTP connections on port 25 using /etc/sysconfig/iptables.
  • DAllow SFTP connections on port 1456 using /etc/sysconfig/iptables.

Explanation

Users cannot connect to the SFTP server, indicating a firewall is blocking the correct port for SFTP traffic.

Common mistakes.

  • B. Ports 20 and 21 are used for traditional FTP, not SFTP, and opening these ports would not resolve SFTP connectivity issues.
  • C. Port 25 is used for SMTP (Simple Mail Transfer Protocol), which handles email sending, and is unrelated to SFTP.
  • D. Port 1456 is not a standard port for SFTP or any other common, related network service, and opening it would not resolve SFTP connectivity.

Concept tested. SFTP default port and firewall configuration

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

Topics

#SFTP#Firewall#iptables#Port Numbers

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions