Ports, Protocols, and Acronyms High-Yield Tables

Key Takeaways

  • Port questions are scenario questions: the exam asks what should be allowed, blocked, encrypted, or monitored, not just the number.
  • Know the secure-vs-insecure pairs cold: Telnet/SSH, FTP/SFTP, HTTP/HTTPS, LDAP/LDAPS, SNMPv2c/SNMPv3.
  • Direct Internet exposure of SMB 445, RDP 3389, and database ports 1433/3306/5432 is almost always the wrong answer.
  • Acronyms matter most when they change the decision, such as SIEM vs SOAR or SAML vs OIDC.
  • On PBQs, read direction and business purpose before selecting a port or protocol.
Last updated: June 2026

Ports Are Scenario Questions

Memorizing numbers is necessary but not sufficient. SY0-701 gives a business or security situation and expects you to decide which traffic is appropriate, which protocol is safer, or which exposed service creates risk. Treat every port as a decision: who should reach it, from where, and is there an encrypted alternative.

Core Ports Table

PortProtocolServiceExam cue
20/21TCPFTPLegacy transfer; cleartext credentials
22TCPSSH / SFTP / SCPSecure shell and secure file transfer
23TCPTelnetInsecure remote administration
25TCPSMTPServer-to-server mail
53TCP/UDPDNSUDP for queries, TCP for zone transfers
67/68UDPDHCPDynamic address assignment
69UDPTFTPUnauthenticated simple transfer
80TCPHTTPUnencrypted web traffic
88TCP/UDPKerberosTicket-based authentication
110TCPPOP3Legacy mailbox retrieval
123UDPNTPTime sync (logs, Kerberos)
135-139TCP/UDPRPC / NetBIOSWindows discovery; risky if exposed
143TCPIMAPMailbox access
161/162UDPSNMPMonitoring/traps; prefer SNMPv3
389TCP/UDPLDAPDirectory queries; cleartext unless protected
443TCPHTTPSEncrypted web traffic
445TCPSMBWindows file sharing; never expose to Internet
465/587TCPSMTPS / submissionEncrypted/authenticated mail submission
514UDP/TCPSyslogCentral logging
636TCPLDAPSLDAP over TLS
993 / 995TCPIMAPS / POP3SMail over TLS
1433 / 1521TCPMS SQL / OracleDatabase; tightly restrict
3306 / 5432TCPMySQL / PostgreSQLDatabase; tightly restrict
3389TCP/UDPRDPRemote desktop; avoid Internet exposure
5985 / 5986TCPWinRMWindows mgmt; 5986 uses HTTPS

Secure Alternatives

The single most repeated exam pattern is choosing the encrypted equivalent of a cleartext service.

Insecure or risky choiceBetter choiceWhy
Telnet (23)SSH (22)Encrypts the admin session and credentials
FTP (21)SFTP, SCP, or FTPSProtects credentials and file contents
HTTP login (80)HTTPS (443)Protects session and credentials in transit
LDAP (389) for authLDAPS (636) or StartTLSEncrypts directory traffic
SNMPv1/v2c (161)SNMPv3Adds authentication and privacy
Direct RDP (3389) from InternetVPN, ZTNA, jump box, or PAMShrinks the attack surface
Public SMB (445)No public SMB; controlled sharingSMB exposure enabled WannaCry-class attacks

Acronym Table for Fast Review

AcronymMeaningDecision clue
AAAAuthentication, authorization, accountingProve identity, grant permission, record activity
CASBCloud access security brokerVisibility and policy for SaaS
DLPData loss preventionDetect/block sensitive data movement
EDR / XDREndpoint / extended detection and responseTelemetry, detection, response
IdPIdentity providerAuthenticates identities for apps
NACNetwork access controlAdmits or restricts based on posture/identity
OIDCOpenID ConnectIdentity layer on top of OAuth 2.0
PAMPrivileged access managementControls privileged elevation and sessions
RADIUS / TACACS+AAA protocolsVPN/Wi-Fi vs device administration
SAMLSecurity Assertion Markup LanguageFederation and browser SSO assertions
SIEMSecurity info and event managementLog collection, correlation, alerting
SOARSecurity orchestration, automation, responseAutomated response playbooks
SPF / DKIM / DMARCEmail authenticationReduce spoofing, improve mail trust
TPMTrusted Platform ModuleHardware key storage, measured boot
ZTNAZero trust network accessApp-specific access, no broad trust

PBQ Port Pattern

Map the prompt language to a flow:

  • "Allow customers to access the public ordering site" -> inbound TCP 443 to the web tier only.
  • "Allow the web tier to query the database" -> allow only the web-server source to the database destination on the required port (3306, 1433, 5432).
  • "Allow administrators to manage Linux servers" -> SSH (22) from an admin subnet or jump box, never Telnet or any-source.

Worked Three-Tier Scenario

A company publishes a customer portal, runs a database behind it, and uses a jump box for administration.

FlowCorrect rule
Internet to portalAllow TCP 443 to web server
Web server to databaseAllow database port from web server only
Admin subnet to jump boxAllow SSH or RDP per platform
Jump box to internal serversAllow management ports from jump box only
Internet to databaseDeny
Internet to SMB/RDP/SSH on serversDeny unless a named secure access design is stated

The exam favors broad answers that sound convenient. Prefer the narrow rule that meets the business goal and nothing more. When two ports could work, pick the encrypted one (587 over 25, 636 over 389, 5986 over 5985).

Test Your Knowledge

A PBQ shows TCP 445 allowed from the Internet to an internal file server. What is the best interpretation?

A
B
C
D
Test Your KnowledgeMatching

Match the protocol or acronym to the best exam cue.

Match each item on the left with the correct item on the right

1
LDAPS (636)
2
SIEM
3
SOAR
4
SNMPv3
Test Your Knowledge

An administrator currently uses Telnet to manage network switches. Which is the best secure replacement?

A
B
C
D