46. Which of the following ports creates a secure connection to a directory service?
Answer: D
Port 636 creates a secure connection to a directory service.
Port 636 is used for secure LDAP (Lightweight Directory Access Protocol) connections, ensuring that data transmitted between the client and the directory service is encrypted.
A) 22
Port 22 is primarily used for SSH (Secure Shell), which provides secure access to remote servers. While it is secure, it does not pertain to directory services specifically, making it an incorrect choice for this question.
B) 389
Port 389 is used for standard LDAP connections, which are not secure. Data transmitted over this port is sent in plaintext, making it vulnerable to interception. Therefore, it does not create a secure connection.
C) 445
Port 445 is used for Microsoft-DS (Directory Services) and SMB (Server Message Block) protocols. It facilitates file sharing and various network services, but it does not relate to secure directory service connections, making it an incorrect option.
D) 636
Port 636 is dedicated to LDAP over SSL (Secure Sockets Layer), which encrypts the data exchanged with directory services. This makes it the correct choice for establishing a secure connection to a directory service.
Conclusion
Port 636 is the only option that specifically provides a secure connection to a directory service through encrypted communication. Options A, B, and C do not fulfill this requirement, as they either serve different purposes or do not ensure data security. Thus, D is definitively the correct answer.