True or false: Receiving traffic on TCP port 22 alone proves that a device is running SSH.
5 Protocols, Services, and Ports Online Quiz Questions
Use this free practice quiz with 20 questions to review 5 Protocols, Services, and Ports, test your knowledge, and prepare for your next test or exam.
An email client is configured to retrieve messages using IMAP. What conventional TCP destination port should it use?
A packet has reached the correct host, but the host runs several network services. What does the packet's destination port help identify?
- A
It identifies the destination host, while the IP address identifies the application.
- B
It identifies an application endpoint on the destination host.
- C
It guarantees that the destination service is safe.
- D
It identifies the network-layer control message type.
True or false: ICMP Echo Request and Echo Reply messages use TCP or UDP port numbers.
- A
True
- B
False
Complete the statement: UDP does not guarantee delivery, or duplicate protection.
An application must receive a complete byte stream in the correct order and can tolerate waiting for recovery from lost data. Which transport protocol best fits that requirement?
- A
UDP, because it guarantees retransmission and ordered delivery.
- B
ICMP, because it provides a reliable application data stream.
- C
TCP, because it provides reliable, ordered delivery.
- D
UDP, because it prevents every duplicate datagram.
Select all accurate statements about the transports and ports DNS uses.
- A
DNS generally uses UDP port 53 for queries and responses.
- B
DNS uses TCP port 80 for zone transfers.
- C
DNS can use TCP port 53 when a connection is needed, including for some large responses and zone transfers.
- D
DNS uses ICMP port 53 for ordinary name resolution.
Select all accurate statements about DHCP in the familiar IPv4 exchange.
- A
The familiar IPv4 exchange uses UDP port 68 for the client and UDP port 67 for the server.
- B
The client sends from UDP port 67 to the server on UDP port 68.
- C
The common exchange sequence is Discover, Offer, Request, Acknowledge.
- D
DHCP provides only a default gateway, not other host configuration.
- E
DHCP can automatically provide an IP address, subnet mask, default gateway, and DNS server.
Complete the statement: HTTPS is HTTP protected with , which provides encryption and authentication for the connection.
A service carries HTTP/3 over QUIC. Which transport and conventional port combination does it use?
- A
TCP port 80
- B
UDP port 443
- C
TCP port 22
- D
UDP port 53
A network-management system is set to receive SNMP notifications. What conventional UDP destination port should it monitor?
An analyst needs to distinguish simultaneous network flows between the same two hosts. What fields should the analyst compare, and why are the IP addresses alone insufficient?
A device needs to contact a time-synchronization service using the conventional NTP port. Which choice should it use?
- A
UDP port 123
- B
TCP port 123
- C
UDP port 143
- D
TCP port 110
HTTP/3 carries HTTP over QUIC. What UDP port does QUIC use for HTTP/3? Enter the port number only.
A user enters a domain name in an application, and the system needs to find the associated IP address. Which service performs that name resolution?
- A
DNS
- B
DHCP
- C
HTTP
- D
ICMP
A newly connected host needs network settings, including an IP address and default gateway, supplied automatically. Which protocol provides this configuration?
- A
DNS
- B
DHCP
- C
HTTP
- D
SMTP
A browser requests a web resource from a server and receives a response containing that resource. Which protocol provides this request-and-response service?
- A
DHCP
- B
NTP
- C
HTTP
- D
ICMP
A technician uses ping to send an Echo Request and receive an Echo Reply. Which protocol carries these messages?
- A
TCP
- B
UDP
- C
DNS
- D
ICMP
True or false: TCP uses acknowledgments and retransmissions to recover from lost data.
- A
True
- B
False
A mail server uses conventional SMTP to transfer email to another server. What TCP destination port is conventionally used? Enter the port number.