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
Drag & Drop Scenario
Read the scenario requirements and decide your answer. Click Check Answer below to see the marked solution.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
REST It follows a resource-oriented model. The API can be stateless. RPC The API is seen as a function call. There is communication between server and client.
I think this is the correct answer: REST is resource-based REST is client-server (it's over HTTP, which is always client-server) RPC is a function call RPC -can- be stateless I think the confusion comes from the word "can". REST is -always- stateless. It -must- be. RPC calls -can- be stateless as well, but it's not required.
I agree with your analysis. REST must be client-server, and follows a resource-oriented model to comply with the uniform interface constraint. RPC 'can' be stateless, and is a function call per https://www.techtarget.com/searchapparchitecture/definition/Remote-Procedure-Call-RPC However 'client-server' communication does apply to both, this is the "best" answer.