What is a characteristic of RPC APIs compared to REST APIs?
A.
Authentication is done over provisions for the service caller and vice versa for RPC API, and REST API uses HTTP headers for authentication.
B.
All communications between the client and server must be stateless for RPC API, and REST API is stateful.
C.
The architecture model for RPC API is resource-focused, and REST API is procedure-focused.
D.
The data payload must be in JSON format for RPC API, and REST API allows JSON and XML formats.
The Answer Is:
A
This question includes an explanation.
Explanation:
RPC (Remote Procedure Call) APIs and REST (Representational State Transfer) APIs have different approaches to communication and authentication.
RPC APIs: Authentication can be more complex and is often embedded within the service calls themselves, sometimes requiring specific provisions for the caller and the service.
REST APIs: Authentication typically relies on standardized methods such as HTTP headers, including Basic Auth, OAuth tokens, or API keys, making it more straightforward and standardized across different services.
References:
Cisco DevNet Documentation - APIs
Cisco DevNet Associate Certification Guide
200-901 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"