exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 298 discussion

Actual exam question from Cisco's 200-901
Question #: 298
Topic #: 1
[All 200-901 Questions]

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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Dannyboy7
Highly Voted 1 year, 9 months ago
Selected Answer: A
A is correct
upvoted 7 times
...
aurang
Most Recent 7 months, 2 weeks ago
Selected Answer: C
The option A is incorrect because it misrepresents the typical authentication methods used by RPC and REST APIs. In reality: >>RPC APIs can indeed use various authentication methods, including HTTP headers, tokens, or other mechanisms, similar to REST APIs. >>REST APIs commonly use HTTP headers for authentication, but they can also utilize other authentication methods such as tokens, API keys, or OAuth. Therefore, while there may be some differences in how authentication is implemented between RPC and REST APIs, the statement in option A is not a definitive distinction between the two. So the correct option is C
upvoted 1 times
...
mellohello
1 year, 10 months ago
Selected Answer: C
RPC (Remote Procedure Call) APIs are procedure-focused, meaning that they are designed to expose a specific function or set of functions to be called over a network. The interface of an RPC API is focused on the procedures that can be called, and the input and output parameters of those procedures. On the other hand, REST (Representational State Transfer) APIs are resource-focused, meaning that they are designed to expose a set of resources that can be manipulated using a fixed set of operations (such as create, read, update, delete). The interface of a REST API is focused on the resources that are available, and the operations that can be performed on those resources.
upvoted 1 times
DoctorDoctor
1 year, 9 months ago
REST is resource-centric
upvoted 2 times
...
cerifyme85
1 year, 9 months ago
The answer for C says it resource focused for RPC and Procedural for REST.. which is wrong
upvoted 5 times
...
...
outrageous7
1 year, 10 months ago
can you provide where it talks about this in the book?
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago