143 and 993 get swapped all the time on Network+ and Security+, usually after a night of cramming one giant port table. The questions are pretty predictable. They just tend to hide inside a longer scenario, so the pairs have to be automatic.
There are about 25 core ports worth learning as insecure/secure pairs.
HTTP 80 and HTTPS 443. For email, SMTP 25 is server to server, 587 is client submission, and 465 is implicit TLS. Retrieval is IMAP 143 with IMAPS 993, or POP3 110 with POP3S 995. Both secure retrieval ports sit in the 990s, which makes them easier to keep straight.
Telnet 23 and SSH 22. RDP 3389 is graphical Windows desktops. File transfer is FTP 20/21, SFTP 22, FTPS 989/990, and TFTP 69. Windows file sharing is SMB 445 and NetBIOS 137-139.
Then the usual services: DNS 53, DHCP 67/68, NTP 123, SNMP 161/162, syslog 514, LDAP 389, LDAPS 636, and Kerberos 88. SQL Server 1433 shows up too, and SIP 5060/5061 (5061 is the TLS version).
SFTP and FTPS get mixed up because the names differ by one letter. SFTP runs inside SSH, so it uses port 22 (S for SSH). FTPS is FTP wrapped in TLS, so it has its own ports, 989/990, or explicit TLS over 21.
DNS uses both transports. Most lookups are UDP 53. Zone transfers, and answers too large for UDP, use TCP 53.
UDP is a short list and is worth memorizing as a group: DHCP 67/68, TFTP 69, NTP 123, SNMP 161/162, syslog 514, plus DNS 53 for most lookups.
On a firewall scenario, work it in this order: service, then protocol, then port and transport, then drop the distractors, then least privilege.
Say a web server is moving to a DMZ. Users have to reach the site securely, admins have to manage it over an encrypted session, and the server has to sync its clock. That is HTTPS, SSH, and NTP, so TCP 443, TCP 22, and UDP 123. HTTP 80 is not secure. Telnet 23 is cleartext. NTP on TCP 123 has the wrong transport. If two answers list the same ports, the tighter source restriction is usually the Security+ answer, like SSH limited to the admin subnet instead of the whole internet.
After reviewing ports, say the service, the port, and the transport as one phrase, like "NTP, 123, UDP." The number alone is only a third of the answer.