ITNW 1425: Module 26

Ace your homework & exams now with Quizwiz!

Assume a host with IP address 10.1.1.10 wants to request web services from a server at 10.1.1.254. Which of the following would display the correct socket pair? 1099:10.1.1.10, 80:10.1.1.254 10.1.1.10:80, 10.1.1.254:1099 10.1.1.10:1099, 10.1.1.254:80 80:10.1.1.10, 1099:10.1.1.254

10.1.1.10:1099, 10.1.1.254:80

What is the last segment sent to complete the termination process of a TCP session that was initiated by a client? a segment with the ACK flag set to 1 from the client a segment with the FIN flag set to 1 from the server a segment with the SYN flag set to 1 from the client a segment with the ACK flag set to 1 from the server

A segment with the ACK flag set to 1 from the client

Match each description with the corresponding TCP mechanism. received by a sender before transmitting more segments in a session method of managing segments of data loss used to identify missing segments of data number of bytes a destination device can accept and process at one time acknowledgment retransmission sequence numbers acknowledgment window size

Acknowledgment - received by a sender before transmitting more segments in a session Retransmission - method of managing segments of data loss Sequence numbers - used to identify missing segments of data Acknowledgment window size - number of bytes a destination device can accept and process at one time

Which statement correctly describes data transmission at the transport layer? Retransmission of lost packets is provided by both TCP and UDP. Segmentation is provided by the window size field when the TCP protocol is used. A single datagram can include both a TCP and a UDP header. Both UDP and TCP use port numbers. Segmentation is provided by sequence numbers when UDP is used.

Both UDP and TCP use port numbers.

Which field in the TCP header indicates the status of the three-way handshake process? window reserved checksum control bits

Control bits

Which three are transport layer responsibilities? (Choose three.) conversation multiplexing identifying frames identifying routing information segmenting data and reassembling segments tracking individual conversations

Conversation multiplexing, Segmenting data and reassembling segments, Tracking individual conversations

Which two fields are the same in a TCP and UDP header? (Choose two.) Control bits Destination port number Sequence number Source port number Well-known port number

Destination port number, Source port number

Which two flags in the Layer 4 PDU header are set by a client and server to terminate a TCP conversation? (Choose two.) URG SYN RST FIN ACK

FIN, ACK

Which two applications would use the TCP transport layer protocol? (Choose two.) FTP HTTP ICMP TFTP VoIP

FTP, HTTP

How many exchanges are needed to end both sessions between two hosts? one exchange two exchanges three exchanges four exchanges five exchanges

Four exchanges

Which TCP header statement is true? It consists of 4 fields in an 8-byte header. It consists of 8 fields in a 10-byte header. It consists of 10 fields in a 20-byte header. It consists of 20 fields in a 40-byte header.

It consists of 10 fields in a 20-byte header.

Which UDP header statement is true? It consists of 4 fields in an 8-byte header. It consists of 8 fields in a 10-byte header. It consists of 10 fields in a 20-byte header. It consists of 20 fields in a 40-byte header.

It consists of 4 fields in an 8-byte header.

Which three fields are used in a UDP segment header? (Choose three.) Window Size Length Source Port Acknowledgment Number Checksum Sequence Number

Length, Source Port, Checksum

What is a characteristic of the UDP protocol? low overhead guaranteed delivery error correction end-to-end establishment before delivery

Low overhead

Why is UDP desirable for protocols that make a simple request and reply transactions? Flow Control Low overhead Reliability Same-order delivery

Low overhead

Which Windows command would display the protocols in use, the local address and port numbers, the foreign address and port numbers, and the connection state? ipconfig /all ping netstat traceroute

Netstat

Which control bit flags are used during the three-way handshake? ACK and FIN FIN and RESET RESET and SYN SYN and ACK

SYN and ACK

What field is used by the destination host to reassemble segments into the original order? Control Bits Destination Port Sequence Number Source Port Window Size

Sequence Number

Which of the following would be valid source and destination ports for a host connecting to an email server? Source: 25, Destination: 49152 Source: 80, Destination: 49152 Source: 49152, Destination: 25 Source: 49152, Destination: 80

Source: 49152, Destination: 25

Which of the following would be valid source and destination ports for a host connecting to a DNS server? Source: 53, Destination: 49152 Source: 1812, Destination: 49152 Source: 49152, Destination: 53 Source: 49152, Destination: 1812

Source: 49152, Destination: 53

Which transport layer protocol ensures reliable same-order delivery? ICMP IP TCP UDP

TCP

Match the characteristics to the correct protocols. TCP UDP Flow control Reliable Sequence number Application dependent for error correction Efficient delivery Less overhead

TCP - Flow control UDP - Application dependent for error correction TCP - Reliable UDP - Efficient delivery TCP - Sequence number UDP - Less overhead

Match the description to either TCP or UDP. TCP UDP is connection-oriented uses acknowledgments has a large header is connectionless is suitable for delay-intolerant applications best-effort delivery protocol

TCP - is connection-oriented UDP - is connectionless TCP - uses acknowledgments UDP - is suitable for delay-intolerant applications TCP - has a large header UDP - best-effort delivery protocol

Which two applications would use the UDP transport layer protocol? (Choose two.) FTP HTTP ICMP TFTP VoIP

TFTP, VoIP

What happens when a sending host senses there is congestion? The receiving host increases the number of bytes it sends before receiving an acknowledgment from the sending host. The receiving host reduces the number of bytes it sends before receiving an acknowledgment from the sending host. The sending host increases the number of bytes it sends before receiving an acknowledgment from the destination host. The sending host reduces the number of bytes it sends before receiving an acknowledgment from the destination host.

The sending host reduces the number of bytes it sends before receiving an acknowledgment from the destination host.

Network congestion has resulted in the source learning of the loss of TCP segments that were sent to the destination. What is one way that the TCP protocol addresses this? The source decreases the amount of data that it transmits before it receives an acknowledgement from the destination. The source decreases the window size to decrease the rate of transmission from the destination. The destination decreases the window size. The destination sends fewer acknowledgement messages in order to conserve bandwidth.

The source decreases the amount of data that it transmits before it receives an acknowledgement from the destination.

What is a characteristic of a TCP server process? Every application process running on the server has to be configured to use a dynamic port number. There can be many ports open simultaneously on a server, one for each active server application. An individual server can have two services assigned to the same port number within the same transport layer services. A host running two different applications can have both configured to use the same server port.

There can be many ports open simultaneously on a server, one for each active server application.

Which layer is responsible for establishing a temporary communication session between the source and destination host applications? application layer data link layer network layer physical layer transport layer

Transport layer

Which of the following is a stateless best-effort delivery transport layer protocol? ICMP IP TCP UDP

UDP

Which transport layer protocol statement is true? TCP has fewer fields than UDP. TCP is faster than UDP. UDP is a best-effort delivery protocol. UDP provides reliability.

UDP is a best-effort delivery protocol.

What are two features of protocols used within the TCP/IP protocol stack? (Choose two.) The Internet Layer IP protocol has built in mechanisms for ensuring the reliable transmission and receipt of data. UDP is used when an application must be delivered as quickly as possible and some loss of data can be tolerated. TCP and UDP destination port numbers are dynamically generated by the sending device in order to track the responses to requests. TCP mechanisms retransmit data when an acknowledgment is not received from the destination system within a set period of time. The same Transport Layer source port is used for all of the tabs opened at the same time within a web browser.

UDP is used when an application must be delivered as quickly as possible and some loss of data can be tolerated, TCP mechanisms retransmit data when an acknowledgment is not received from the destination system within a set period of time.

Which UDP datagram reassembly statement is true? UDP does not reassemble the data. UDP reassembles the data in the order that it was received. UDP reassembles the data using control bits. UDP reassembles the data using sequence numbers.

UDP reassembles the data in the order that it was received.

Which transport layer protocol would be used for VoIP applications? Session Information Protocol (SIP) Transmission Control Protocol (TCP) User Datagram Protocol (UDP) VoIP Transfer Protocol

User Datagram Protocol (UDP)

Which port group includes port numbers for FTP, HTTP, and TFTP applications? dynamic ports private ports registered ports well-known ports

Well-known ports

What field is used to provide flow control? Control Bits Destination Port Sequence Number Source Port Window Size

Window Size


Related study sets

Chapter 2 - Business Ethics and Social Responsibility

View Set

Cross Cultural Organizational Psychology

View Set

RN Adult Medical Surgical Online Practice 2023 B

View Set

Week 8 C++ Inheritance and MultiInheritance

View Set

HISTORY: Cold War Worksheet 1: The Berlin Blockade

View Set

Unit Review: A Look Back. WARNING: THIS SET IS ONLY FOR PEOPLE WHO WANT TO STUDY HARD.

View Set