Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Cisco Certified DevNet Associate (DEVASC) · Cisco
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
In a REST API, operations are performed on resources, which are accessed and manipulated using HTTP verbs such as GET, POST, PUT, and DELETE. These resources are identified by a URL and are defined within the API. For example, an API may define a resource called "customers", which can be accessed using the URL "http://api.example.com/customers". To retrieve a list of customers, the client could make a GET request to this URL. To create a new customer, the client could make a POST request to the same URL with the necessary data in the request body. In contrast, in an RPC API, operations are performed by making function calls. The client makes a request to the server, specifying the function to be called and any necessary parameters. The server then executes the function and returns the result to the client. RPC APIs are operation-oriented, meaning that the focus is on the function being called rather than the resource being accessed.
So why not A, as you wrote "RPC APIs are operation-oriented"
RPC APIs are operation-oriented or action-oriented, and it is only correct, that is the key.