nerdexam
Cisco

200-901 · Question #333

What is a characteristic of RPC APIs compared to REST APIs?

The correct answer is A. Authentication is done over provisions for the service caller and vice versa for RPC API, and. In Remote Procedure Call (RPC) APIs, authentication is often done over provisions for the service caller, and vice versa. This means that both parties authenticate each other. In contrast, REST APIs typically use HTTP headers for authentication, where the client includes authenti

Understanding and Using APIs

Question

What is a characteristic of RPC APIs compared to REST APIs?

Options

  • AAuthentication is done over provisions for the service caller and vice versa for RPC API, and
  • BAll communications between the client and server must be stateless for RPC API, and REST API
  • CThe architecture model for RPC API is resource-focused, and REST API is procedure-focused.
  • DThe data payload must be in JSON format for RPC API, and REST API allows JSON and XML

How the community answered

(41 responses)
  • A
    88% (36)
  • B
    2% (1)
  • C
    2% (1)
  • D
    7% (3)

Explanation

In Remote Procedure Call (RPC) APIs, authentication is often done over provisions for the service caller, and vice versa. This means that both parties authenticate each other. In contrast, REST APIs typically use HTTP headers for authentication, where the client includes authentication information in the HTTP headers when making a request.

Topics

#API Styles#REST API#RPC API#API Authentication

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice