CCNA V4 Chap 4

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Okaywecomebackno
O
Okaywecomebackno
Community Contributor
Quizzes Created: 2 | Total Attempts: 382
Questions: 21 | Attempts: 210

SettingsSettingsSettings
CCNA V4 Chap 4 - Quiz


Questions and Answers
  • 1. 

    Refer to the exhibit. What two pieces of information can be determined from the output that is shown? (Choose two.)

    • A.

      The local host is using three client sessions.

    • B.

      The local host is using web sessions to a remote server.

    • C.

      The local host is listening for TCP connections using public addresses.

    • D.

      The local host is using well-known port numbers to identify the source ports.

    • E.

      The local host is performing the three-way handshake with 192.168.1.101:1037.

    Correct Answer(s)
    A. The local host is using three client sessions.
    B. The local host is using web sessions to a remote server.
    Explanation
    From the output shown, we can determine that the local host is using three client sessions and is using web sessions to a remote server. The output does not provide information about the local host listening for TCP connections using public addresses, using well-known port numbers to identify the source ports, or performing the three-way handshake with a specific IP address and port number.

    Rate this question:

  • 2. 

    After a web browser makes a request to a web server that is listening to the standard port, what will be the source port number in the TCP header of the response from the server?

    • A.

      13

    • B.

      53

    • C.

      80

    • D.

      1024

    • E.

      1728

    Correct Answer
    C. 80
    Explanation
    When a web browser makes a request to a web server listening on the standard port, the source port number in the TCP header of the response from the server will be 80. The source port number is used to identify the sending application or process, and in this case, port 80 is the default port for HTTP (Hypertext Transfer Protocol) which is used for web communication. Therefore, the response from the server will have a source port number of 80.

    Rate this question:

  • 3. 

    Which information is found in both the TCP and UDP header information?

    • A.

      Sequencing

    • B.

      Flow control

    • C.

      Acknowledgments

    • D.

      Source and destination

    Correct Answer
    D. Source and destination
    Explanation
    Both TCP and UDP headers contain information about the source and destination of the data being transmitted. This information is crucial for establishing a connection between the sender and receiver and ensuring that the data reaches the intended destination. The source and destination addresses are used to route the data packets across the network, allowing for successful communication between devices.

    Rate this question:

  • 4. 

    Which is an important characteristic of UDP?

    • A.

      Acknowledgement of data delivery

    • B.

      Minimal delays in data delivery

    • C.

      High reliability of data delivery

    • D.

      Same order data delivery

    Correct Answer
    B. Minimal delays in data delivery
    Explanation
    UDP (User Datagram Protocol) is a connectionless protocol that operates at the transport layer of the internet protocol suite. Unlike TCP, UDP does not provide acknowledgement of data delivery, high reliability, or same order data delivery. However, one important characteristic of UDP is minimal delays in data delivery. This means that UDP prioritizes speed over reliability, making it suitable for applications that require real-time data transmission, such as streaming media or online gaming.

    Rate this question:

  • 5. 

    Refer to the exhibit. Host A is using FTP to download a large file from Server 1. During the download process, Server 1 does not receive an acknowledgment from Host A for several bytes of transferred data. What action will Server 1 take as a result?

    • A.

      Create a Layer 1 jam signal

    • B.

      Reach a timeout and resend the data that needs to be acknowledged

    • C.

      Send a RESET bit to the host

    • D.

      Change the window size in the Layer 4 header

    Correct Answer
    B. Reach a timeout and resend the data that needs to be acknowledged
    Explanation
    If Server 1 does not receive an acknowledgment from Host A for several bytes of transferred data, it indicates that the data may have been lost or not received properly. In this case, Server 1 will reach a timeout and resend the data that needs to be acknowledged. This is a common error recovery mechanism in networking protocols, where if an acknowledgment is not received within a certain time frame, the sender assumes that the data was not received and retransmits it to ensure successful delivery.

    Rate this question:

  • 6. 

     Refer to the exhibit. In line 7 of this Wireshark capture, what TCP operation is being performed?

    • A.

      Session establishment

    • B.

      Segment retransmit

    • C.

      Data transfer

    • D.

      Session disconnect

    Correct Answer
    A. Session establishment
    Explanation
    In line 7 of the Wireshark capture, the TCP operation being performed is session establishment. This can be inferred from the fact that the TCP handshake process is taking place, which includes the SYN and ACK flags being exchanged between the source and destination IP addresses. This initial exchange is necessary for establishing a connection between the two endpoints before any data transfer can occur.

    Rate this question:

  • 7. 

    7.Refer to the exhibit. The initial TCP exchange of data between two hosts is shown in the exhibit. Assuming an initial sequence number of 0, what sequence number will be included in Acknowledgment 2 if Segment 6 is lost?

    • A.

      3431

    • B.

      2

    • C.

      3

    • D.

      6

    • E.

      1850

    • F.

      3475

    Correct Answer
    A. 3431
    Explanation
    In the given exhibit, the initial TCP exchange of data between two hosts is shown. The sequence numbers of the segments are as follows: Segment 1 - 0, Segment 2 - 3431, Segment 3 - 6862, Segment 4 - 10293, Segment 5 - 13724. Since Segment 6 is lost, the acknowledgment number in Acknowledgment 2 will be the next expected sequence number, which is 3431. Therefore, the correct answer is 3431.

    Rate this question:

  • 8. 

    Why is flow control used for TCP data transfer?

    • A.

      To synchronize equipment speed for sent data

    • B.

      To synchronize and order sequence numbers so data is sent in complete numerical order

    • C.

      To prevent the receiver from being overwhelmed by incoming data

    • D.

      To synchronize window size on the server

    • E.

      To simplify data transfer to multiple hosts

    Correct Answer
    C. To prevent the receiver from being overwhelmed by incoming data
    Explanation
    Flow control is used in TCP data transfer to prevent the receiver from being overwhelmed by incoming data. This is achieved by regulating the rate at which data is sent from the sender to the receiver. By using flow control mechanisms, the receiver can inform the sender about its current capacity to receive data, allowing the sender to adjust its transmission rate accordingly. This ensures that the receiver can handle the incoming data without being overloaded, preventing data loss and ensuring reliable delivery.

    Rate this question:

  • 9. 

    During a TCP communication session, if the packets arrive to the destination out of order, what will happen to the original message?

    • A.

      The packets will not be delivered.

    • B.

      The packets will be retransmitted from the source.

    • C.

      The packets will be delivered and reassembled at the destination.

    • D.

      The packets will be delivered and not reassembled at the destination.

    Correct Answer
    C. The packets will be delivered and reassembled at the destination.
    Explanation
    When packets arrive out of order during a TCP communication session, they are reassembled at the destination. TCP uses sequence numbers to ensure that packets are delivered in the correct order. If packets arrive out of order, the destination device will use these sequence numbers to rearrange them and reconstruct the original message. This ensures that the message is delivered correctly, even if the packets arrive in a different order than they were sent.

    Rate this question:

  • 10. 

    With TCP/IP data encapsulation, which range of port numbers identifies all well-known applications?

    • A.

      0 to 255

    • B.

      256 to 1022

    • C.

      0 to 1023

    • D.

      1024 to 2047

    • E.

      49153 to 65535

    Correct Answer
    C. 0 to 1023
    Explanation
    The range of port numbers 0 to 1023 identifies all well-known applications in TCP/IP data encapsulation. Well-known applications are those that are commonly used and have standardized port numbers assigned to them. These port numbers are reserved for specific services such as HTTP (port 80), FTP (port 21), and SSH (port 22).

    Rate this question:

  • 11. 

    Which transport layer protocol provides low overhead and would be used for applications which do not require reliable data delivery?

    • A.

      UDP

    • B.

      IP

    • C.

      TCP

    • D.

      HTTP

    • E.

      DNS

    Correct Answer
    A. UDP
    Explanation
    UDP (User Datagram Protocol) is a transport layer protocol that provides low overhead and is used for applications that do not require reliable data delivery. Unlike TCP, UDP does not establish a connection or provide error checking and retransmission of lost packets. It is commonly used for real-time applications such as streaming media, online gaming, and VoIP, where a small amount of data loss is acceptable in exchange for reduced latency and faster transmission. UDP is also used for DNS (Domain Name System) queries, where speed and efficiency are prioritized over reliability.

    Rate this question:

  • 12. 

    What are two features of the User Datagram Protocol (UDP)? (Choose two.)

    • A.

      Flow control

    • B.

      Low overhead

    • C.

      Connectionless

    • D.

      Connection-oriented

    • E.

      Sequence and acknowledgements

    Correct Answer(s)
    B. Low overhead
    C. Connectionless
    Explanation
    UDP has two main features: low overhead and connectionless.

    Low overhead refers to the fact that UDP does not have the additional protocols and mechanisms for error recovery and flow control that are present in connection-oriented protocols like TCP. This results in less processing and memory usage, making UDP a lightweight protocol.

    Connectionless means that UDP does not establish a dedicated connection before transmitting data. Instead, it simply sends data packets without any prior setup. This makes UDP faster and more efficient for applications that do not require reliable and ordered delivery of data.

    Therefore, the correct answer is low overhead and connectionless.

    Rate this question:

  • 13. 

    What mechanism is used by TCP to provide flow control as segments travel from source to destination?

    • A.

      Sequence numbers

    • B.

      Session establishment

    • C.

      Window size

    • D.

      Acknowledgments

    Correct Answer
    C. Window size
    Explanation
    TCP uses the mechanism of window size to provide flow control as segments travel from source to destination. The window size represents the amount of data that the receiving end can accept before it needs the sender to pause and wait for acknowledgment. By adjusting the window size, TCP ensures that the sender does not overwhelm the receiver with data, preventing congestion and ensuring efficient data transfer.

    Rate this question:

  • 14. 

    What is dynamically selected by the source host when forwarding data?

    • A.

      Destination logical address

    • B.

      Source physical address

    • C.

      Default gateway address

    • D.

      Source port

    Correct Answer
    D. Source port
    Explanation
    The source host dynamically selects the source port when forwarding data. The source port is a number that helps identify which application or process on the source host is sending the data. It is randomly assigned by the operating system and is used in conjunction with the destination port to establish a connection between the source and destination hosts.

    Rate this question:

  • 15. 

    Why are port numbers included in the TCP header of a segment?

    • A.

      To indicate the correct router interface that should be used to forward a segment

    • B.

      To identify which switch ports should receive or forward the segment

    • C.

      To determine which Layer 3 protocol should be used to encapsulate the data

    • D.

      To enable a receiving host to forward the data to the appropriate application

    • E.

      To allow the receiving host to assemble the packet in the proper order

    Correct Answer
    D. To enable a receiving host to forward the data to the appropriate application
    Explanation
    Port numbers are included in the TCP header of a segment to enable a receiving host to forward the data to the appropriate application. Each application running on a host is assigned a unique port number, and by including this information in the TCP header, the receiving host knows which application should receive the data. This allows for proper delivery and processing of the data by the intended application.

    Rate this question:

  • 16. 

    Which two options represent Layer 4 addressing? (Choose two.)

    • A.

      Identifies the destination network

    • B.

      Identifies source and destination hosts

    • C.

      Identifies the communicating applications

    • D.

      Identifies multiple conversations between the hosts

    • E.

      Identifies the devices communicating over the local media

    Correct Answer(s)
    C. Identifies the communicating applications
    D. Identifies multiple conversations between the hosts
    Explanation
    Layer 4 addressing is responsible for identifying the communicating applications and multiple conversations between the hosts. This layer is known as the transport layer and is responsible for ensuring reliable delivery of data between hosts. The identifying of communicating applications helps in determining which application or service is sending or receiving the data. The identification of multiple conversations between the hosts helps in distinguishing different streams of data between the same hosts.

    Rate this question:

  • 17. 

    Which three features allow TCP to reliably and accurately track the transmission of data from source to destination?

    • A.

      Encapsulation

    • B.

      Flow control

    • C.

      Connectionless services

    • D.

      Session establishment

    • E.

      Numbering and sequencing

    • F.

      Best effort delivery

    Correct Answer(s)
    B. Flow control
    D. Session establishment
    E. Numbering and sequencing
    Explanation
    Flow control allows TCP to manage the rate at which data is sent to ensure that the receiving end can handle the incoming data. This helps prevent overwhelming the receiver and potential data loss. Session establishment refers to the process of setting up a connection between the source and destination, which allows for reliable and accurate tracking of data transmission. Numbering and sequencing involve assigning a unique number to each data segment and arranging them in the correct order, ensuring that the data is received accurately and reconstructed correctly at the destination.

    Rate this question:

  • 18. 

    Which OSI model layer is responsible for regulating the flow of information from source to destination, reliably and accurately?

    • A.

      Application

    • B.

      Presentation

    • C.

      Session

    • D.

      Transport

    • E.

      Network

    Correct Answer
    D. Transport
    Explanation
    The transport layer is responsible for regulating the flow of information from source to destination, reliably and accurately. This layer ensures that data is delivered in the correct order, without errors or loss, by providing mechanisms such as error detection and correction, flow control, and sequencing. It also handles segmentation and reassembly of data packets, allowing large amounts of data to be broken down into smaller, manageable units for transmission.

    Rate this question:

  • 19. 

     Based on the transport layer header shown in the diagram, which of the following statements describe the established session? (Choose two.)

    • A.

      This is a UDP header.

    • B.

      This contains a Telnet request.

    • C.

      This contains a TFTP data transfer.

    • D.

      The return packet from this remote host will have an Acknowledgement Number of 43693

    • E.

      This is a TCP header.

    Correct Answer(s)
    B. This contains a Telnet request.
    E. This is a TCP header.
    Explanation
    The given transport layer header indicates that the session is established using TCP, as mentioned in the answer. Additionally, the header contains a Telnet request, which suggests that the session is being used for Telnet communication.

    Rate this question:

  • 20. 

    Which event occurs during the transport layer three-way handshake?

    • A.

      The two applications exchange data.

    • B.

      TCP initializes the sequence numbers for the sessions.

    • C.

      UDP establishes the maximum number of bytes to be sent

    • D.

      The server acknowledges the bytes of data received from the client.

    Correct Answer
    B. TCP initializes the sequence numbers for the sessions.
    Explanation
    During the transport layer three-way handshake, TCP initializes the sequence numbers for the sessions. This process is crucial for establishing a reliable connection between the client and server. The sequence numbers are used to keep track of the order of data packets being sent and received, ensuring that they are delivered in the correct order. By initializing these sequence numbers, TCP can effectively manage the flow of data and ensure reliable communication between the two applications.

    Rate this question:

  • 21. 

    Refer to the exhibit. Host1 is in the process of setting up a TCP session with Host2. Host1 has sent a SYN message to begin session establishment. What happens next?

    • A.

      Host1 sends a segment with the ACK flag = 0, SYN flag = 0 to Host2.

    • B.

      Host1 sends a segment with the ACK flag = 1, SYN flag = 0 to Host2.

    • C.

      Host1 sends a segment with the ACK flag = 1, SYN flag = 1 to Host2.

    • D.

      Host2 sends a segment with the ACK flag = 0, SYN flag = 1 to Host1.

    • E.

      Host2 sends a segment with the ACK flag = 1, SYN flag = 0 to Host1.

    • F.

      Host2 sends a segment with the ACK flag = 1, SYN flag = 1 to Host1.

    Correct Answer
    F. Host2 sends a segment with the ACK flag = 1, SYN flag = 1 to Host1.
    Explanation
    After receiving the SYN message from Host1, Host2 will respond by sending a segment with the ACK flag set to 1 and the SYN flag set to 1. This segment is known as a SYN-ACK segment and is used to acknowledge the receipt of the SYN message from Host1 and to initiate the session establishment process. The ACK flag being set to 1 indicates that Host2 acknowledges the receipt of the SYN message, and the SYN flag being set to 1 indicates that Host2 is also requesting to establish a session with Host1.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Aug 14, 2014
    Quiz Created by
    Okaywecomebackno
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.