nerdexam
CompTIA

SK0-005 · Question #167

An administrator is configuring a host-based firewall for a server. The server needs to allow SSH, FTP, and LDAP traffic. Which of the following ports must be configured so this traffic will be…

The correct answer is A. 21 B. 22 H. 389. Each protocol uses a well-known TCP port: FTP uses port 21 for the control channel (command/response), SSH uses port 22 for encrypted remote shell access, and LDAP uses port 389 for directory service queries. The distractors represent other common ports: 53 (DNS), 67 (DHCP…

Security and disaster recovery

Question

An administrator is configuring a host-based firewall for a server. The server needs to allow SSH, FTP, and LDAP traffic. Which of the following ports must be configured so this traffic will be allowed? (Choose three.)

Options

  • A21
  • B22
  • C53
  • D67
  • E69
  • F110
  • G123
  • H389

How the community answered

(55 responses)
  • A
    89% (49)
  • D
    4% (2)
  • F
    2% (1)
  • G
    5% (3)

Explanation

Each protocol uses a well-known TCP port: FTP uses port 21 for the control channel (command/response), SSH uses port 22 for encrypted remote shell access, and LDAP uses port 389 for directory service queries. The distractors represent other common ports: 53 (DNS), 67 (DHCP server), 69 (TFTP), 110 (POP3), and 123 (NTP). Memorizing standard port assignments is essential for firewall rule configuration and is a core topic in server and network certification exams.

Topics

#Firewall configuration#Port numbers#Network services#Server security

Community Discussion

No community discussion yet for this question.

Full SK0-005 Practice