CREST Practitioner Security Analyst (CPSA) Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Master the CREST Practitioner Security Analyst Exam. Prepare with quizzes and comprehensive study guides that include tips and explanations. Excel in your certification journey!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which protocol would you use for a remote procedure call?

  1. HTTP

  2. RPC

  3. TCP

  4. ICMP

The correct answer is: RPC

Using RPC (Remote Procedure Call) as the protocol for conducting remote procedure calls is appropriate because it is specifically designed for this purpose. RPC allows a program to execute a procedure on a remote server as if it were executing a local procedure call, enabling communication between software that runs on different computers within a network. RPC abstracts the complexities of the network communication, allowing developers to invoke procedures seamlessly over a network. The protocol takes care of converting the procedure calls and results into a format suitable for network transmission, managing the intricacies involved in remote communication, such as parameter serialization, variable data types, and handling network reliability. While HTTP can facilitate communication and transmit data (and is sometimes used in web services that expose remote functionalities), it is not optimized for the specific requirements of remote procedure calls like RPC is. TCP operates at a lower level, providing a reliable transport layer but does not define the procedure's interface or the specifics of how the calls are made. ICMP primarily serves diagnostic and control functions, such as sending error messages, and is not used for procedure calls. Thus, choosing RPC embodies the ideal solution for implementing remote procedure calls effectively.