NivaarExam PrepOfficial exam papers ↗

22-Elec-B4 Information Technology Networks · December 2016

Question 4 of 5: Layered Architecture

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

Paper format. Professional Engineers of Ontario, Annual Examinations — December 2016, 07-Elec-B4 Information Technology Networks. Three hours, closed book, a PEO-approved non-programmable calculator permitted. Five questions of 25 marks each; any four constitute a complete paper worth 100 marks, and the marks are printed in the left margin against every sub-part. All five questions are solved here, because this set is a study resource rather than an exam attempt.

Reference texts.



Question 4: Layered Architecture (25 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Part (a) — the advantage of layering (5 marks). Layering decomposes an intractable problem — move arbitrary data between arbitrary machines over arbitrary media — into a stack of small problems, each solved by a layer that offers a defined service to the layer above and uses only the service of the layer below. The payoff is modularity: because a layer is specified by its service interface rather than by its internals, any implementation that honours the interface may be substituted without touching anything else. Ethernet can be replaced by Wi-Fi under an unchanged IP layer; TCP can be replaced by UDP under an unchanged application; IPv4 can become IPv6 without rewriting the web.

Three further advantages follow from the same property and are worth naming explicitly. Layering permits independent standardisation and competition, since different bodies and different vendors can own different layers — IEEE the link layer, the IETF the network and transport layers — and their products still interoperate. It permits reuse, because one implementation of a layer serves every protocol above it rather than each application re-solving reliability or addressing for itself. And it makes systems tractable to reason about, test and fault-find: a defect can be localised by asking which layer's service is not being delivered, which is exactly how network troubleshooting proceeds in practice. The cost is a real one and worth acknowledging — strict layering adds per-layer headers and can duplicate work, for example error detection performed at both the link and the transport layer — but the engineering benefit of being able to change one layer without changing the others has proved decisive.

Part (b) — the seven OSI layers, one sentence each (10 marks).

  1. Physical. Transmits raw bits over the medium, defining voltages, modulation, timing, connectors and cabling.
  2. Data link. Groups bits into frames between two directly connected nodes, providing local addressing, medium access and error detection over that single link.
  3. Network. Delivers packets from source host to destination host across multiple links, providing global addressing, routing and forwarding.
  4. Transport. Provides end-to-end delivery between processes on the two hosts, with multiplexing by port and optionally reliability, sequencing and flow and congestion control.
  5. Session. Establishes, manages, synchronises and terminates the dialogue between the two applications, including checkpointing and resumption of long exchanges.
  6. Presentation. Handles the syntax and semantics of the transferred data — character and data representation, compression and encryption — so that machines of different internal formats can interoperate.
  7. Application. Provides the network service the user actually invokes, such as mail transfer, file transfer, web access or name resolution.
OSI reference model7ApplicationSMTP, HTTP, FTP, DNS6PresentationASCII / Unicode, JPEG, encryption5Sessiondialogue setup, checkpoint, resume4TransportTCP, UDP - end-to-end delivery3NetworkIP, routing, forwarding2Data linkEthernet, per-link error detection1Physicalbits, voltages, connectors, radioLayers 1-3 act hop by hop; layers 4-7 act end to end
The OSI seven-layer reference model with a representative protocol or function at each layer. Layers 1 to 3 act hop by hop along the path; layers 4 to 7 exist only in the two end systems.

Part (c) — locating eight items in the model (10 marks).

Check: the printed paper omits the item marker before “Ethernet” in part (c), so the printed list reads i, ii, [blank], iv, v, vi, vii, viii. The missing marker is plainly iii and the list is answered as eight items i–viii on that reading, which is confirmed by the surviving markers being consecutive either side of the gap.