Ports and protocols

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/106

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:06 AM on 8/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

107 Terms

1
New cards

What is FTP used for?

Transferring files between clients and servers.

2
New cards

What layer does FTP operate at?

Application layer (Layer 7).

3
New cards

What ports does FTP use?

TCP 20 and TCP 21.

4
New cards

What is TCP 21 used for in FTP?

Control connection—commands and responses.

5
New cards

What is TCP 20 used for in FTP?

File data in active mode.

6
New cards

Is FTP encrypted?

No

7
New cards

What FTP commands are commonly used to navigate directories and transfer files?

ls, cd, get, and put.

8
New cards

What is SSH used for?

Secure remote command-line access and administration.

9
New cards

What port does SSH use?

TCP 22.

10
New cards

Is SSH encrypted?

Yes

11
New cards

What can you do with SSH?

Remotely log in, execute commands, configure systems, install software, and manage services.

12
New cards

What protocol did SSH replace for secure remote administration?

Telnet.

13
New cards

What is SFTP?

A secure file-transfer protocol that runs over SSH.

14
New cards

What port does SFTP use?

TCP 22.

15
New cards

Is SFTP encrypted?

Yes, through SSH.

16
New cards

What can SFTP do besides upload and download files?

List, rename, delete, and manage files on a remote system.

17
New cards

When would you use SFTP instead of FTP?

When files need to be transferred securely over a network.

18
New cards

What is Telnet used for?

Remote command-line/console access.

19
New cards

What port does Telnet use?

TCP 23.

20
New cards

Is Telnet encrypted?

No. It sends information in cleartext.

21
New cards

What is the secure alternative to Telnet?

SSH.

22
New cards

What is SMTP used for?

Sending email.

23
New cards

What port does traditional SMTP use?

TCP 25.

24
New cards

What is TCP 587 used for?

Email submission from clients to mail servers, typically using TLS/STARTTLS.

25
New cards

Which SMTP port is commonly used by email clients to submit outgoing mail?

TCP 587.

26
New cards

What is STARTTLS?

A method for upgrading an existing connection to use TLS encryption.

27
New cards

What does DNS do?

Translates domain names into IP addresses.

28
New cards

What port does DNS use?

UDP 53 and TCP 53.

29
New cards

Why is UDP 53 normally used for DNS queries?

It's faster and has less overhead than TCP.

30
New cards

When does DNS use TCP 53?

For larger responses and DNS zone transfers.

31
New cards

What is a DNS zone transfer?

Replication of DNS information between DNS servers.

32
New cards

What is DHCP used for?

Automatically assigning IP addresses and network configuration.

33
New cards

What information can DHCP provide?

IP address, subnet mask, default gateway, DNS server, and lease information.

34
New cards

What ports does DHCP use?

UDP 67 and UDP 68.

35
New cards

Which DHCP port is used by the server?

UDP 67.

36
New cards

Which DHCP port is used by the client?

UDP 68.

37
New cards

What is a DHCP lease?

A temporary assignment of an IP address to a client.

38
New cards

What is a DHCP reservation?

A specific IP address permanently associated with a device's MAC address.

39
New cards

What is TFTP?

A simple, lightweight file-transfer protocol using UDP.

40
New cards

What port does TFTP use?

UDP 69.

41
New cards

Does TFTP provide authentication or encryption?

No.

42
New cards

What are common uses for TFTP?

Firmware transfers, network-device configuration, and booting devices.

43
New cards

Why is TFTP useful for network devices during startup?

Devices can download configuration files or OS/firmware images without requiring complex authentication.

44
New cards

What is HTTP used for?

Communication between web browsers/applications and web servers.

45
New cards

What port does HTTP use?

TCP 80.

46
New cards

What port does HTTPS use?

TCP 443

47
New cards

What makes HTTPS secure?

TLS encryption.

48
New cards

What does HTTPS provide?

Confidentiality, authentication, and integrity.

49
New cards

Can applications other than browsers use HTTP/HTTPS?

Yes. APIs and other applications commonly use them.

50
New cards

What is NTP used for?

Synchronizing clocks across networked devices.

51
New cards

What port does NTP use?

UDP 123.

52
New cards

Why is accurate time synchronization important?

It helps with logs, authentication, troubleshooting, security events, and correlating events across systems.

53
New cards

What is SNMP used for?

Monitoring and managing network devices.

54
New cards

What port does SNMP use for queries?

UDP 161.

55
New cards

What port does SNMP Trap use?

UDP 162.

56
New cards

What is an SNMP manager?

The system that monitors and manages network devices.

57
New cards

What is an SNMP agent?

Software running on a managed network device that provides information to the SNMP manager.

58
New cards

What is a MIB?

Management Information Base—a database/structure containing information about managed devices.

59
New cards

What is an SNMP Trap?

An unsolicited alert sent by a network device to an SNMP manager.

60
New cards

Which SNMP version provides authentication, integrity, and encryption?

SNMPv3.

61
New cards

What is LDAP used for?

Accessing and managing directory information such as users, groups, and credentials.

62
New cards

What port does LDAP use?

TCP 389.

63
New cards

What port does LDAPS use?

TCP 636.

64
New cards

What is the difference between LDAP and LDAPS?

LDAP is unencrypted by default; LDAPS uses TLS encryption.

65
New cards

What is a common use of LDAP?

User authentication and directory lookups, including Active Directory environments.

66
New cards

What is SMB used for?

File and printer sharing over a network.

67
New cards

What operating system is strongly associated with SMB?

Microsoft Windows.

68
New cards

What is another name associated with SMB?

CIFS (an older version/name).

69
New cards

What features does SMB provide?

File sharing, permissions, file locking, and printer sharing.

70
New cards

What port does modern SMB commonly use?

TCP 445.

71
New cards

What is Syslog used for?

Collecting and centralizing log messages from network devices and systems.

72
New cards

What port does Syslog traditionally use?

UDP 514.

73
New cards

What is a Syslog server?

A central system that collects and stores log messages from multiple devices.

74
New cards

What is SQL?

Structured Query Language used to communicate with and manage relational databases.

75
New cards

What database system commonly uses TCP 1433?

Microsoft SQL Server.

76
New cards

What is RDP used for?

Remotely connecting to and controlling a computer's graphical desktop.

77
New cards

What port does RDP use?

TCP 3389.

78
New cards

What can you do with RDP?

View/control a remote desktop and run applications remotely.

79
New cards

What is SIP used for?

Setting up, managing, and terminating VoIP communication sessions.

80
New cards

Does SIP carry the actual voice data?

No. SIP handles signaling; other protocols such as RTP typically carry the media.

81
New cards

What ports does SIP commonly use?

UDP/TCP 5060 for SIP and TCP 5061 for SIP over TLS.

82
New cards

What is SIP over TLS?

Encrypted SIP signaling using TLS, commonly on TCP 5061.

83
New cards

What is ICMP?

A Layer 3 protocol used to send network error messages and operational information.

84
New cards

What OSI layer does ICMP operate at?

Layer 3 — Network layer.

85
New cards

Is ICMP used to transfer application data?

No. It is primarily used for control, diagnostics, and error reporting.

86
New cards

What common command uses ICMP?

ping

87
New cards

What does ping test?

Whether a destination is reachable and how long a response takes.

88
New cards

What protocol does traditional traceroute use to reveal routing information?

It relies on TTL expiration and ICMP messages, though the exact probe protocol varies by operating system.

89
New cards

What ICMP message indicates that a packet's TTL has expired?

Time Exceeded.

90
New cards

What type of information can ICMP provide?

Connectivity status and errors such as unreachable destinations or expired TTLs.

91
New cards

Does ICMP use TCP or UDP ports?

No. ICMP does not use port numbers.

92
New cards

What is GRE?

A tunneling protocol that encapsulates network traffic inside IP packets.

93
New cards

What is the purpose of GRE?

To create a virtual tunnel between two endpoints across a network.

94
New cards

What happens when GRE creates a tunnel?

Traffic is encapsulated so the two endpoints appear to have a virtual point-to-point connection.

95
New cards

Does GRE provide encryption?

No.

96
New cards

How can GRE traffic be encrypted?

GRE can be combined with IPsec.

97
New cards

What is a good way to remember GRE?

GRE = a tunnel without built-in security.

98
New cards

What technology is commonly used for site-to-site VPNs?

IPsec.

99
New cards

What is IPsec?

A suite of protocols that provides security for IP communications.

100
New cards

What OSI layer does IPsec operate at?

Layer 3 — Network layer.