Remote Procedure Calls are used for
2020
Remote Procedure Calls are used for
- A.
communication between two processes remotely different from each other on the same system.
- B.
communication between two processes on the same system.
- C.
communication between two processes on separate system.
- D.
None of the above.
Attempted by 135 students.
Show answer & explanation
Correct answer: C
Concept
A Remote Procedure Call (RPC) is a mechanism that lets a program invoke a procedure which executes in a different address space — typically on a separate machine reached over a network — while making the call appear local to the programmer. The network transport, marshalling of arguments, and reply handling are hidden behind the ordinary procedure-call interface.
Applying it here
By definition, RPC connects a client process and a server process that live on different (separate) systems, exchanging request and reply messages across the network. So RPC is used for communication between two processes on separate systems.
Contrast with the near-misses
Two processes on the same system: that is plain Inter-Process Communication (IPC) using shared memory, pipes, or message queues — no network and therefore nothing remote.
Two processes 'remotely different' on the same system: still a single machine, so there is nothing remote about it; the wording does not match RPC's cross-network purpose.
None of the above: this would only hold if every listed choice failed, which is not the case here.
A video solution is available for this question — log in and enroll to watch it.