Transport Layer: TCP and UDP Protocols
40 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

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</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</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</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</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</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</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</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</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</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</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</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</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</p> Signup and view all the answers

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

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

    Which protocol uses port 25?

    <p>SMTP</p> Signup and view all the answers

    What is the purpose of the netstat command?

    <p>To verify and diagnose network connections</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</p> Signup and view all the answers

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

    <p>443</p> Signup and view all the answers

    What is the purpose of the DHCP server?

    <p>To assign IP addresses dynamically</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</p> Signup and view all the answers

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

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

    Which protocol uses port 67?

    <p>DHCP Server</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</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</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</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</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</p> Signup and view all the answers

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

    <p>ESTABLISHED</p> Signup and view all the answers

    What enables the TCP reliability function?

    <p>The connection and session mechanisms</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</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</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</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</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</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</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</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</p> Signup and view all the answers

    More Like This

    Transport Layer Protocols
    27 questions

    Transport Layer Protocols

    PromisedWaterfall avatar
    PromisedWaterfall
    TCP/IP Transport Layer
    40 questions

    TCP/IP Transport Layer

    IntelligentJasper852 avatar
    IntelligentJasper852
    Clases de Protocolo TCP/IP
    42 questions
    Use Quizgecko on...
    Browser
    Browser