A connection uses TCP port 443, so it must be HTTPS traffic. True or false?
4 Protocol and Port Practice Online Quiz Questions
Use this free practice quiz with 20 questions to review 4 Protocol and Port Practice, test your knowledge, and prepare for your next test or exam.
A standard SSH remote-login service is configured to use its common port. Which port number is that? Enter the port number:
An application requires a connection-oriented transport that provides reliable, in-order byte-stream delivery. Which transport fits those requirements?
- A
TCP provides reliable, in-order delivery of a byte stream.
- B
UDP provides TCP's connection setup and ordering guarantees.
- C
Both transports guarantee reliable, in-order delivery.
- D
Neither transport sends data between applications.
A firewall rule must allow DHCPv4 traffic to reach the server. What UDP port number is used on the server side?
Telnet provides remote terminal access but does not provide SSH's protection for the data it sends. True or false?
- A
True
- B
False
A network administrator is writing rules for DNS traffic. Which statement about DNS on port 53 is accurate?
- A
DNS uses UDP 53 only.
- B
DNS uses TCP 53 only.
- C
DNS can use both UDP 53 and TCP 53.
- D
DNS uses TCP 25 and UDP 53.
A firewall rule is being created for a clock-synchronization service using NTP. Which UDP port should the rule allow?
Select all statements that accurately describe FTP control and data connections.
- A
FTP uses TCP 21 for its control connection.
- B
FTP uses UDP 21 for its control connection.
- C
Classic active-mode FTP uses TCP 20 for data.
- D
FTP data always uses TCP 20, including passive mode.
- E
Passive-mode FTP data uses a negotiated port.
Select all accurate common SNMP port assignments.
- A
SNMP queries commonly use UDP 161.
- B
SNMP queries commonly use UDP 162.
- C
SNMP notifications commonly use UDP 162.
- D
SNMP notifications commonly use UDP 161.
A mail client can retrieve email using either POP3 or IMAP. Which option gives the common TCP ports for POP3 and IMAP, respectively?
- A
TCP 110 for POP3 and TCP 143 for IMAP
- B
TCP 143 for POP3 and TCP 110 for IMAP
- C
UDP 110 for POP3 and UDP 143 for IMAP
- D
TCP 25 for POP3 and TCP 80 for IMAP
A network rule must account for the common port used by Remote Desktop Protocol over both TCP and UDP. What is the port number?
A website is reachable over TCP 443, but the network blocks UDP 443. Which web protocol may be affected, and what might the client try instead?
- A
HTTP/3 may be affected, and the client may try a TCP-based version of HTTP.
- B
HTTP/3 may be affected, and the client must switch to UDP 80.
- C
HTTP/3 is unaffected because it uses TCP 443, and the client may try UDP.
- D
Only DNS may be affected, and the client may try TCP 53.
Small DNS lookups succeed, but some larger DNS responses fail. A firewall permits UDP 53 and blocks TCP 53. What should the administrator check, and why?
A firewall rule must allow the common mail-transfer traffic between mail servers. Which protocol and port should it allow?
- A
TCP 80 for web traffic
- B
TCP 25 for mail transfer between mail servers
- C
UDP 123 for clock synchronization
- D
TCP 22 for remote login
A network administrator is allowing common NTP traffic so devices can synchronize their clocks. Which UDP port number should the rule allow?
A DHCPv4 client is requesting network configuration from a DHCP server. Which port assignment matches the client and server roles?
- A
UDP 67 on the client and UDP 68 on the server
- B
TCP 68 on the client and TCP 67 on the server
- C
UDP 68 on the client and UDP 67 on the server
- D
UDP 68 on both the client and server
True or false: Telnet sends data without SSH’s protection.
- A
True
- B
False
An application needs reliable, in-order delivery of a byte stream. Which transport best provides those guarantees?
- A
TCP, because it provides reliable, in-order byte-stream delivery
- B
UDP, because it provides reliable, in-order byte-stream delivery
- C
Either one, because both provide TCP’s delivery guarantees
- D
Neither, because neither uses a transport protocol
A firewall rule for common RDP traffic on port 3389 must account for both transports. Which two transport names should the rule include?
Small DNS lookups succeed, but some larger DNS responses fail. A firewall permits UDP 53 but blocks TCP 53. What should the administrator check?
- A
Block UDP 53 and keep TCP 53 blocked
- B
Permit or investigate TCP 53 as well as UDP 53
- C
Replace TCP 53 with UDP 67
- D
Assume DNS uses only UDP and investigate only UDP 53
Related study packs and tools
- Quiz
1 Foundations of Threat Analysis
A medium-difficulty quiz on threat-analysis concepts, evidence, lifecycle, and defensive decisions.
- Flashcards
2 Protocols and Ports
Review how TCP and UDP work, what common network ports indicate, and how to interpret port clues cautiously.
CompTIA A+ NetworkingUpdated - Quiz
2 Protocols and Ports
A medium-difficulty quiz on interpreting network protocols, ports, and common traffic patterns.
CompTIA A+ NetworkingUpdated - Quiz
2 Virtual Machines
A medium-difficulty quiz on virtual machine architecture, provisioning, networking, storage, and operations.
- Quiz
3 Accessories and Peripheral Devices
A medium-difficulty quiz on selecting, connecting, configuring, and troubleshooting laptop accessories and peripheral devices.
CompTIA A+ Mobile DevicesUpdated - Study guide
3 Containers and Containerization
Learn how containers, images, registries, and runtimes work together, and how container isolation compares with virtual machines.
- Quiz
4 Mobile Connectivity
A 14-question quiz on applying mobile connectivity concepts to common settings, usage, and troubleshooting situations.
CompTIA A+ Mobile DevicesUpdated - Quiz
5 Cloud Service Models
A medium-difficulty quiz on applying and distinguishing IaaS, PaaS, and SaaS, including their responsibilities, trade-offs, and appropriate uses.
- Quiz
5 Network Operations and Reliability
A medium-difficulty quiz on network operations, monitoring, configuration management, resilience, and recovery planning.
- Quiz
6 Certificates and Public Key Infrastructure
A medium-difficulty quiz on certificates and public key infrastructure, focused on applying concepts to practical validation and issuance scenarios.
- Quiz
6 Diagnosing Network Problems
A medium-difficulty quiz on diagnosing network problems by testing systematically, interpreting evidence, and narrowing down likely causes.
- Study guide
7 Integrated Troubleshooting Practice
A practical workflow for isolating mixed hardware, display, storage, mobile-device, and network problems, protecting data, and verifying repairs.