14.8 Module Practice and Quiz
What is the complete range of TCP and UDP well-known ports? - 256 - 1023 - 0 to 1023 - 0 to 255 - 1024 - 49151
- 0 to 1023 Topic 14.4.0 - There are three ranges of TCP and UDP ports. The well-know range of port numbers is from 0 - 1023.
Which number or set of numbers represents a socket? - 21 - 01-23-45-67-89-AB - 192.168.1.1:80 - 10.1.1.15
- 192.168.1.1:80 Topic 14.4.0 - A socket is defined by the combination of an IP address and a port number, and uniquely identifies a particular communication.
What is a responsibility of transport layer protocols? - providing network access - translating private IP addresses to public IP addresses - determining the best path to forward a packet - tracking individual conversations
- tracking individual conversations Topic 14.1.0 - There are three main responsibilities for transport layer protocols TCP and UDP: 1) Tracking individual conversations 2) Segmenting data and reassembling segments 3) Identifying the applications
Which two services or protocols use the preferred UDP protocol for fast transmission and low overhead? (Choose two) - HTTP - POP3 - DNS - FTP - VoIP
- DNS - VoIP Topic 14.3.0 - Both DNS and VoIP use UDP to provide low overhead services within a network implementation.
Which two flags in the TCP header are used in a TCP three-way handshake to establish connectivity between two network devices? (Choose two.) - ACK - FIN - URG - SYN - PSH - RST
- ACK - SYN Topic 14.5.0 - TCP uses the SYN and ACK flags in order to establish connectivity between two network devices.
What is a socket? - the combination of a source IP address and port number or a destination IP address and port number - the combination of the source and destination IP address and source and destination Ethernet address - the combination of the source and destination sequence and acknowledgment numbers - the combination of the source and destination sequence numbers and port numbers
- the combination of a source IP address and port number or a destination IP address and port number Topic 14.4.0 - A socket is a combination of the source IP address and source port or the destination IP address and the destination port number.
Which transport layer feature is used to establish a connection-oriented session? - UDP sequence number - TCP 3-way handshake - TCP port number - UDP ACK flag
- TCP 3-way handshake Topic 14.5.0 - TCP uses the 3-way handshake. UDP does not use this feature. The 3-way handshake ensures there is connectivity between the source and destination devices before transmission occurs.
How does a networked server manage requests from multiple clients for different services? - The server uses IP addresses to identify different services. - Each request is tracked through the physical address of the client. - The server sends all requests through a default gateway. - Each request has a combination of source and destination port numbers, coming from a unique IP address.
- Each request has a combination of source and destination port numbers, coming from a unique IP address. Topic 14.4.0 - Each service provided by a server, such as email or file transfers, uses a specific port number. The source port number of a service request identifies the client that is requesting services. The destination port number identifies the specific service. Servers do not use address information to provide services. Routers and switches use addressing information to move traffic through the network.
Which action is performed by a client when establishing communication with a server via the use of UDP at the transport layer? - The client sets the window size for the session. - The client sends a synchronization segment to begin the session. - The client randomly selects a source port number. - The client sends an ISN to the server to start the 3-way handshake.
- The client randomly selects a source port number. Topic 14.7.0 - Because a session does not have to be established for UDP, the client selects a random source port to begin a connection. The random port number selected is inserted into the source port field of the UDP header.
What happens if part of an FTP message is not delivered to the destination? - The part of the FTP message that was lost is re-sent. - The FTP source host sends a query to the destination host. - The entire FTP message is re-sent. - The message is lost because FTP does not use a reliable delivery method.
- The part of the FTP message that was lost is re-sent. Topic 14.6.0 - Because FTP uses TCP as its transport layer protocol, sequence and acknowledgment numbers will identify the missing segments, which will be re-sent to complete the message.
Network congestion has resulted in the source learning of the loss of TCP segments that were sent to the destination. What is one way that the TCP protocol addresses this? - The destination sends fewer acknowledgement messages in order to conserve bandwidth. - The destination decreases the window size. - The source decreases the amount of data that it transmits before it receives an acknowledgement from the destination. - The source decreases the window size to decrease the rate of transmission from the destination.
- The source decreases the amount of data that it transmits before it receives an acknowledgement from the destination. Topic 14.6.0 - If the source determines that the TCP segments are either not being acknowledged or are not acknowledged in a timely manner, then it can reduce the number of bytes it sends before receiving an acknowledgment. This does not involve changing the window in the segment header. The source does not decrease the window that is sent in the segment header. The window in the segment header is adjusted by the destination host when it is receiving data faster than it can process it, not when network congestion is encountered.
What type of applications are best suited for using UDP? - applications that need reliable delivery - applications that are sensitive to delay - applications that require retransmission of lost segments - applications that are sensitive to packet loss
- applications that are sensitive to delay Topic 14.3.0 - UDP is not a connection-oriented protocol and does not provide retransmission, sequencing, or flow control mechanisms. It provides basic transport layer functions with a much lower overhead than TCP. Lower overhead makes UDP suitable for applications which are sensitive to delay.
Which two operations are provided by TCP but not by UDP? (Choose two.) - retransmitting any unacknowledged data - identifying individual conversations - reconstructing data in the order received - identifying the applications - acknowledging received data
- retransmitting any unacknowledged data - acknowledging received data Topic 14.1.0 - Numbering and tracking data segments, acknowledging received data, and retransmitting any unacknowledged data are reliability operations to ensure that all of the data arrives at the destination. UDP does not provide reliability. Both TCP and UDP identify the applications and track individual conversations. UDP does not number data segments and reconstructs data in the order that it is received.
What TCP mechanism is used to enhance performance by allowing a device to continuously send a steady stream of segments as long as the device is also receiving necessary acknowledgements? - socket pair - sliding window - two-way handshake - three-way handshake
- sliding window Topic 14.6.0 - TCP uses windows to attempt to manage the rate of transmission to the maximum flow that the network and destination device can support while minimizing loss and retransmissions. When overwhelmed with data, the destination can send a request to reduce the of the window. The process of the destination sending acknowledgments as it processes bytes received and the continual adjustment of the source send window is known as sliding windows.
What is the purpose of using a source port number in a TCP communication? - to keep track of multiple conversations between devices - to assemble the segments that arrived out of order - to notify the remote device that the conversation is over - to inquire for a nonreceived segment
- to keep track of multiple conversations between devices Topic 14.4.0 - The source port number in a segment header is used to keep track of multiple conversations between devices. It is also used to keep an open entry for the response from the server. The incorrect options are more related to flow control and guaranteed delivery.