Timedora
Free Practice Quiz Question List

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.

20 questions
01
True or false
1 point

A connection uses TCP port 443, so it must be HTTPS traffic. True or false?

  1. A

    True

  2. B

    False

02
Fill in the blank
1 point

A standard SSH remote-login service is configured to use its common port. Which port number is that? Enter the port number:

03
Choose one
1 point

An application requires a connection-oriented transport that provides reliable, in-order byte-stream delivery. Which transport fits those requirements?

  1. A

    TCP provides reliable, in-order delivery of a byte stream.

  2. B

    UDP provides TCP's connection setup and ordering guarantees.

  3. C

    Both transports guarantee reliable, in-order delivery.

  4. D

    Neither transport sends data between applications.

04
Written response
1 point

A firewall rule must allow DHCPv4 traffic to reach the server. What UDP port number is used on the server side?

05
True or false
1 point

Telnet provides remote terminal access but does not provide SSH's protection for the data it sends. True or false?

  1. A

    True

  2. B

    False

06
Choose one
1 point

A network administrator is writing rules for DNS traffic. Which statement about DNS on port 53 is accurate?

  1. A

    DNS uses UDP 53 only.

  2. B

    DNS uses TCP 53 only.

  3. C

    DNS can use both UDP 53 and TCP 53.

  4. D

    DNS uses TCP 25 and UDP 53.

07
Fill in the blank
1 point

A firewall rule is being created for a clock-synchronization service using NTP. Which UDP port should the rule allow?

08
Choose all
1 point

Select all statements that accurately describe FTP control and data connections.

  1. A

    FTP uses TCP 21 for its control connection.

  2. B

    FTP uses UDP 21 for its control connection.

  3. C

    Classic active-mode FTP uses TCP 20 for data.

  4. D

    FTP data always uses TCP 20, including passive mode.

  5. E

    Passive-mode FTP data uses a negotiated port.

09
Choose all
1 point

Select all accurate common SNMP port assignments.

  1. A

    SNMP queries commonly use UDP 161.

  2. B

    SNMP queries commonly use UDP 162.

  3. C

    SNMP notifications commonly use UDP 162.

  4. D

    SNMP notifications commonly use UDP 161.

10
Choose one
1 point

A mail client can retrieve email using either POP3 or IMAP. Which option gives the common TCP ports for POP3 and IMAP, respectively?

  1. A

    TCP 110 for POP3 and TCP 143 for IMAP

  2. B

    TCP 143 for POP3 and TCP 110 for IMAP

  3. C

    UDP 110 for POP3 and UDP 143 for IMAP

  4. D

    TCP 25 for POP3 and TCP 80 for IMAP

11
Written response
1 point

A network rule must account for the common port used by Remote Desktop Protocol over both TCP and UDP. What is the port number?

12
Choose one
1 point

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?

  1. A

    HTTP/3 may be affected, and the client may try a TCP-based version of HTTP.

  2. B

    HTTP/3 may be affected, and the client must switch to UDP 80.

  3. C

    HTTP/3 is unaffected because it uses TCP 443, and the client may try UDP.

  4. D

    Only DNS may be affected, and the client may try TCP 53.

13
Open ended
1 point

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?

14
Choose one
1 point

A firewall rule must allow the common mail-transfer traffic between mail servers. Which protocol and port should it allow?

  1. A

    TCP 80 for web traffic

  2. B

    TCP 25 for mail transfer between mail servers

  3. C

    UDP 123 for clock synchronization

  4. D

    TCP 22 for remote login

15
Written response
1 point

A network administrator is allowing common NTP traffic so devices can synchronize their clocks. Which UDP port number should the rule allow?

16
Choose one
1 point

A DHCPv4 client is requesting network configuration from a DHCP server. Which port assignment matches the client and server roles?

  1. A

    UDP 67 on the client and UDP 68 on the server

  2. B

    TCP 68 on the client and TCP 67 on the server

  3. C

    UDP 68 on the client and UDP 67 on the server

  4. D

    UDP 68 on both the client and server

17
True or false
1 point

True or false: Telnet sends data without SSH’s protection.

  1. A

    True

  2. B

    False

18
Choose one
1 point

An application needs reliable, in-order delivery of a byte stream. Which transport best provides those guarantees?

  1. A

    TCP, because it provides reliable, in-order byte-stream delivery

  2. B

    UDP, because it provides reliable, in-order byte-stream delivery

  3. C

    Either one, because both provide TCP’s delivery guarantees

  4. D

    Neither, because neither uses a transport protocol

19
Written response
1 point

A firewall rule for common RDP traffic on port 3389 must account for both transports. Which two transport names should the rule include?

20
Choose one
1 point

Small DNS lookups succeed, but some larger DNS responses fail. A firewall permits UDP 53 but blocks TCP 53. What should the administrator check?

  1. A

    Block UDP 53 and keep TCP 53 blocked

  2. B

    Permit or investigate TCP 53 as well as UDP 53

  3. C

    Replace TCP 53 with UDP 67

  4. D

    Assume DNS uses only UDP and investigate only UDP 53