CompTIA Security+ (SY0-501) — Question 838

A security analyst is hardening a server with the directory services role installed. The analyst must ensure LDAP traffic cannot be monitored or sniffed and maintains compatibility with LDAP clients. Which of the following should the analyst implement to meet these requirements? (Choose two.)

Answer options

Correct answer: A, D

Explanation

Generating an X.509-compliant certificate signed by a trusted CA (option A) is necessary to establish secure communication using LDAPS, while ensuring that port 636 is open (option D) allows this secure LDAP communication to occur. Options B and C are incorrect as SSH tunneling is not a standard practice for LDAP security, and port 389 is used for unencrypted LDAP traffic, which does not meet the requirement to prevent monitoring.