CompTIA Network+ N10-009 · Networking Concepts · medium
A security administrator is writing an explicit perimeter firewall ACL to allow: (1) encrypted LDAPS (LDAP over TLS) queries to an Active Directory domain controller, (2) Remote Desktop Protocol (RDP) sessions to a Windows jump host, and (3) SNMP Trap alerts sent asynchronously from managed switches to a central NMS collector. Which combination of default port numbers must be permitted?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: B. LDAPS: TCP 636, RDP: TCP 3389, SNMP Traps: UDP 162 on the firewall
The keyed answer pairs each service with its IANA-registered default port. LDAPS, which is LDAP wrapped in TLS from the first packet, uses TCP 636, while plain LDAP and STARTTLS-upgraded LDAP use TCP 389. Remote Desktop Protocol listens on TCP 3389, which is the port to open for the jump host. SNMP Traps are unsolicited alerts sent by the agent to the manager, so the firewall must allow UDP 162 toward the NMS collector. The common trap is confusing 161 and 162: UDP 161 is where agents receive polling requests such as Get and Set from the manager, while 162 is where the manager receives Traps and Informs. Another trap is picking 389 because it is the better-known LDAP port, even though the question explicitly specifies the encrypted variant. Memorizing these paired defaults is high-value for Network+ ACL questions.
Why the other options are wrong
- A. LDAPS: TCP 389, RDP: TCP 22, SNMP Traps: UDP 161 on the firewall — TCP 389 is standard LDAP (cleartext or STARTTLS), not LDAPS. TCP 22 is SSH, not RDP, and UDP 161 is used for SNMP polling to agents rather than Trap delivery to the NMS, so all three choices are wrong.
- C. LDAPS: TCP 445, RDP: TCP 5900, SNMP Traps: UDP 514 on the firewall — TCP 445 is SMB file sharing, not LDAPS. TCP 5900 is VNC, a different remote desktop protocol from RDP, and UDP 514 is Syslog, which is a separate logging protocol and not SNMP Traps.
- D. LDAPS: TCP 993, RDP: TCP 3306, SNMP Traps: UDP 123 on the firewall ACL — TCP 993 is IMAP over TLS (email), not LDAPS. TCP 3306 is MySQL, not RDP, and UDP 123 is NTP time synchronization, not SNMP Trap alerts.
More Networking Concepts questions
- As an application payload travels down the OSI 7-layer model from Layer 7 (Application) to Layer 1 (Physical), each…
- A dual-stack workstation displays three IPv6 addresses on its eth0 interface: 1. 2001:0db8:85a3::8a2e:0370:7334/64 2…
- A network architect is calculating the usable payload Maximum Segment Size (MSS) for a TCP connection traversing an…
- A modern cloud datacenter replaces its legacy three-tier (Core -> Distribution -> Access) switch hierarchy with a…
- A network engineer is designing an IPv4 addressing plan for a new branch office subnet 172.16.45.64/26. What are the…
CompTIA and Security+ are trademarks of the Computing Technology Industry Association. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by CompTIA.