DEV Community

TiltedLunar123
TiltedLunar123

Posted on

Most Security+ port questions are secretly asking one thing

If your SY0-701 study plan includes a stack of 40 port flashcards, I want to save you some time. You probably do not need most of them.

Early on I spent a week drilling port numbers cold. 21, 22, 23, 25, 53, 80, 110, 143, 389, 443, 636, and on it went. Then I sat a practice exam and the question did not mention a port number at all. It described a packet capture where an auditor could read directory lookups in plain text, and it asked what the team should switch to. The number on the flashcard was useless. The relationship behind it was the whole point.

Here is the reframe that made ports click for me. Most Security+ port questions are not testing whether you memorized a number. They are testing one idea: is this traffic encrypted, and if it is not, what is the encrypted version of the same thing?

Learn the twins, not the list

Almost every protocol the exam cares about comes as a pair. There is an older cleartext version and a newer secured version that does the same job. Once you see the pairs, the list stops being random trivia and starts being a story about the industry slowly wrapping everything in encryption.

Here are the pairs worth knowing cold:

  • Telnet on 23 and SSH on 22. Remote shell, insecure then secure.
  • HTTP on 80 and HTTPS on 443. Web traffic, cleartext then TLS.
  • FTP on 21 and FTPS on 990, with SFTP riding on SSH at 22. File transfer.
  • LDAP on 389 and LDAPS on 636. Directory queries.
  • IMAP on 143 and IMAPS on 993. Mail you keep on the server.
  • POP3 on 110 and POP3S on 995. Mail you pull down.
  • SMTP on 25 and SMTP submission with TLS on 587. Sending mail.
  • DNS on 53 and DNS over TLS on 853. Name resolution.

Notice the pattern in the secure column. A lot of them just add an S and pick a new port. LDAP becomes LDAPS, IMAP becomes IMAPS, POP3 becomes POP3S. The exam leans on the 389 to 636 jump and the 143 to 993 jump because that is exactly where students blank.

How the exam actually asks it

The trap is that the question rarely says "which port is LDAPS." It hands you a symptom and expects you to walk it back to the fix:

  • An analyst captures traffic and reads usernames in the clear during authentication against the directory service. What should replace it? You are being asked for LDAPS on 636.
  • A legacy switch is managed over a protocol that sends the admin password unencrypted across the network. What should the team use instead? Telnet to SSH, 23 to 22.
  • A login form submits credentials and they show up in a proxy log as readable text. The site is on port 80. The answer lives on 443.

Read for the cleartext symptom first. Exposed credentials, readable queries, a sniffed password. Then reach for the secure twin. The port number is the last thing you fill in, not the first.

A few loners that have no twin

Some ports show up on their own and you do just learn them flat. RDP on 3389. Kerberos on 88. SNMP on 161, where the security upgrade is the version, SNMPv3, rather than a brand new port. That version detail is exactly the kind of thing a question will poke at. Keep a short list of the loners and treat them apart from the twins so they do not muddy the pattern.

Drill the relationship, then prove it

Build your flashcards around the pair, not the single number. On the front, put the insecure protocol and what goes wrong with it. On the back, put the secure twin and its port. You are encoding the reason, and the reason is what the scenario questions reward.

Then test the framing under exam conditions. Plain recall in a quiet room feels great and lies to you. The skill the exam wants is reading a messy scenario, spotting the cleartext tell, and landing on the fix in under a minute. I built a free diagnostic that throws scenario-style questions at you so you can find the gap before exam day at secplusmastery.com/diagnostic. If you want the structured version with reading lessons and hands-on labs that build the same instinct across every domain, that lives at secplusmastery.com.

Ports are one of the easiest places to bleed points to memorization, and one of the easiest to fix once you stop memorizing and start pairing. Learn the twins, read for the cleartext symptom, and let the number be the easy part.

Top comments (0)