Chapter 9
TCP and UDP Protocols Quiz
Test your knowledge of TCP and UDP protocols with this comprehensive quiz designed for students and professionals alike. This quiz covers essential concepts, features, and differences between these important transport layer protocols.
Prepare to challenge yourself with questions that include:
- Characteristics of TCP and UDP
- Understanding of port numbers and sockets
- Applications that use TCP or UDP
Which two characteristics are associated with UDP sessions? (choose two)
Destination devices recieve traffic with minimal delay
Transmitted data segments are tracked
Destination devices reassemble messages and pass them to an application
Unacknowledged data packets are retransmitted
What happens if part of an FTP message is not delivered to the destination?
The message is lost because FTP does not use a reliable delivery method.
The FTP source host sends a query to the destination host.
The part of the FTP message that was lost is re-sent.
The entire FTP message is re-sent.
A host device needs to send a large video file across the network while providing data communication to other users. Which feature will allow different communication streams to occur at the same time, without having a single data stream using all available bandwidth?
Window size
Multiplexing
Port numbers
Acknowledgments
What kind of port must be requested from IANA in order to be used with a specific application?
Registered port
Private port
Dynamic port
Source port
What type of information is included in the transport header?
Destination and source logical addresses
Destination and source physical addresses
Destination and source port numbers
Encoded application data
What is a socket?
The combination of the source and destination IP address and source and destination Ethernet address
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 sequence and acknowledgment numbers
The combination of the source and destination sequence numbers and port numbers
What is the complete range of TCP and UDP well-known ports?
0 to 255
0 to 1023
256 – 1023
1024 – 49151
Which flag in the TCP header is used in response to a received FIN in order to terminate connectivity between two network devices?
FIN
ACK
SYN
RST
What is a characteristic of a TCP server process?
Every application process running on the server has to be configured to use a dynamic port number.
There can be many ports open simultaneously on a server, one for each active server application.
An individual server can have two services assigned to the same port number within the same transport layer services.
A host running two different applications can have both configured to use the same server port.
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
PSH
RST
SYN
URG
A PC is downloading a large file from a server. The TCP window is 1000 bytes. The server is sending the file using 100-byte segments. How many segments will the server send before it requires an acknowledgment from the PC?
1 segment
10 segments
100 segments
1000 segments
Which factor determines TCP window size?
The amount of data to be transmitted
The number of services included in the TCP segment
The amount of data the destination can process at one time
The amount of data the source is capable of sending at one time
During a TCP session, a destination device sends an acknowledgment number to the source device. What does the acknowledgment number represent?
The total number of bytes that have been received
One number more than the sequence number
The next byte that the destination expects to receive
The last sequence number that was sent by the source
What information is used by TCP to reassemble and reorder received segments?
Port numbers
Sequence numbers
Acknowledgment numbers
Fragment numbers
What does TCP do if the sending source detects network congestion on the path to the destination?
The source host will send a request for more frequent acknowledgments to the destination.
The source will decrease the amount of data that it sends before it must receive acknowledgements from the destination.
The destination will request retransmission of the entire message.
The source will acknowledge the last segment that is sent and include a request for a smaller window size in the message.
What is a characteristic of UDP?
UDP datagrams take the same path and arrive in the correct order at the destination.
Applications that use UDP are always considered unreliable.
UDP reassembles the received datagrams in the order they were received.
UDP only passes data to the network when the destination is ready to receive the data.
What does a client do when it has UDP datagrams to send?
It just sends the datagrams.
It queries the server to see if it is ready to receive data.
It sends a simplified three-way handshake to the server.
It sends to the server a segment with the SYN flag set to synchronize the conversation.
What happens if the first packet of a TFTP transfer is lost?
The client will wait indefinitely for the reply.
The TFTP application will retry the request if a reply is not received.
The next-hop router or the default gateway will provide a reply with an error code.
The transport layer will retry the query if a reply is not received.
A host device is receiving live streaming video. How does the device account for video data that is lost during transmission?
The device will immediately request a retransmission of the missing data.
The device will use sequence numbers to pause the video stream until the correct data arrives.
The device will delay the streaming video until the entire video stream is received.
The device will continue receiving the streaming video, but there may be a momentary disruption.
Why does HTTP use TCP as the transport layer protocol?
To ensure the fastest possible download speed
Because HTTP is a best-effort protocol
Because transmission errors can be tolerated easily
Because HTTP requires reliable delivery
When is UDP preferred to TCP?
When a client sends a segment to a server
When all the data must be fully received before any part of it is considered useful
When an application can tolerate some loss of data during transmission
When segments must arrive in a very specific sequence to be processed successfully
Refer to the exhibit. Consider a datagram that originates on the PC and that is destined for the web server. Match the IP addresses and port numbers that are in that datagram to the description. (Not all options are used.)
0%
0
{"name":"Chapter 9", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of TCP and UDP protocols with this comprehensive quiz designed for students and professionals alike. This quiz covers essential concepts, features, and differences between these important transport layer protocols.Prepare to challenge yourself with questions that include:Characteristics of TCP and UDPUnderstanding of port numbers and socketsApplications that use TCP or UDP","img":"https:/images/course7.png"}
More Quizzes
Quiz on DHCP of Grade 11-ICT (December 3, 2019)
10516
Grila RC cox
512623
IT 377 Exam 2 MC 15-28
14714
Computer
1166
CIS 1102 Prefinal - Networking Basics
86430
IT210
402020
CSS3-2Q-QUIZ1
311622
W15 Networks 2I Seminar 15
3225
Network basics
8427
CS 140 Introduction to Operating Systems
201031
Introduction to Data Communications - COSC
392045
Networking Concepts
8428