Ttyj Flashcards
Which action is performed by a client when establishing communication with a server via the use of UDP at the transport layer?
The client randomly selects a source port number.
Which transport layer feature is used to guarantee session establishment?
TCP 3-way handshake
What is the complete range of TCP and UDP well-known ports?
0 to 1023
What is a socket?
the combination of a source IP address and port number or a destination IP address and port number
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?
10 segments
Which factor determines TCP window size?
the amount of data the destination can process at one time
What does a client do when it has UDP datagrams to send?
It just sends the datagrams.
P Which three fields are used in a UDP segment header? (Choose three.)
Length
Source Port
Checksum
What are two roles of the transport layer in data communication on a network? (Choose two.)
identifying the proper application for each communication stream..
tracking the individual communication between applications on the source and destination hosts
What information is used by TCP to reassemble and reorder received segments?
sequence numbers
What important information is added to the TCP/IP transport layer header to ensure communication and connectivity with a remote network device?
destination and source port numbers
Which two characteristics are associated with UDP sessions? (Choose two.)
Destination devices receive traffic with minimal delay.
Received data is unacknowledged.
Which flag in the TCP header is used in response to a received FIN in order to terminate connectivity between two network devices?
ACK
Which protocol or service uses UDP for a client-to-server communication and TCP for server-to-server communication?
DNS
What is a characteristic of UDP?
UDP reassembles the received datagrams in the order they were received.
What kind of port must be requested from IANA in order to be used with a specific application?
registered port
Which three application layer protocols use TCP? (Choose three.)
SMTP
FTP
HTTP
Which three statements characterize UDP? (Choose three.)
UDP provides basic connectionless transport layer functions.
UDP relies on application layer protocols for error detection.
UDP is a low overhead protocol that does not provide sequencing or flow control mechanisms.
Which two fields are included in the TCP header but not in the UDP header? (Choose two.)
-Window
-Sequence number
Which field in the TCP header indicates the status of the three-way handshake process?
control bits
Why does HTTP use TCP as the transport layer protocol?
because HTTP requires reliable delivery
Which two types of applications are best suited for UDP? (Choose two.)
applications that handle reliability themselves
applications that can tolerate some data loss, but require little or no delay
How are port numbers used in the TCP/IP encapsulation process?
If multiple conversations occur that are using the same service, the source port number is used to track the separate conversations.
In what two situations would UDP be better than TCP as the preferred transport protocol? (Choose two.)
when a faster delivery mechanism is needed
when applications do not need to guarantee delivery of the data