Ports And Protocols Flashcards

1
Q

What is a port in networking?

A

A port is a logical “doorway” for communication on a device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an example of a port used for secure web traffic?

A

Port 443, used for HTTPS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a protocol?

A

A protocol is a set of rules for communication between devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name three common network protocols and their purposes.

A
  • TCP (reliable transmission)
  • UDP (fast, unreliable transmission)
  • ICMP (diagnostics)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are Well-Known Ports and their range?

A

Ports 0–1023, reserved for core services like HTTP, HTTPS, FTP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are Registered Ports and their range?

A

Ports 1024–49151, assigned to specific applications like SQL Server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are Dynamic/Ephemeral Ports and their range?

A

Ports 49152–65535, used temporarily by clients during communication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What port does HTTP use and what is it for?

A

Port 80, for unsecured web browsing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What port does HTTPS use and what is it for?

A

Port 443, for secure web browsing via SSL/TLS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What ports does SMTP use?

A

Port 25 (insecure), 587 (secure).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the purpose of SMTP?

A

To send email.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What ports does POP3 use?

A

Port 110 (insecure), 995 (secure).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the purpose of POP3?

A

To download email from a server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What ports does IMAP use?

A

Port 143 (insecure), 993 (secure).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of IMAP?

A

To sync email across multiple devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What ports does FTP use, and is it secure?

A

Ports 20 and 21; it is not secure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What port does SFTP use and what makes it secure?

A

Port 22; it’s based on SSH.

18
Q

What port does TFTP use and what is its security level?

A

Port 69; it is not secure and offers simple, no-auth transfers.

19
Q

What port does SMB use and what is it used for?

A

Port 445; used for Windows file sharing over LAN.

20
Q

What port does SSH use and is it secure?

A

Port 22; yes, it’s encrypted.

21
Q

What port does Telnet use and is it secure?

A

Port 23; no, it’s insecure and used mainly for legacy systems.

22
Q

What port does RDP use and what is it for?

A

Port 3389; used for remote Windows access with encryption.

23
Q

What port does DNS use and what is its purpose?

A

Port 53 (TCP/UDP); resolves domain names to IP addresses.

24
Q

What ports does DHCP use?

A

Port 67 (server), 68 (client).

25
What port does Microsoft SQL use?
Port 1433.
26
What port does MySQL use?
Port 3306.
27
What ports does SNMP use?
Port 161 for polling, 162 for traps.
28
What port does Syslog use and why?
Port 514 (UDP/TCP); for centralized event logging.
29
What port does NTP use and what's its function?
Port 123 (UDP); for time synchronization across devices.
30
What ports does SIP use?
Port 5060 (unencrypted), 5061 (TLS encrypted).
31
What ports does LDAP use and what is it for?
Port 389 for regular access, 636 for secure (LDAPS).
32
How does TCP differ from UDP in terms of connection type?
TCP is connection-oriented; UDP is connectionless.
33
Which protocol is more reliable: TCP or UDP?
TCP, due to acknowledgments and retransmissions.
34
Which protocol has lower overhead?
UDP.
35
Give examples of use cases for TCP.
* Web browsing * Email * File transfers
36
Give examples of use cases for UDP.
* Streaming * VoIP * Online gaming
37
What is ICMP used for?
Diagnostics such as ping, traceroute, and error reporting.
38
At which OSI layer does ICMP operate?
Layer 3 (Network layer).
39
Name two common ICMP-based attacks.
* ICMP Flood * Ping of Death
40
Why might admins block ICMP traffic?
For security, although it limits diagnostic capabilities.