nerdexam
CompTIA

SY0-501 · Question #96

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…

The correct answer is A. Generate an X 509-complaint certificate that is signed by a trusted CA. D. Ensure port 636 is open between the clients and the servers using the communication. To secure LDAP traffic against monitoring/sniffing while maintaining compatibility, the analyst should implement LDAPS (LDAP over SSL/TLS) by using a trusted X.509 certificate and opening port 636 for encrypted LDAP communication.

Submitted by takeshi77· Mar 4, 2026Security architecture

Question

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? (Select TWO).

Options

  • AGenerate an X 509-complaint certificate that is signed by a trusted CA.
  • BInstall and configure an SSH tunnel on the LDAP server.
  • CEnsure port 389 is open between the clients and the servers using the communication.
  • DEnsure port 636 is open between the clients and the servers using the communication.
  • ERemove the LDAP directory service role from the server.

How the community answered

(39 responses)
  • A
    79% (31)
  • B
    8% (3)
  • C
    3% (1)
  • E
    10% (4)

Why each option

To secure LDAP traffic against monitoring/sniffing while maintaining compatibility, the analyst should implement LDAPS (LDAP over SSL/TLS) by using a trusted X.509 certificate and opening port 636 for encrypted LDAP communication.

AGenerate an X 509-complaint certificate that is signed by a trusted CA.Correct

An X.509-compliant certificate signed by a trusted CA is required to enable LDAPS (LDAP over SSL/TLS), which encrypts all LDAP traffic between clients and the directory server. The trusted CA ensures that LDAP clients can validate the server's identity and establish the encrypted TLS session without certificate trust errors.

BInstall and configure an SSH tunnel on the LDAP server.

An SSH tunnel is not the standard or recommended method for securing LDAP traffic and would introduce complexity and compatibility issues with standard LDAP clients.

CEnsure port 389 is open between the clients and the servers using the communication.

Port 389 is used for unencrypted (plaintext) LDAP traffic, which can be easily monitored and sniffed, directly contradicting the security requirement.

DEnsure port 636 is open between the clients and the servers using the communication.Correct

Port 636 is the standard port for LDAPS (LDAP over SSL/TLS), which encrypts the entire LDAP communication channel. Opening this port allows clients to connect using the secure LDAPS protocol, ensuring traffic cannot be monitored or sniffed on the network.

ERemove the LDAP directory service role from the server.

Removing the LDAP directory service role would eliminate the service entirely rather than securing it, failing to meet the requirement of maintaining compatibility with LDAP clients.

Concept tested: Securing LDAP with SSL/TLS (LDAPS) implementation

Source: https://learn.microsoft.com/en-us/troubleshoot/windows-server/active-directory/enable-ldap-over-ssl-3rd-certification-authority

Topics

#LDAPS#port 636#X.509 certificates#directory services hardening

Community Discussion

No community discussion yet for this question.

Full SY0-501 Practice