Ports And Protocols Flashcards

(100 cards)

2
Q

What is a port in networking?

A

Virtual door for data

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

What does a protocol define?

A

Communication rules

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

What is port 443 used for?

A

HTTPS

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

What is port 80 used for?

A

HTTP

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

Which port range is for well-known services?

A

0–1023

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

What are registered ports?

A

1024–49151

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

What are dynamic/private ports?

A

49152–65535

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

What are ephemeral ports used for?

A

Temporary client sessions

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

What port does DNS use?

A

53

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

What is DNS used for?

A

Resolving names to IPs

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

What transport layer does DNS use?

A

UDP & TCP

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

What port does DHCP server use?

A

67

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

What port does DHCP client use?

A

68

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

What does DHCP assign?

A

IP addresses

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

What does DORA stand for?

A

Discover, Offer, Request, Acknowledge

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

What port does HTTP use?

A

80

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

What port does HTTPS use?

A

443

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

What secures HTTPS traffic?

A

SSL/TLS

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

What makes HTTP insecure?

A

No encryption

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

What port is used by FTP data?

A

20

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

What port is used by FTP control?

A

21

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

What port does SFTP use?

A

22

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

What protocol secures SFTP?

A

SSH

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

What port does TFTP use?

A

69

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
What is a risk of TFTP?
No authentication
27
What port is used by SMB?
445
28
What port does Telnet use?
23
29
Why is Telnet insecure?
Plaintext login
30
What is a secure alternative to Telnet?
SSH
31
What port does SSH use?
22
32
What port does RDP use?
3389
33
What is RDP used for?
Remote desktop
34
What port is used by SMTP?
25
35
What port does SMTPS use?
465
36
What port is preferred for secure SMTP?
587
37
What port does POP3 use?
110
38
What port does POP3S use?
995
39
What port does IMAP use?
143
40
What port does IMAPS use?
993
41
What is the main function of SMTP?
Send email
42
What does POP3 do?
Download email
43
What does IMAP do?
Sync email across devices
44
Which email protocol allows multi-device sync?
IMAP
45
Which protocol deletes mail after download?
POP3
46
What port does NTP use?
123
47
What is NTP used for?
Time synchronization
48
What attack abuses NTP?
Amplification attack
49
What port does SIP use (unencrypted)?
5060
50
What port does SIP use securely?
5061
51
What port does LDAP use?
389
52
What port does LDAPS use?
636
53
What does LDAP manage?
Directory access
54
What is LDAPS used for?
Encrypted directory services
55
What port does SNMP use for queries?
161
56
What port does SNMP use for traps?
162
57
What port does Syslog use by default?
514
58
What is Syslog used for?
Event logging
59
Which version of SNMP adds encryption?
SNMPv3
60
What does Nmap do?
Scan ports and services
61
What is Zenmap?
GUI for Nmap
62
What does -sS do in Nmap?
SYN scan
63
What does -O do in Nmap?
OS detection
64
What type of scan shows open ports only?
Ping scan
65
What does a port number identify?
Service on a host
66
What is a TCP 3-way handshake?
SYN, SYN-ACK, ACK
67
What does TCP provide?
Reliable delivery
68
What does UDP provide?
Speed, low overhead
69
Which protocol is connectionless?
UDP
70
What is the UDP header size?
8 bytes
71
What is TCP windowing?
Flow control
72
Which layer does TCP operate at?
Layer 4
73
Which layer does ICMP operate at?
Layer 3
74
Does ICMP use ports?
No
75
What does ICMP support?
Ping and traceroute
76
What is an ICMP flood?
DoS attack
77
What is the Ping of Death?
Oversized ICMP crash
78
What is a port used for?
Identifies app/service
79
What is a good reason to close unused ports?
Reduce attack surface
80
What port is used for MySQL?
3306
81
What port is used for Microsoft SQL Server?
1433
82
What is an ephemeral port?
Temporary client port
83
What is a well-known port?
0–1023
84
What identifies a TCP session?
IP + Port pair
85
What tool can detect OS via network?
Nmap
86
What does a firewall do with unused ports?
Blocks them
87
What is the main use of FTP?
File transfers
88
What makes SFTP more secure than FTP?
Encrypted channel
89
Why use SMBv3?
Encrypts traffic
90
What protocol enables VoIP calls?
SIP
91
What secures VoIP over SIP?
TLS and SRTP
92
What port does NetBIOS use?
137–139
93
Why disable Telnet?
Insecure credentials
94
What service is often targeted via port 445?
SMB
95
Which port is heavily scanned by attackers?
3389
96
What protocol manages IP leases?
DHCP
97
What port does the DHCP server listen on?
67
98
What port does the DHCP client use?
68
99
What prevents rogue DHCP?
DHCP snooping
100
What layer does NTP operate at?
Layer 7
101
What security feature does LDAPS provide?
Encryption