Transport Layer: TCP and UDP Protocols

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

What is the main purpose of TCP?

  • To provide reliability and flow control (correct)
  • To provide basic functions for delivering datagrams between applications
  • To sequence data that might arrive in wrong order
  • To establish a connection between sender and receiver

Which protocol is known as a connection-oriented protocol?

  • TCP (correct)
  • IP
  • UDP
  • HTTP

What happens if there is no acknowledgment of received data in TCP?

  • The receiver requests the data again
  • The data is retransmitted (correct)
  • The connection is closed
  • The sender waits for a certain amount of time

What is the key difference between TCP and UDP?

<p>TCP is connection-oriented, UDP is connectionless (C)</p> Signup and view all the answers

What is the primary function of UDP?

<p>To deliver datagrams between applications with minimal overhead and data checking (B)</p> Signup and view all the answers

Why is UDP known as a stateless protocol?

<p>Because it does not track information sent or received between the client and server (D)</p> Signup and view all the answers

What is the characteristic of UDP that makes it a best-effort delivery protocol?

<p>It does not provide acknowledgment that data is received at the destination (D)</p> Signup and view all the answers

What is the purpose of TCP's sequencing function?

<p>To sequence data that might arrive in wrong order (A)</p> Signup and view all the answers

What is the primary difference between TCP and UDP in terms of data arrival?

<p>UDP does not guarantee data arrival, while TCP guarantees data arrival in the correct sequence (C)</p> Signup and view all the answers

What is a key feature of TCP that ensures reliable data delivery?

<p>It retransmits lost or corrupted segments (D)</p> Signup and view all the answers

What is a benefit of TCP's flow control mechanism?

<p>It prevents network hosts from being overwhelmed with data (A)</p> Signup and view all the answers

What is the primary function of TCP's session establishment?

<p>To negotiate and establish a permanent connection between devices (D)</p> Signup and view all the answers

What type of applications typically use UDP as the transport protocol?

<p>Request-and-reply applications with minimal data (D)</p> Signup and view all the answers

What is a characteristic of TCP as a stateful protocol?

<p>It keeps track of the state of the communication session (C)</p> Signup and view all the answers

Why is TCP used in applications where data must be processed in its proper sequence?

<p>Because it ensures data arrival in the correct sequence (C)</p> Signup and view all the answers

What is a consequence of networks providing multiple routes for data transmission?

<p>Data can arrive in the wrong order (D)</p> Signup and view all the answers

What is the range of port numbers that are known as ephemeral ports?

<p>49152 to 65535 (D)</p> Signup and view all the answers

Which protocol uses port 25?

<p>SMTP (D)</p> Signup and view all the answers

What is the purpose of the netstat command?

<p>To verify and diagnose network connections (A)</p> Signup and view all the answers

What is the range of port numbers that are registered by Cisco for its RADIUS server authentication process?

<p>1812 only (B)</p> Signup and view all the answers

Which port number is used for secure communication over the internet?

<p>443 (B)</p> Signup and view all the answers

What is the purpose of the DHCP server?

<p>To assign IP addresses dynamically (C)</p> Signup and view all the answers

What is the purpose of the ACK sent by the server in Step 2?

<p>To acknowledge the receipt of the FIN from the client (D)</p> Signup and view all the answers

What is the range of port numbers that are well-known port numbers?

<p>0 to 1023 (A)</p> Signup and view all the answers

Which protocol uses port 67?

<p>DHCP Server (D)</p> Signup and view all the answers

What is the purpose of the FIN packet sent by the server in Step 3?

<p>To terminate the server-to-client session (A)</p> Signup and view all the answers

What is one of the functions of the Three-Way Handshake?

<p>To verify the destination device's presence on the network (B)</p> Signup and view all the answers

What happens to the sessions and connection after the communication is completed?

<p>They are closed, and the connection is terminated (B)</p> Signup and view all the answers

What is the primary purpose of the TCP Three-Way Handshake?

<p>To verify the destination device's presence and willingness to communicate (B)</p> Signup and view all the answers

What is the purpose of the ACK sent by the client in Step 4?

<p>To acknowledge the receipt of the FIN from the server (B)</p> Signup and view all the answers

What is the state of the connections in the netstat output?

<p>ESTABLISHED (D)</p> Signup and view all the answers

What enables the TCP reliability function?

<p>The connection and session mechanisms (D)</p> Signup and view all the answers

What is verified during the Three-Way Handshake process?

<p>The destination device's presence and active service on a specific port (A)</p> Signup and view all the answers

What is the purpose of a port number in TCP communication?

<p>To identify the application process running on the server (A)</p> Signup and view all the answers

What happens when a server application is assigned to a specific port?

<p>The transport layer accepts and processes segments addressed to that port (A)</p> Signup and view all the answers

What is the purpose of the FIN flag in the TCP communication process?

<p>To terminate a TCP connection (B)</p> Signup and view all the answers

What is the second step in the TCP connection establishment process?

<p>The server acknowledges the client-to-server communication session and requests a server-to-client communication session (C)</p> Signup and view all the answers

What is the first step in the TCP connection termination process?

<p>The client sends a segment with the FIN flag set (D)</p> Signup and view all the answers

What is true about port numbers in TCP communication?

<p>An individual server cannot have two services assigned to the same port number (A)</p> Signup and view all the answers

What is the purpose of the acknowledgement in the TCP connection establishment process?

<p>To acknowledge the server-to-client communication session (C)</p> Signup and view all the answers

Flashcards are hidden until you start studying

Related Documents

lec13-Transport Layer1.pptx

More Like This

Clases de Protocolo TCP/IP
42 questions
Untitled Quiz
9 questions

Untitled Quiz

BeautifulSpruce avatar
BeautifulSpruce
Cours INF4032 Réseaux Informatiques - Partie II
41 questions
Use Quizgecko on...
Browser
Browser