0% found this document useful (0 votes)
33 views6 pages

Local OS Packet Handling in RPC

This document contains 29 multiple choice questions about distributed systems concepts. Some of the key topics covered include layers of the OSI model, message passing vs shared memory in inter-process communication, client-server models, remote procedure calls, and layers of the TCP/IP model. Remote procedure calls allow processes on separate systems to communicate by extending the local procedure call to a distributed environment. The transport layer is responsible for process-to-process delivery in distributed systems.

Uploaded by

Nasis Dereje
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views6 pages

Local OS Packet Handling in RPC

This document contains 29 multiple choice questions about distributed systems concepts. Some of the key topics covered include layers of the OSI model, message passing vs shared memory in inter-process communication, client-server models, remote procedure calls, and layers of the TCP/IP model. Remote procedure calls allow processes on separate systems to communicate by extending the local procedure call to a distributed environment. The transport layer is responsible for process-to-process delivery in distributed systems.

Uploaded by

Nasis Dereje
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Distributed System MCQ Part-2

[Link] layer is the layer closest to the transmission


medium ?
(A) Physical
(B) Data link
(C) Network
(D) Transport

[Link] a distributed system, information is exchanged


through _______
(A) Memory sharing
(B) information not exchanged
(C) Message passing
(D) None of the mentioned

[Link] (remote procedure call) is initiated by the


__________
(A) server
(B) client
(C) both (a) and (b)
(D) neither (a) nor (b)

[Link] a peer-to-peer architecture, peers can serve as


__________
(A) Clients
(B) Servers
(C) Middle-system
(D) Both A and B

[Link] ___________ layer, which provides the


interface that client and server application objects
use to interact with each other.
(A) Increasing
(B) Count
(C) Bit
(D) Stub/skeleton

This study source was downloaded by 100000857480464 from [Link] on 04-09-2023 01:47:35 GMT -05:00

[Link]
[Link] features of a good message passing
system are _______
I. Simplicity II. Uniform Semantics
III. Efficiency IV. Correctness
(A) I,II
(B) II, III
(C) I, IV
(D) I,II, III, IV

[Link] Procedure Calls are used :


(A) for communication between two processes remotely different from
each other on the same system
(B) for communication between two processes on the same system
(C) for communication between two processes on separate systems
(D) None of these

[Link] stub :
(A) transmits the message to the server where the server side stub
receives the message and invokes procedure on the server side
(B) packs the parameters into a form transmittable over the network
(C) locates the port on the server
(D) all of the mentioned

[Link] Message-Passing Systems ,A message-passing


facility provides at least two operations:
(A) send(message) and delete(message)
(B) delete(message) and receive (message)
(C) send(message) and receive(message)
(D) write(message) and delete(message)

10.A process that is based on IPC mechanism which


executes on different systems and can communicate
with other processes using message based
communication, is called ________.
(A) Local Procedure Call
(B) Inter Process Communication
(C) Remote Procedure Call
(D) Remote Machine Invocation

[Link] local operating system on the server machine


passes the incoming packets to the _________
(A) server stub
(B) client stub
(C) client operating system
(D) none of the above

This study source was downloaded by 100000857480464 from [Link] on 04-09-2023 01:47:35 GMT -05:00

[Link]
[Link] that places the request to access the
data is generally called as __________.
(A) Server Machine
(B) Client Machine
(C) Request Machine
(D) None of the above

[Link] RPC (remote procedure call) is initiated by the


________
(A) server
(B) client
(C) both (a) and (b)
(D) none of the mentioned

[Link] applications of the Client and Server Model


are ___________
(A) World Wide Web
(B) Network Printing
(C) Email
(D) All of the mentioned

15.________________ provides programmers a


familiar programming model by extending the local
procedure call to a distributed environment.
(A) Distributed environment
(B) Permanent procedure call
(C) Process and file
(D) Remote procedure call

[Link] architecture where clients first communicate


the server for data then format and display it to the
users, is known as ___________
(A) Client/Server architecture
(B) Three-tier architecture
(C) Two-tier architecture
(D) Peer-to-Peer architecture

[Link] are the advantages of client-server model?


(A) Efficiency
(B) Simplicity
(C) Two system calls send and receive
(D) All of the above

This study source was downloaded by 100000857480464 from [Link] on 04-09-2023 01:47:35 GMT -05:00

[Link]
[Link] single most important difference between a
distributed system and a uniprocessor system is the
________
(A) Interprocess communication
(B) Remote procedure call
(C) Both
(D) None of the mentioned

19._________ is an object acting as a gateway for the


client side.
(A) skeleton
(B) stub
(C) remote
(D) server

[Link] passing provides a mechanism to allow


processes to communicate and to synchronize their
actions ________
(A) By sharing the same address space
(B) without sharing the same address space
(C) by sharing the same process number and Process Identifier
(D) None of the above

[Link] are two fundamental models of


interprocess communication: I. Shared memory II.
Message passing. III. Independent IV. Cooperating
(A) I and II
(B) II and III
(C) III and IV
(D) I and IV

[Link] TCP/IP reference model has 4 layers. Choose


the correct layers.
(A) Host-to-network layer; network or IP (Internet Protocol) layer; transport
or TCP (Transmission Control Protocol) layer; application layer
(B) Host-to-host layer; network or IP (Intranet Protocol) layer; transport or
TCP (Transmission Control Protocol) layer; application layer
(C) Network-to-network layer; network or IP (Internet Protocol) layer;
transport or TCP (Transmission Control Protocol) layer; application layer
(D) Network-to-host layer; FTP (File Transfer Protocol) layer; transport or
TCP (Transmission Control Protocol) layer; application layer

This study source was downloaded by 100000857480464 from [Link] on 04-09-2023 01:47:35 GMT -05:00

[Link]
[Link] layer is responsible for The process-to-
process delivery ?
(A) Network
(B) Transport
(C) Application
(D) Physical

This study source was downloaded by 100000857480464 from [Link] on 04-09-2023 01:47:35 GMT -05:00

[Link]
[Link] remote procedure call, the client program must
be bound with a small library procedure called
__________
(A) Server stub
(B) Marshalling
(C) Local Procedure Call
(D) Client hub

[Link] provides _______ for remote login.


(A) telnet
(B) http
(C) ftp
(D) RPC

[Link] header usually consists of the following


elements in IPC
I. Sequence number II. Structural information
III. Address IV. File mode(Read/ Write
(A) I,III, IV
(B) I,II, III
(C) I, II, IV
(D) none of the mentioned

[Link] provides a(an) _____ on the client side, a


separate one for each remote procedure.
(A) stub
(B) identifier
(C) name
(D) process identifier

[Link] connectors and message queues are


mechanisms for ______
(A) Message retrieving
(B) Message passing
(C) Message delivering
(D) Message Sync-ing

29.A global system of interconnected computer


networks is known as ________
(A) Ethernet
(B) Intranet
(C) Internet
(D) Ultra-net

This study source was downloaded by 100000857480464 from [Link] on 04-09-2023 01:47:35 GMT -05:00

[Link]
Powered by TCPDF ([Link])

Common questions

Powered by AI

Remote Procedure Calls (RPC) extend the concept of a local procedure call to distributed systems, enabling a program to cause a subroutine or procedure to execute in another address space (commonly on another physical machine). This distinguishes RPC from local procedures that operate within a single system's address space. Stubs in RPC act as intermediaries that handle the complexity of network communication; the client-side stub appears like a local call to the client, and it handles the message-passing to the server. The server-side stub receives the message, unpacks it, and executes the server procedure on the server side .

The client-server architecture facilitates communication between distributed systems by organizing network processes into two distinct roles: clients and servers. Clients initiate communication with servers to request services such as data, which they format and display to users. This architecture is widely used in applications such as the World Wide Web, network printing, and email systems because it centralizes resources and services, offering efficiency and simplicity .

Message-passing systems enhance interprocess communication by providing a structured mechanism for processes to communicate and synchronize their actions without sharing the same address space. This is crucial in distributed systems where processes run on separate computer systems. Such systems can include operations like send(message) and receive(message), which allow asynchronous or synchronous communication depending on the application requirements, hence facilitating cooperation and coordination across distributed processes .

In peer-to-peer architecture, each node (peer) can simultaneously act as both client and server, providing and consuming resources and services from other peers, creating an egalitarian network structure that contrasts with the client-server architecture, where roles are rigidly separated: clients request services and servers provide them. This decentralizes service provision and can improve redundancy and fault tolerance, as there is no single point of failure .

RPC connectors and message queues are critical for supporting the message-passing mechanism in interprocess communication by providing asynchronous communication structures. RPC connectors handle the transmission and reception of messages between client and server, ensuring the remote call appears like a local call. Message queues buffer messages when the recipient process is not ready to receive them immediately, allowing for more flexible and robust communication by decoupling message sending and receiving tasks, which is particularly useful in distributed systems .

Uniform semantics in a message-passing system ensures that the behavior and processing of messages are consistent across different parts of the system, which greatly simplifies analysis and debugging of distributed systems. Its importance, alongside features like simplicity, efficiency, and correctness, lies in ensuring that distributed communications are predictable, reducing complexity in ensuring processes understand each other correctly and operate correctly in a decentralized environment .

The transport layer in the TCP/IP model is responsible for process-to-process delivery and handling all the communication between the hosts. It provides reliable communication by implementing flow control, error checking, and data recovery processes, such as TCP (Transmission Control Protocol) which ensures that data packets arrive in order and without errors, contributing to reliable end-to-end communication in a networked environment .

Stubs in remote procedure calls (RPC) play an instrumental role by acting as an intermediary that abstracts the intricacies of network communications from the application developer. The client-side stub mimics the server functions in such a way that for the client, the remote call appears as a local call. It handles the conversion of a process's request into a network message, routing it to the appropriate server. On the server-side, the stub receives this message, converts it back, and invokes the necessary procedures, thereby providing a seamless interface that minimizes the complexity and errors associated with distributed programming .

The client-server model offers several advantages in system design and operation within a distributed networking environment, including efficiency, by centralizing services which can be optimized server-side; simplicity, through clear separation of tasks, where clients focus on user interaction and servers focus on service provision; and scalability, as clients can rapidly be added without significantly affecting server operations. This model can be easily deployed for various applications, like the Internet, enhancing its utility in extensive networks .

Interprocess communication (IPC) in distributed systems significantly differs from uniprocessor systems in that it often involves message passing instead of shared memory, as distributed systems do not offer a common physical memory space. This leads to implications for system design, such as the need for network protocols to handle reliability, data integrity, and error-checking across potentially unreliable networks. It also requires consideration of latency and synchronization issues, making IPC more complex than in uniprocessors where processes can share memory and communicate more directly .

You might also like