2.1 Compare & contrast Transmission Control Protocol (TCP) & User Datagram Protocol (UDP) ports, protocols, & their purpose Flashcards

1
Q

Meaning of TCP?

A

Transmission Control Protocol

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

What protocols in the TCP/IP suite handle port assignment?

A

TCP & UDP

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

Meaning of UDP?

A

User Datagram Protocol

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

How many port numbers do hosts assign?

A

2

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

Explain the port assignment process

A

Each host assigns a destination & source port

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

In the port assignment process, what does the destination port map to?

A

The requested service

i.e. HTTP on port 80

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

What is the source port in the port assignment process?

A

Random port number chosen by the client

i.e. 47747

The server replies using the client’s source port as its destination port & its own app port as the source port

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

How does TCP differ from UDP?

A

Providing reliable data delivery

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

What is TCP known as?

A

Connection-oriented protocol

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

How does TCP establish a connection between sender & recipient?

A

via Handshake sequence

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

List TCP’s handshake sequence packets

A
  • SYN packet
  • SYN/ACK packet
  • ACK packet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does TCP assign to each packet?

A

A sequence number

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

Why does TCP assign sequence numbers to packets?

A

So they can be tracked

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

In TCP, why do clients send ACK packets?

A

To acknowledge that a packet has been received

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

In TCP, why do clients send NACK packets?

A

For retransmission of a missing or damaged packet

NACK basically means Negative Acknowledgement

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

Main drawback of TCP?

A

Connection info adds 20+ bytes to packet size due to multiple header fields

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

When is TCP used?

A

When application protocols can’t tolerate missing or damaged info.

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

2 application protocols that must use TCP?

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

What is UDP known as?

A

Connectionless protocol

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

How does UDP differ from TCP?

A

Faster & not guaranteeing packet delivery or packet sequence order

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

When is UDP used?

A

When application protocols can tolerate missing/out-of-order packets

It’s often used for time-sensitive data like voice or video, where missing data causes glitches, not errors or connection failures.

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

Why is UDP faster than TCP?

A

UDP has reduced overhead

Overhead is the extra data or processing needed for communication, beyond the essential payload.

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

What can be used to control delivery reliability when using UDP?

A

Application layer

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

2 protocols that use UDP?

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

Why must DHCP use UDP?

A

DHCP uses broacast transmissions, which TCP doesn’t support

Broadcast sends data to all network devices at once.

If a response packet isn’t received, the client just restarts the provess & tries again repeatedly, until timing out

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

Meaning of TFTP?

A

Trivial File Transfer Protocol

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

Purpose of TFTP?

A

For network devices to obtain a configuration file

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

Why doesnt TFTP require TCP?

A

It has it’s own built-in mechanism for acknowledging messages

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

What are server port numbers assigned by?

A

IANA

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

Meaning of IANA?

A

Internet Assigned Numbers Authority

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

Meaning of FTP?

A

File Transfer Protocol

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

FTP–Data connection port?

This port handles actual file transfers

A

TCP/20

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

FTP–Control connection port?

This port manages commands & responses

A

TCP/21

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

Identify port

TCP/20

A

FTP-Data connection

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

Identify port

TCP/21

A

FTP-Control connection

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

Purpose of FTP?

A

Make files available for download across a network

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

Meaning of SSH?

A

Secure Shell

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

Purpose of SSH protocol?

A

Make a secure connection to the command-line interface of a server

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

SSH protocol port?

A

TCP/22

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

Identify port

TCP/22

A

SSH

40
Q

Purpose of Telnet protocol?

A

Make an unsecure connection to the command-line interface of a server

41
Q

Telnet protocol port?

A

TCP/23

42
Q

Identify port

TCP/23

A

Telnet

43
Q

Meaning of SMTP?

A

Simple Mail Transfer Protocol

44
Q

Purpose of SMTP?

A

Transfer emails across a network

45
Q

SMTP port?

A

TCP/25

46
Q

Identify port

TCP/25

A

SMTP

47
Q

Meaning of DNS?

A

Domain Name System

48
Q

Purpose of DNS protocol?

A

Allow hosts to be identified by name & IP addresses

49
Q

DNS protocol port?

A

(TCP or UDP)/53

50
Q

Identify port

(TCP or UDP)/53

A

DNS

51
Q

Meaning of DHCP?

A

Dynamic Host Configuration Protocol

52
Q

Purpose of DHCP Server?

A

Provision an IP address configuration to clients

53
Q

DHCP Server port?

A

UDP/67

54
Q

Identify port

UDP/67

A

DHCP Server

55
Q

Purpose of DHCP Client?

A

Request a dynamic IP address configuration from a server

56
Q

DHCP Client port?

A

UDP/68

57
Q

Identify port

UDP/68

A

DHCP Client

58
Q

Meaning of HTTP?

A

HyperText Transfer Protocol

59
Q

Purpose of HTTP?

A

Provision unsecure websites & web services

60
Q

HTTP port?

A

TCP/80

61
Q

Identify port

TCP/80

A

HTTP

62
Q

Meaning of POP?

A

Post Office Protocol

63
Q

Purpose of POP?

Examples of POP clients are Microsoft Outlook & Mozilla Thunderbird

A

Retrieve emails from a server mailbox

64
Q

POP port?

A

TCP/110

65
Q

Identify port

TCP/110

A

POP

66
Q

Purpose of NetBIOS over TCP/IP?

A

Support networking features of legacy Windows versions

67
Q

NetBIOS over TCP/IP port?

A

(UDP or TCP)/137-139

68
Q

Identify port

(UDP or TCP)/137-139

A

NetBIOS over TCP/IP

69
Q

Meaning of IMAP?

A

Internet Mail Access Protocol

70
Q

Purpose of IMAP?

A

Read & manage emails on a server mailbox

71
Q

IMAP port?

A

TCP/143

72
Q

Identify port

TCP/143

A

IMAP

73
Q

SNMP meaning?

A

Simple Network Management Protocol

74
Q

Purpose of SNMP?

A

Query status information from network devices

SNMP enables remote monitoring and management of network devices, retrieving data for proactive troubleshooting and optimization.

75
Q

SNMP port?

A

UDP/161

76
Q

Identify port

UDP/161

A

SNMP

77
Q

Purpose of SNMP trap operation?

A

Report status info. to a management server

78
Q

SNMP trap operation port?

A

UDP/162

79
Q

Identify port

UDP/162

A

SNMP trap operation

80
Q

Meaning of LDAP?

A

Lightweight Directory Access Protocol

81
Q

Purpose of LDAP?

A

Query info about network users & resources

it allows systems to retrieve and search for data stored in a directory service, such as user accounts, groups, and network resources. This enables authentication, authorization, and information lookup across a network infrastructure.

82
Q

LDAP port?

A

TCP/389

83
Q

Identify port

TCP/389

A

LDAP

84
Q

Meaning of HTTPS?

A

HTTP Secure

85
Q

Purpose of HTTPS?

A

Provision secure websites & services

86
Q

HTTPS port?

A

TCP/443

87
Q

Identify port

TCP/443

A

HTTPS

88
Q

Meaning of SMB?

A

Server Message Block

89
Q

Purpose of SMB protocol?

A

Implement Windows-compatible file & printer sharing on a LAN

SMB differs from FTP by being primarily used in Windows environments

90
Q

What is the SMB protocol also referred to?

A

CIFS

91
Q

Meaning of CIFS?

A

Common Internet File System

92
Q

SMB port?

A

TCP/445

93
Q

Identify port

TCP/445

A

SMB

94
Q

Meaning of RDP?

A

Remote Desktop Protocol

95
Q

Purpose of RDP?

A

Make a secure connection to the graphical desktop of a computer

96
Q

RDP port?

A

TCP/3389

97
Q

Identify port

TCP/3389

A

RDP

98
Q

What are application protocols?

A

Rules & conventions used by software to communicate over a network

i.e. HTTP for web browsing, SMTP for email, FTP for file transfer, etc.