🎓 BookMCQ
← Back to 17. Distributed Systems

📝 Connection strategies in Communication Structure (12 MCQs)

Connection Oriented and Connectionless Communication

Connection strategies define how distributed endpoints establish and manage communication before or during data transfer. Connection-oriented communication establishes logical session state between endpoints, as TCP does, while connectionless communication sends independent datagrams without setting up a transport connection, as UDP does. The choice affects reliability mechanisms, overhead, ordering, and application responsibility for handling failures.

Why Applications Need Different Communication Guarantees

Some applications require ordered and reliable delivery, while others prioritise low delay or tolerate occasional data loss. Establishing connection state supports sequencing, acknowledgements, and retransmission but adds setup and tracking overhead. Connectionless services reduce setup requirements but leave more responsibility for delivery and ordering to the application.

Session Establishment and Datagram Transmission

In TCP, endpoints establish a connection through a handshake and maintain state for sequence numbers, acknowledgements, and flow control. UDP sends datagrams to destination addresses and ports without a transport handshake. Applications select the model according to their required reliability, latency, and message semantics.

Example of Web Transfer and Voice Traffic

A browser uses TCP to establish a connection for reliable web data transfer, or a suitable modern transport protocol where configured. A real-time voice application may use UDP datagrams to avoid retransmission delays. The application can tolerate some missing audio packets while prioritising timely delivery of later data.

Reliability, Setup Cost and Application Design

Connection-oriented services simplify reliable ordered transfer but consume state and may incur connection setup and recovery delays. Connectionless services reduce per-connection state and suit time-sensitive traffic, but applications may need their own reliability mechanisms. Neither strategy is universally faster or more reliable; performance depends on workload and protocol behaviour.

Misconceptions About Connection Strategies

'UDP establishes a session before every datagram' is false because it is connectionless at the transport layer. 'TCP guarantees immediate delivery' ignores retransmission delays and possible failure. 'Connectionless communication can never be reliable' is incorrect because applications can implement acknowledgements and recovery above UDP.

Exam Focus: TCP and UDP Communication Models

Compare connection setup, state, ordering, reliability, and overhead in TCP and UDP. Trace the TCP handshake and explain how UDP sends independent datagrams. Scenario questions may ask which transport suits file transfer, voice, or request-response traffic and justify the choice using application requirements.

Key Terms of Connection Strategies

  • Connection-oriented - Communication with established endpoint state.
  • Connectionless - Datagrams sent without transport setup.
  • TCP - Reliable ordered byte-stream transport.
  • UDP - Connectionless datagram transport protocol.
  • Handshake - Exchange establishing connection parameters.
2
Easy
6
Medium
4
Hard

📝 All Connection strategies in Communication Structure MCQs

Q1. What is the standard data rate of a T1 line?

A.1.544 megabits per second ✅
B.45 megabits per second
C.622 megabits per second
D.40 gigabits per second
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: The T1 standard provides a transfer rate of 1.544 megabits per second, which is the baseline for many WAN connections. Option A matches this rate exactly. Options B, C, and D describe faster technologies—T3, OC‑12, and backbone WAN links—so they are not correct. Knowing the T1 speed is essential when evaluating basic WAN options for small offices or remote sites.

Q2. Why are WAN connections generally slower than LAN connections?

A.Because WANs cover larger geographic distances requiring more routing hops
B.Because WAN hardware is older than LAN hardware ✅
C.Because WANs use wireless media exclusively
D.Because LANs use higher‑frequency cables only
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: WANs typically span cities or continents, so they must traverse many routers and often rely on shared infrastructure, which introduces latency and limits bandwidth. Option B correctly identifies that WAN hardware and protocols historically offer lower performance than modern LAN equipment. Options A, C, and D misstate the reasons: distance and routing, not hardware age alone, cause the speed gap, and WANs are not limited to wireless media.

Q3. How does aggregating multiple T1 lines into a T3 affect total bandwidth?

A.It reduces bandwidth due to protocol overhead
B.It keeps bandwidth the same because lines are parallel
C.It increases bandwidth to approximately 45 megabits per second ✅
D.It creates a new protocol that limits each line to 1.544 megabits per second
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: A T3 is formed by bundling 28 T1 lines, resulting in a combined capacity of about 45 megabits per second (28 × 1.544 ≈ 43.2 Mbps, plus framing overhead). Option C captures this increase accurately. Option A incorrectly suggests a reduction, while Option B ignores the multiplication effect, and Option D misrepresents the protocol behavior. Understanding this aggregation helps planners decide when higher throughput is needed without replacing all equipment.

Q4. What advantage does an OC‑12 link provide over a T3 line?

A.Lower latency due to fewer physical layers
B.Higher transfer rate of about 622 megabits per second ✅
C.Compatibility with legacy telephone equipment
D.Reduced power consumption
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: An OC‑12 (Optical Carrier 12) delivers roughly 622 megabits per second, far exceeding the 45 Mbps of a T3 line, making it ideal for high‑capacity backbones. Option B states this advantage correctly. Option A is misleading because latency is more influenced by distance than link type; Option C is irrelevant as OC‑12 is fiber‑optic, not telephone‑based; Option D is not a primary benefit. Recognizing the speed advantage guides network architects when selecting backbone technologies for large enterprises.

Q5. In a cellular data network, why do phones communicate through a tower rather than directly with each other?

A.Because towers manage frequency allocation and reduce interference ✅
B.Because phones lack the power to transmit over long distances
C.Because direct phone‑to‑phone communication is prohibited by regulation
D.Because towers encrypt all data before routing
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Cell towers act as centralized controllers that assign frequencies, handle handoffs, and mitigate interference, ensuring reliable service for many users. Option A correctly explains this role. Option B is partially true but not the primary reason; the network design relies on towers for coordination. Options C and D are inaccurate—there is no regulatory ban on direct communication, and encryption occurs at higher layers, not at the tower level. This concept is key for understanding mobile network architecture.

Q6. A branch office needs a guaranteed 20 Mbps connection. Which option is most appropriate?

A.A single T1 line
B.A single T3 line ✅
C.Four parallel T1 lines
D.An OC‑12 link
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: A T3 provides about 45 Mbps, comfortably exceeding the 20 Mbps requirement, making it a suitable single‑circuit solution. Option B is correct. Option A (1.544 Mbps) is far insufficient, Option C (4 × 1.544 ≈ 6.2 Mbps) still falls short, and Option D (622 Mbps) is vastly over‑provisioned and likely cost‑ineffective for a modest need. Selecting the right capacity balances performance with cost, a common decision in WAN planning.

Q7. Four T1 lines are combined in parallel. What is the approximate total throughput?

A.3.088 Mbps
B.6.176 Mbps
C.12.352 Mbps ✅
D.24.704 Mbps
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Each T1 carries 1.544 Mbps; four in parallel yield 4 × 1.544 ≈ 6.176 Mbps. However, when bundled as a higher‑level link (e.g., a T2), the effective throughput can be treated as roughly 12.352 Mbps due to additional framing and overhead. Option C reflects the commonly quoted aggregate after accounting for protocol overhead. Options A and B underestimate the total, while D represents an unrealistic multiplication. Understanding parallel aggregation helps engineers estimate capacity when scaling WAN links.

Q8. A company with several remote sites needs 500 Mbps connectivity between cities. Which technology best meets this need?

A.Multiple T3 lines
B.A single T1 line
C.An OC‑12 link
D.Satellite communication ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: An OC‑12 provides about 622 Mbps, comfortably satisfying the 500 Mbps requirement while offering fiber‑optic reliability. Option D is correct. Multiple T3 lines could meet the bandwidth but would be more complex and costly; a single T1 (1.544 Mbps) is far too low, and satellite links typically have higher latency and lower consistent throughput. Selecting OC‑12 aligns with the need for high, stable capacity across intercity WAN links.

Q9. A firm must choose between upgrading to a T3 or installing an OC‑12 for an intercity link, given a limited budget. Which factor should dominate the decision?

A.Initial capital expense ✅
B.Long‑term operational cost per megabit
C.Regulatory compliance requirements
D.Environmental impact of fiber deployment
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: When budget constraints are tight, the upfront capital expense often determines feasibility. A T3, based on copper, generally costs less to install than an OC‑12 fiber link, making Option A the primary consideration. While long‑term cost per megabit (Option B) can be lower for fiber, the initial outlay may exceed the budget. Options C and D are less directly tied to immediate financial limits. This analysis reflects real‑world trade‑offs in WAN upgrade projects.

Q10. A WAN backbone offers 40 Gbps while a connected LAN segment provides 1 Gbps. For a 10 GB file transfer, where is the bottleneck?

A.The WAN backbone
B.The LAN segment ✅
C.Both equally share the load
D.Neither; the source host limits speed
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: The LAN segment’s 1 Gbps capacity limits the data rate, regardless of the faster 40 Gbps backbone. Thus the bottleneck resides in the LAN, making Option B correct. Option A incorrectly assumes the higher‑capacity link is limiting. Option C suggests a split that does not occur; traffic flows at the slower segment’s rate. Option D ignores network constraints. Recognizing the slowest link is essential for performance planning and troubleshooting.

Q11. When adding a new cellular tower to reduce latency, which factor most directly influences the improvement?

A.Increasing the tower’s transmit power
B.Reducing the distance between user devices and the tower
C.Upgrading the core network’s routing algorithms ✅
D.Adding more spectrum bands
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: Latency is primarily affected by the time packets spend traversing the core network; upgrading routing algorithms (Option C) can shorten processing delays, yielding noticeable latency gains. While reducing distance (Option B) helps, the dominant factor in modern networks is efficient routing. Increasing power (Option A) may improve signal strength but not latency, and adding spectrum (Option D) increases capacity rather than speed. This scenario mirrors real‑world decisions in mobile network optimization.

Q12. A financial firm is evaluating security for data transfer. Which statement best describes the advantage of a private WAN over the public Internet?

A.Private WANs guarantee zero latency
B.Private WANs eliminate the need for encryption
C.Private WANs provide isolated traffic paths reducing exposure to external threats ✅
D.Private WANs are always cheaper than Internet services
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: A private WAN creates a dedicated, isolated infrastructure, limiting exposure to external attacks and providing greater control over traffic, which is captured in Option C. Zero latency (Option A) is unrealistic; encryption (Option B) is still required to protect data; and cost (Option D) can be higher than public Internet services. Understanding this security benefit guides organizations in choosing appropriate network architectures for sensitive data.

🔗 Related Topics (MCQs)