21A client sends an HTTP request from ephemeral port 49160 to a web server. Which source and destination port pair will normally appear in the request segment?
Port addresses
Medium
A.Source 53, destination 49160
B.Source 80, destination 49160
C.Source 49160, destination 53
D.Source 49160, destination 80
Correct Answer: Source 49160, destination 80
Explanation:
The client uses an ephemeral source port, while a standard HTTP server normally listens on well-known port 80.
Incorrect! Try again.
22Two browser tabs on one computer connect to the same web server and destination port. How can the transport layer distinguish their connections?
Port addresses
Medium
A.By changing the server IP address
B.By changing the transport protocol
C.By assigning different destination ports
D.By assigning different source ports
Correct Answer: By assigning different source ports
Explanation:
Different source port numbers allow multiple client processes to communicate simultaneously with the same server endpoint.
Incorrect! Try again.
23A server has IP address 192.0.2.15 and listens for HTTPS traffic on port 443. Which value represents its socket address?
Socket address
Medium
A.443:192.0.2.15
B.192.0.2.443:15
C.192.0.2.15:443
D.192.0.2.15:80
Correct Answer: 192.0.2.15:443
Explanation:
A socket address combines an IP address with a port number and is commonly written as IP:port.
Incorrect! Try again.
24Which set of values uniquely identifies a TCP connection between two hosts?
Socket address
Medium
A.Source and destination MAC addresses
B.Source IP and destination port only
C.Source port and destination IP only
D.Source and destination socket addresses
Correct Answer: Source and destination socket addresses
Explanation:
A TCP connection is identified by source IP, source port, destination IP, and destination port—the two endpoint socket addresses.
Incorrect! Try again.
25A live voice application prefers timely delivery and can tolerate occasional packet loss. Why is UDP often selected?
User Datagram Protocol (UDP)
Medium
A.It establishes a reliable byte-stream connection
B.It adjusts its sending window after every loss
C.It avoids connection setup and retransmission delays
D.It guarantees delivery using cumulative acknowledgments
Correct Answer: It avoids connection setup and retransmission delays
Explanation:
UDP has low overhead and does not delay current data while retransmitting older lost data, making it suitable for real-time traffic.
Incorrect! Try again.
26A UDP datagram has a total length of 508 bytes. How many bytes belong to application data?
User Datagram Protocol (UDP)
Medium
A.508 bytes
B.504 bytes
C.500 bytes
D.488 bytes
Correct Answer: 500 bytes
Explanation:
The UDP header is 8 bytes, so the application data length is bytes.
Incorrect! Try again.
27A UDP receiver detects a checksum mismatch in an arriving datagram. What is the normal transport-layer response?
User Datagram Protocol (UDP)
Medium
A.Discard the corrupted datagram
B.Request selective retransmission
C.Reset the UDP connection
D.Correct the corrupted payload
Correct Answer: Discard the corrupted datagram
Explanation:
UDP can detect corruption using its checksum but does not provide error recovery or retransmission; damaged datagrams are discarded.
Incorrect! Try again.
28A TCP sender transmits 600 bytes beginning with sequence number 2400. If all bytes arrive correctly, what acknowledgment number should the receiver send?
Transmission Control Protocol (TCP)
Medium
A.2999
B.3000
C.3001
D.2401
Correct Answer: 3000
Explanation:
TCP acknowledges the next byte expected. The transmitted bytes are numbered 2400 through 2999, so the acknowledgment is 3000.
Incorrect! Try again.
29A TCP receiver advertises a window of 4000 bytes, and 1500 transmitted bytes remain unacknowledged. How much additional data may the sender transmit?
Transmission Control Protocol (TCP)
Medium
A.1500 bytes
B.2500 bytes
C.4000 bytes
D.5500 bytes
Correct Answer: 2500 bytes
Explanation:
The available receiver window is bytes, assuming no stricter congestion-window limit.
Incorrect! Try again.
30A TCP segment is lost, but later segments reach the receiver. Which TCP behavior most directly helps the sender infer this loss before a timeout?
Out-of-order arrivals cause duplicate acknowledgments for the missing byte; enough duplicates can trigger fast retransmission.
Incorrect! Try again.
31A client begins a TCP connection with sequence number 700 and sends SYN. The server chooses sequence number 3000. What should the server send next?
3-way handshaking
Medium
A.SYN, sequence 3001, acknowledgment 701
B.SYN + ACK, sequence 3000, acknowledgment 701
C.FIN + ACK, sequence 3000, acknowledgment 700
D.ACK, sequence 3000, acknowledgment 700
Correct Answer: SYN + ACK, sequence 3000, acknowledgment 701
Explanation:
The second handshake message carries both SYN and ACK. A SYN consumes one sequence number, so the client is acknowledged with 701.
Incorrect! Try again.
32After receiving a server's SYN + ACK with sequence number 500 and acknowledgment number 101, what final handshake segment should the client send?
3-way handshaking
Medium
A.SYN with acknowledgment number 500
B.FIN with acknowledgment number 501
C.ACK with acknowledgment number 501
D.ACK with acknowledgment number 101
Correct Answer: ACK with acknowledgment number 501
Explanation:
The client acknowledges the server's SYN. Because the SYN uses one sequence number, sequence 500 is acknowledged by sending 501.
Incorrect! Try again.
33Why does TCP use a three-way handshake rather than only exchanging a client request and a server acknowledgment?
3-way handshaking
Medium
A.To reserve a fixed route through every router
B.To guarantee that congestion will not occur
C.To negotiate the application-layer message format
D.To confirm both directions and synchronize sequence numbers
Correct Answer: To confirm both directions and synchronize sequence numbers
Explanation:
The handshake verifies bidirectional reachability and allows both endpoints to acknowledge the other's initial sequence number.
Incorrect! Try again.
34A TCP sender has a congestion window of 2 MSS at the start of slow start. Assuming every segment is acknowledged and no loss occurs, what is the window after two RTTs?
Congestion control
Medium
A.4 MSS
B.6 MSS
C.10 MSS
D.8 MSS
Correct Answer: 8 MSS
Explanation:
During slow start, the congestion window approximately doubles each RTT: MSS.
Incorrect! Try again.
35A TCP sender detects segment loss through three duplicate acknowledgments rather than a timeout. Which action is most appropriate?
Congestion control
Medium
A.Increase the window and resend all segments
B.Perform fast retransmit and reduce the congestion window
C.Keep the same window and ignore the loss
D.Close the connection and restart the handshake
Correct Answer: Perform fast retransmit and reduce the congestion window
Explanation:
Three duplicate acknowledgments commonly trigger fast retransmit, while the congestion window is reduced to respond to likely congestion.
Incorrect! Try again.
36A TCP flow has a receiver window of 12 KB and a congestion window of 8 KB. What is the maximum amount of unacknowledged data the sender may have in transit?
Congestion control
Medium
A.20 KB
B.4 KB
C.8 KB
D.12 KB
Correct Answer: 8 KB
Explanation:
The effective sending window is KB because both flow-control and congestion-control limits must be respected.
Incorrect! Try again.
37A video conference has enough average bandwidth but experiences irregular packet arrival times, causing choppy playback. Which QoS characteristic is the main problem?
Quality of service
Medium
A.Throughput
B.Reliability
C.Jitter
D.Routing
Correct Answer: Jitter
Explanation:
Jitter is variation in packet delay. Large delay variation disrupts real-time playback even when average bandwidth is adequate.
Incorrect! Try again.
38Which application generally has the strictest requirement for low end-to-end delay?
Quality of service
Medium
A.Software download
B.Email synchronization
C.Nightly file backup
D.Interactive voice call
Correct Answer: Interactive voice call
Explanation:
Interactive voice is highly delay-sensitive because excessive latency disrupts natural conversation, while the other applications tolerate more delay.
Incorrect! Try again.
39A router must give voice packets faster service than bulk file-transfer packets during congestion. Which technique best supports this goal?
Techniques to improve QoS
Medium
A.Priority queuing
B.Address resolution
C.Error correction
D.Packet fragmentation
Correct Answer: Priority queuing
Explanation:
Priority queuing serves delay-sensitive traffic before lower-priority traffic, reducing voice packet waiting time during congestion.
Incorrect! Try again.
40A network operator wants to limit a customer's traffic to an agreed rate while allowing short bursts to use accumulated credits. Which mechanism is most suitable?
Techniques to improve QoS
Medium
A.Token bucket
B.Stop-and-wait
C.Fast retransmit
D.Leaky bucket
Correct Answer: Token bucket
Explanation:
A token bucket enforces a long-term rate while permitting bursts when enough tokens have accumulated.
Incorrect! Try again.
41A host has a TCP server bound to port 5000 and a UDP application bound to port 5000 on the same local IP address. Which statement best describes this configuration?
Port addresses
Hard
A.It is valid only when both applications use different remote addresses
B.It is valid because TCP and UDP maintain separate port-number spaces
C.It is invalid because a port number must be unique across all protocols
D.It is invalid unless one application binds to the wildcard address
Correct Answer: It is valid because TCP and UDP maintain separate port-number spaces
Explanation:
A port identifies an endpoint within a transport protocol. TCP port 5000 and UDP port 5000 therefore belong to different namespaces and can coexist.
Incorrect! Try again.
42A TCP server accepts connections from three clients. All established connections use the server's IP address and port 443. Why can the operating system still demultiplex their segments correctly?
Socket address
Hard
A.Each accepted connection is assigned a different server port automatically
B.Each connection uses a distinct TCP protocol number in the IP header
C.Each client places a globally unique identifier in the TCP options
D.Each connection has a distinct combination of local and remote socket addresses
Correct Answer: Each connection has a distinct combination of local and remote socket addresses
Explanation:
An established TCP connection is identified by its four-tuple: local IP, local port, remote IP, and remote port. Connections may share the same server socket address while differing in the remote endpoint.
Incorrect! Try again.
43An IPv4 UDP sender computes a checksum whose one's-complement result is numerically zero. What value is placed in the UDP checksum field?
User Datagram Protocol (UDP)
Hard
A.The checksum of the UDP header without the payload
B.All zero bits, because that is the computed checksum
C.The one's-complement sum before the final complement
D.All one bits, to distinguish it from an omitted checksum
Correct Answer: All one bits, to distinguish it from an omitted checksum
Explanation:
In IPv4 UDP, a zero checksum field means that no checksum was generated. Therefore, a computed checksum of zero is transmitted as all ones.
Incorrect! Try again.
44An IPv4 packet carries a UDP datagram whose UDP Length field is smaller than the IP payload length but is at least 8 bytes. Assuming the datagram is otherwise valid, how is the excess IP payload treated by UDP?
User Datagram Protocol (UDP)
Hard
A.It is interpreted as a second UDP datagram with an implicit header
B.It is ignored because the UDP Length field defines the datagram boundary
C.It is delivered because the IP payload length overrides the UDP Length field
D.It is appended to the payload after UDP checksum verification
Correct Answer: It is ignored because the UDP Length field defines the datagram boundary
Explanation:
The UDP Length field specifies the size of the UDP header and data. Octets beyond that declared boundary are not part of the UDP datagram.
Incorrect! Try again.
45A TCP endpoint chooses initial sequence number 4000, sends a SYN, transmits 1200 data bytes, and then sends a FIN. No other data is sent. What acknowledgment number should confirm receipt of everything?
Transmission Control Protocol (TCP)
Hard
A.5201
B.5203
C.5200
D.5202
Correct Answer: 5202
Explanation:
The SYN consumes sequence number 4000, the data occupies 4001 through 5200, and the FIN consumes 5201. The next expected sequence number is therefore 5202.
Incorrect! Try again.
46A TCP receiver advertises acknowledgment number 7001 and a receive window of zero. Which sender behavior remains permitted by TCP persist processing?
Transmission Control Protocol (TCP)
Hard
A.Periodically transmitting a zero-window probe to obtain an updated window
B.Sending one full congestion window because acknowledgment 7001 is cumulative
C.Continuing normal transmission until the receiver drops an arriving segment
D.Closing the connection immediately because a zero window signals termination
Correct Answer: Periodically transmitting a zero-window probe to obtain an updated window
Explanation:
A zero window pauses ordinary new-data transmission. The sender uses the persist mechanism to send probes so that a lost window-update segment cannot deadlock the connection.
Incorrect! Try again.
47A server receives an old duplicate SYN for a connection that no longer exists and replies with a SYN-ACK. The original client currently has no matching connection state. Under normal TCP behavior, what prevents the obsolete connection from becoming established?
3-way handshaking
Hard
A.The server enters TIME-WAIT before the client can acknowledge the SYN-ACK
B.The client returns a reset because the SYN-ACK matches no active connection
C.The server discards the SYN-ACK after detecting its own duplicate sequence number
D.The client acknowledges the SYN-ACK but immediately advertises a zero window
Correct Answer: The client returns a reset because the SYN-ACK matches no active connection
Explanation:
The third handshake message confirms that the initiator has matching state and received the server's sequence number. With no such state, the client normally responds to the unexpected SYN-ACK with RST.
Incorrect! Try again.
48Two TCP hosts simultaneously perform active opens to each other using matching endpoint pairs. Each is initially in SYN-SENT. Which transition correctly describes a valid simultaneous open?
3-way handshaking
Hard
A.Each receives a SYN, remains in SYN-SENT, and waits for the peer to time out
B.Each receives a SYN, sends SYN-ACK, enters SYN-RECEIVED, and later enters ESTABLISHED
C.Each receives a SYN, sends ACK only, and immediately enters ESTABLISHED
D.Each receives a SYN, sends RST, enters CLOSED, and retries with a passive open
Correct Answer: Each receives a SYN, sends SYN-ACK, enters SYN-RECEIVED, and later enters ESTABLISHED
Explanation:
TCP supports simultaneous open. On receiving a SYN while in SYN-SENT, each side acknowledges the peer's SYN, enters SYN-RECEIVED, and becomes established after its own SYN is acknowledged.
Incorrect! Try again.
49Why does the endpoint performing the active TCP close normally remain in TIME-WAIT for approximately twice the maximum segment lifetime?
Transmission Control Protocol (TCP)
Hard
A.To keep the receive window open for data sent after the peer's FIN
B.To reserve congestion-window state for a later connection to the peer
C.To guarantee that all application data has reached persistent storage
D.To retransmit the final ACK and let delayed duplicate segments expire
Correct Answer: To retransmit the final ACK and let delayed duplicate segments expire
Explanation:
TIME-WAIT permits retransmission of the final ACK if the peer repeats its FIN and prevents delayed segments from an old connection from contaminating a later connection.
Incorrect! Try again.
50TCP Reno detects loss through three duplicate ACKs while , with 20 MSS outstanding. Immediately after entering fast recovery, what are the usual values of and ?
Congestion control
Hard
A. and
B. and
C. and
D. and
Correct Answer: and
Explanation:
Reno sets to about half the flight size, or 10 MSS, and temporarily inflates to for the three duplicate ACKs.
Incorrect! Try again.
51During TCP NewReno fast recovery, an ACK acknowledges some but not all data that was outstanding when recovery began. How is this partial ACK normally handled?
Congestion control
Hard
A.Set the congestion window to one MSS and restart slow start
B.Exit fast recovery and continue ordinary congestion avoidance immediately
C.Ignore the ACK until it cumulatively acknowledges every outstanding segment
D.Retransmit the next unacknowledged segment and remain in fast recovery
Correct Answer: Retransmit the next unacknowledged segment and remain in fast recovery
Explanation:
NewReno treats a partial ACK as evidence of another loss in the same window. It retransmits the next missing segment and stays in fast recovery until all pre-recovery data is acknowledged.
Incorrect! Try again.
52A TCP sender has and receives an advertised window of . It currently has of unacknowledged data in flight. Ignoring segmentation limits, how much additional data may it send?
Congestion control
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The usable sending window is . With 7 KB already outstanding, the sender may inject only more.
Incorrect! Try again.
53A 12,000-bit packet crosses three store-and-forward links, each operating at 6 Mbps with 4 ms propagation delay. The two routers each add 3 ms of queueing delay. Ignoring processing time, what is the end-to-end delay?
Quality of service
Hard
A.26 ms
B.20 ms
C.22 ms
D.24 ms
Correct Answer: 24 ms
Explanation:
Transmission delay is ms per link, giving 6 ms. Propagation contributes 12 ms and queueing contributes 6 ms, for a total of 24 ms.
Incorrect! Try again.
54A token bucket initially contains 12 KB of tokens and replenishes at 2 KB/s. A source transmits continuously at 10 KB/s whenever tokens permit. What is the maximum initial duration for which 10 KB/s can be sustained?
Techniques to improve QoS
Hard
A.2.0 s
B.6.0 s
C.1.5 s
D.1.2 s
Correct Answer: 1.5 s
Explanation:
Tokens are depleted at the net rate KB/s. Thus the full 12 KB bucket supports the excess rate for seconds.
Incorrect! Try again.
55A byte-oriented leaky-bucket shaper has a constant output rate of 3 Mbps and is initially empty. Bursts totaling 12 Mb arrive instantaneously. Ignoring packetization, when does the final bit leave the shaper?
Techniques to improve QoS
Hard
A.3 s after arrival
B.9 s after arrival
C.4 s after arrival
D.6 s after arrival
Correct Answer: 4 s after arrival
Explanation:
The shaper drains 12 Mb at 3 Mbps, so the serialization time is seconds. The leaky bucket smooths the instantaneous burst into constant-rate output.
Incorrect! Try again.
56A 60 Mbps link uses work-conserving weighted fair scheduling for three flows with weights . All are backlogged, but the third flow can use at most 18 Mbps. What rate is allocated to the second flow?
Techniques to improve QoS
Hard
A.24 Mbps
B.30 Mbps
C.20 Mbps
D.28 Mbps
Correct Answer: 28 Mbps
Explanation:
Flow 3 uses only 18 Mbps, leaving 42 Mbps. The remaining capacity is divided between flows 1 and 2 in the ratio , so flow 2 receives Mbps.
Incorrect! Try again.
57An Integrated Services flow requests a strict end-to-end delay bound using RSVP. Which additional condition is essential for the bound to be credible?
Techniques to improve QoS
Hard
A.The sender marks packets with a high-priority Differentiated Services code point
B.Every router disables queueing and forwards packets immediately upon arrival
C.Only the destination reserves a buffer large enough for the complete flow
D.Every relevant hop performs admission control and reserves sufficient resources
Correct Answer: Every relevant hop performs admission control and reserves sufficient resources
Explanation:
RSVP signaling alone does not create capacity. A strict end-to-end guarantee requires successful admission control and resource reservation along the entire path.
Incorrect! Try again.
58In a Differentiated Services domain, which statement most accurately describes how scalable QoS treatment is provided?
Techniques to improve QoS
Hard
A.Edge devices classify traffic, while core routers apply per-hop behavior to aggregates
B.Core routers maintain signaling state and a separate reservation for every flow
C.Endpoints negotiate a fixed time slot with every router before transmitting
D.Each packet carries the complete scheduling policy required at every hop
Correct Answer: Edge devices classify traffic, while core routers apply per-hop behavior to aggregates
Explanation:
DiffServ pushes classification, policing, and marking toward domain edges. Core routers use the DS field to apply scalable per-hop behaviors to traffic aggregates rather than individual flows.
Incorrect! Try again.
59What is the principal congestion-control advantage of Random Early Detection over tail-drop queue management?
Congestion control
Hard
A.It eliminates packet loss by expanding the queue during periods of overload
B.It probabilistically signals congestion before the queue becomes completely full
C.It guarantees equal bandwidth allocation among all active transport connections
D.It reserves a fixed portion of every link for each newly detected TCP flow
Correct Answer: It probabilistically signals congestion before the queue becomes completely full
Explanation:
RED uses an average queue-size measure to mark or drop packets before buffer exhaustion. Early signals can reduce persistent queues and synchronized loss among multiple TCP senders.
Incorrect! Try again.
60A real-time application receives all packets with average one-way delay below its limit, yet playback repeatedly stalls because successive packet delays vary widely. Which QoS characteristic is primarily inadequate?
Quality of service
Hard
A.Reliability
B.Jitter
C.Bandwidth
D.Availability
Correct Answer: Jitter
Explanation:
Jitter is variation in packet delay. Even acceptable average latency can produce playback stalls when arrivals are irregular and the playout buffer cannot absorb the variation.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →