


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



CS 843 - Distributed Computing Systems - Mid-Term Exam - Name: Date: Thursday, March 14, 2002, 7:05 - 9:05 PM
Instructions to Examinees:
Briefly explain these terminologies. If they are acronyms, also write what they stand for.
(a) Mobile Code - Code that can be sent from one computer to another and run at the destination. Java applets are an example. (b) Mobile Agent - A running program that travels from one computer to another in a network carrying out a task on someone’s behalf. (c) Spontaneous Networking - The form of distribution that integrates mobile devices and other devices into a given network. (d) WAP - Wireless Application Protocol is a set of protocols that have been developed specifically for use on wireless portable devices. (e) ATM - Asynchronous Transfer Mode is a dedicated-connection switching technology that organizes digital data into 53-byte cell units and transmits them over a physical medium using digital signal technology.
Consider a communication service used in asynchronous distributed systems. In this service, messages may be lost, duplicated, delayed, or delivered too faster for the recipient to handle them, but those that are delivered arrive with the correct contents. In addition, checksums apply to both headers and bodies.
(a) Describe the classes of failure exhibited by this service. (8 points) (b) Classify their failures according to their effect on the properties of validity and integrity. (8 points) (c) Can this service be described as a reliable communication service? (4 points)
(a) Failures:
(a) What is the purpose of a firewall? (4 points) (b) What are the aims of a firewall security policy? (6 points) (c) What are advantages when two router/filters are employed in series with bastion and any public servers located on a separate subnet linking the router/filters? (6 points)
(a) Its purpose is to monitor and control all communication into and out of an intranet. (b) The aims of a firewall policy may include:
(a) Describe the method of operation of Ethernets. (6 points) (b) What problems are there when the method of operation of Ethernets is employed in a wireless LAN? ( points) (c) What scheme can be used to avoid those problems mentioned above in a wireless LAN? (6 points)
(a) Ethernets use a method called carrier sensing, multiple access with collision detection (CSMA/CD). The packets are broadcasted to the transmission medium with the following mechanism to deal with the collisions:
(a) Describe a time line of the typical scenario that takes place between a UDP client and server communication in UNIX. (b) Describe a time line of the typical scenario that takes place between a TCP client and server communication in UNIX. (a) UDP client and server communication:
| socket() | +-----+------+ | V well-known +------------+ port | bind() | +-----+------+ | V +------------+ | recvfrom() |<---+ +------------+ +------------+ | | socket() | | | +------+-----+ V | | blocks until datagram | V received from client | +------------+ data (request) | | | sendto() |--------------------------------------->| | +------+-----+ V | | process request | | | | V V | +------------+ data (reply) +-----------+ | | recvfrom() |<---------------------------------| sendto() |-----+
(a) An idempotent operation is an operation that can be performed repeatedly with the same effect. (b) • Writing a data to a file is an idempotent operation because the result file is same.
(a) When a local method invocation is extended to a remote one, a method invocation might have to be executed more than once and the remote location information might have to be provided because of the unreliable intrinsics of the communication networks. (b) Invocation semantics:
Appendix - Comparing TCP and UDP
Because TCP is a connection-based protocol and UDP is connectionless, you should program your application to include error detection and correction for UDP messages. Otherwise, there may be problems with incorrect data