Chapter 4 Flashcards
(21 cards)
Which port number is used by HTTP?
A. 23
B. 80
C. 53
D. 110
B. Port 80 is the standard port number used with HTTP. Port 23 is Telnet, port 20 is FTP, and port 110 is POP3.
Which port number is used with SMTP?
A. 20
B. 23
C. 25
D. 143
C. Port number 25 is used for SMTP.
Which characteristics are part of TCP? (Choose two.)
A. Reliable
B. Connectionless
C. No flow control
D. Resends anything not received
A, D. TCP is a reliable, connection-oriented protocol.
At the transport layer, which of the following controls is used to keep a transmitting host from overflowing the buffers of a receiving host?
A. Best effort
B. Encryption
C. Flow control
D. Congestion avoidance
C. TCP uses flow control to avoid buffer overflows.
End systems use port numbers to select the proper application. What is the lowest port number that can be dynamically assigned by the host system?
A. 1
B. 128
C. 256
D. 1024
D. Port numbers 0 to 1023 are the well-known () ports. Port numbers 1024 to 49151
are the registered ports and are used by the host for dynamic port allocation. Port numbers 49152 to 65535 are the private and dynamic ports
During data transfer, what is the receiving host responsible for? (Choose the best two answers.)
A. Encapsulation
B. Bandwidth
C. Segmentation
D. Acknowledgment
E. Reassembly
D, E. The receiving host has to acknowledge receipt of the packets and then reassemble
them in the right order
What are the transport layer’s responsibilities?
Answers could vary and could include (a) keeping track of the individual conversations
taking place between applications on the source and destination hosts, (b) segmenting
data and adding a header to identify and manage each segment, (c) using the header
information to reassemble the segments into application data, and (d) passing the
assembled data to the correct application.
Why does TCP use a sequence number in the header?
A. To reassemble the segments into data
B. To identify the application layer protocol
C. To indicate the number of the next expected byte
D. To show the maximum number of bytes allowed during a session
A. Sequence numbers are used in the TCP headers because segments could arrive at
their destination in a different order than when they were sent. The numbers allow the
receiving host to reassemble them in the proper order.
Which of the following determines how much data a sending host running TCP/IP can transmit before it must receive an acknowledgment?
A. Segment size
B. Transmission rate
C. Bandwidth
D. Window size
D. In TCP, window size is used to manage flow control.
What is the purpose of TCP/UDP port numbers?
A. To indicate the beginning of a three-way handshake
B. To reassemble the segments into the correct order
C. To identify the number of data packets that can be sent without acknowledgment
D. To track the different conversations crossing the network at the same time
D. Port numbers allow you to track multiple conversations generated by the same host
using the same IP address.
What does segmentation provide to communications?
Segmentation of the data, in accordance with transport layer protocols, provides the
means to both send and receive data when running multiple applications concurrently
on a computer.
In networking terms, what is reliability?
Reliability means ensuring that each segment that the source sends arrives at the
destination.
List three network applications that use TCP.
Web browsing, e-mail, file transfer
List three network applications that use UDP.
DNS, video streaming, Voice over IP (VoIP).
What is contained in the header of each segment or datagram?
The source and destination port number.
What is the purpose of sequence numbers?
A sequence number allows the transport layer function on the destination host to
reassemble segments in the order in which they were transmitted.
Which acknowledgment number should be sent by the receiver shown in Figure 4-18?
- The acknowledgment number is always one more than the last segment received
What is the protocol number for UDP?
A. 1
B. 3
C. 6
D. 17
D. A flag is set in the segment header. If this flag actually reads 17, it is identified as a
UDP header
What is the default DNS port number?
A. 1025
B. 53
C. 110
D. 143
B. Port 53 is used for DNS.
What is the netstat utility used for on a host?
Netstat
Explain an expectational acknowledgment.
TCP uses the acknowledgment number in segments sent back to the source to indicate
the next byte in this session that the receiver expects to receive.