CompTIA module 4 Flashcards
Network Protocols and Services
1
Q
What is a Port ?
A
- logical connection point that allows devices to communicate with one another.
- A port is a 16-bit number (0-65535) that identifies a specific process or service running on a network device.
- Port 0 reserved and not used.
- IANA assigns port numbers
2
Q
What are the 3 port ranges ?
A
- Well-known ports (0-1023): Standardized ports for common services (e.g., HTTP:80, FTP:21)
- Registered ports (1024-49151): Assigned by IANA for specific services
- Private ports (49152-65535): Available for custom use
3
Q
What are the functions of Ports ?
A
- Service identification: Identifies the service or process running on a device
- Connection establishment: Enables devices to establish connections
- Data routing: Directs data to the correct process or service
4
Q
Name the following TCP Ports: 80, 433, 21, 22
A
- HTTP: 80 (Web servers)
- HTTPS: 443 (Secure web servers)
- FTP: 21 (File Transfer Protocol)
- SSH: 22 (Secure Shell)
5
Q
Name the following TCP Ports: 25, 53, 161, 23.
A
- SMTP: 25 (Simple Mail Transfer Protocol)
- DNS: 53 (Domain Name System)
- SNMP: 161 (Simple Network Management Protocol)
- Telnet: 23 (Remote access)
6
Q
Name the following UDP Ports: 67-68, 161-162, 69, 123
A
- DHCP: 67-68 (Dynamic Host Configuration Protocol)
- SNMP: 161-162 (Simple Network Management Protocol)
- TFTP: 69 (Trivial File Transfer Protocol)
- NTP: 123 (Network Time Protocol)
7
Q
Name the following Ports: 500, 119, 3389, 389
A
- Port 500:
IPSec (Internet Protocol Security)
IKE (Internet Key Exchange)
ISAKMP (Internet Security Association and Key Management Protocol) - Port 119:
NNTP (Network News Transfer Protocol)
Usenet news - Port 3389:
RDP (Remote Desktop Protocol)
Microsoft Terminal Services - Port 389:
LDAP (Lightweight Directory Access Protocol)
Directory services (e.g., Active Directory)
8
Q
What is File Transfer Protocol (FTP) ?
A
9
Q
List 7 FTP commands.
A
10
Q
List 4 FTP modes.
A
- Binary mode: Transfers files in binary format.
- ASCII mode: Transfers text files in ASCII format.
- Active mode: FTP server initiates data transfer.
- Passive mode: FTP client initiates data transfer.
11
Q
List 4 FTP types
A
- FTP (File Transfer Protocol): Standard FTP.
- SFTP (Secure File Transfer Protocol): Secure, encrypted FTP.
- FTPS (FTP over SSL/TLS): FTP over secure socket layer.
- TFTP (Trivial File Transfer Protocol): Simple, non-secure FTP.
12
Q
What are the default FTP Port numbers ?
A
- Command port: 21 (default)
- Data port: 20 (default)
13
Q
What is Simple Mail Transfer Protocol (SMTP) ?
A
- Is a push protocol used for sending and receiving email messages between email servers and clients.
14
Q
What are the key features of SMTP ?
A
- Mail transfer: Sends and receives email messages.
- Relaying: Forwards email messages to next-hop servers.
- Mail routing: Routes email messages to destination servers.
- Authentication: Optional authentication mechanisms.
- Error handling: Returns error messages for undeliverable emails.
15
Q
What ports do SMTP use ?
A
- Default port: 25 (non-secure)
- Secure port: 465 (SSL/TLS encrypted)
- Submission port: 587 (authenticated submissions)