Exam 2 Flashcards
(91 cards)
Consider the latency model for dynamic congestion windows. Which of the following components contribute to latency?
-round trip time, RTT
-the transmission time of the object, O/R
-the sum of all the stalled times
-all of the above
all of the above
When a TCP segment arrives to a host, the socket to which the segment is directed depends on
-the destination port number
-the source port number
-the source IP address of the datagram that encapsulated the segment
-all of the above
all of the above
UDP has which of the following characteristics
-three-way hand shake for connection establishment
-connection state at the server
-regulated send rate
-none of the above
none of the above
When a UDP segment arrives to a host, in order to direct the segment to the appropriate socket, the OS uses
the destination port number
The stop-and-wait protocol is highly inefficient when
when there is a large distance between the source and destination and the transmission rate is high
Pipelining requires which of the following
-transmitting many packets before receiving acknowledgements
-unique sequence numbers for each in-transit packet
-sender-side buffering of unacknowledged packets
-all of the above
all of the above
TF: Consider an HTTP Web server using persistent connections. Suppose the server spawns a separate process for each client that connects to the server. Then each of these spawned processes will have different server port numbers.
False
TF: Host A is sending host B a large file over a TCP connection. Assume host B has no data to send host A. Host B will not send acknowledgements to host A because host B cannot piggyback the acknowledgments on data.
False
TF: The size of the TCP RcvWindow never changes throughout the duration of the connection.
False
TF: Suppose host A is sending a large file to host B over a TCP connection. If the sequence number for a segment of this connection is m, then the sequence number for the subsequent segment will necessarily be m+1.
False
TF: The TCP segment has a field in its header for RcvWindow.
True
TF: Suppose that the last SampleRTT in a TCP connection is equal to 1 sec. Then Timeout for the connection will necessarily be set to a value >= 1 sec.
False
TF: Suppose host A sends hostB one segment with sequence number 38 and 4 bytes of data. Then in the same segment the acknowledgment number is necessarily 42.
False
TF: Suppose that host A wants to send data over TCP to host B, and host B wants to send data to host A over TCP. Two separate connections - one for each direction - are needed.
False
TF: The MSS is the maximum size of a TCP segment including headers.
False
TF: In TCP, the acknowledgment number that a host puts in a segment is the sequence number of the next byte the host is expecting from the sender.
True
Provides authoritative hostname to IP mappings for organizations named hosts.
Authoritative DNS server
Replies to DNS query by local host, by contacting other DNS servers to answer the query.
Local DNS server
Responsible for a domain (e.g. *.com, *.edu); knows how to contact authoritative name servers.
Top Level Domain (TLD) servers
Highest level of the DNS hierarchy, knows how to reach servers responsible for a given domain (e..g. *.com, *.edu)
DNS root servers
What is the value of caching in the local DNS name server? Check all that apply.
DNS caching results in less load elsewhere in DNS, when the reply to a query is found in the local cache.
DNS caching provides faster replies, if the reply to the query is found in the cache.
What information does the type “A” resource record hold in the DNS database? Check all that apply.
A hostname and an IP address
Check all of the phrases below that state a true property of a local DNS server.
The local DNS server record for a remote host is sometimes different from that of the authoritative server for that host.
The local DNS server can decrease the name-to-IP-address resolution time experienced by a querying local host over the case when a DNS is resolved via querying into the DNS hierarchy.
What is the role of an authoritative name server in the DNS. (Check all that apply)
It provides the definitive answer to the query with respect to a name in the authoritative name server’s domain.