Which of the following ports and protocol types must be opened on a host with a host-based firewall to
allow incoming SFTP connections?
A.
21/UDP
B.
21/TCP
C.
22/UDP
D.
22/TCP
Explanation:
SSH uses TCP port 22. All protocols encrypted by SSH, including SFTP, SHTTP, SCP, SExec, and slogin, also
use TCP port 22.
Incorrect Answers:
A, C: FTP ,and SSH do not make use of UDP ports.
B: FTP uses TCP port 21.Stewart, James Michael, CompTIA Security+ Review Guide, Sybex, Indianapolis, 2014, p. 51