A Windows Server is behind a firewall and an LDAP-based application needs remote access to Active Directory. Which protocol/port should be allowed?

TCP Port 389

TCP Port 636

Secure LDAP (LDAPS) access to Active Directory over TLS is the concept being tested. When an LDAP-based application needs to reach AD across a firewall, encrypting the LDAP traffic is essential to protect credentials and data in transit, so using LDAPS on TCP port 636 is the best choice. Port 636 is specifically meant for LDAP over SSL/TLS, providing a secure channel between the client and domain controllers. In contrast, LDAP on port 389 is unencrypted, which isn’t ideal for remote access through a firewall. Port 53 is DNS, not LDAP, and port 22 is SSH, also not LDAP. To implement this securely, ensure your AD domain controllers are configured for LDAPS (with proper certificates) and that the firewall allows TCP 636 to the AD services.

UDP Port 53

TCP Port 22

Want more questions?

All options are one-time payments.

$25.99

30 day pass for new members

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
$59.99$171.99 usd

6 month DELUXE pass (most popular)

Full access FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • $171.99 usd value for $59.99! You save $106!
  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 6 months of full access
  • Ultimate digital PDF study guide included
  • Priority support
$15.99 $24.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy