nerdexam
CiscoCisco

200-901 · Question #567

200-901 Question #567: Real Exam Question with Answer & Explanation

The correct answer is D: RPC is stateful in nature and REST is stateless in nature.. {"question_number": 6, "question": "What is a difference between REST and RPC API styles?", "correct_answer": "D", "explanation": "REST (Representational State Transfer) is inherently stateless - each HTTP request must contain all information necessary to process it, with no sess

Understanding and Using APIs

Question

What is a difference between REST and RPC API styles?

Options

  • ARPC uses HTML format and REST uses JSON format.
  • BRPC has a single style and REST has multiple styles
  • CRPC uses the POST operation to update and REST uses the PUT operation to update.
  • DRPC is stateful in nature and REST is stateless in nature.

Explanation

{"question_number": 6, "question": "What is a difference between REST and RPC API styles?", "correct_answer": "D", "explanation": "REST (Representational State Transfer) is inherently stateless - each HTTP request must contain all information necessary to process it, with no session state stored on the server between requests. RPC (Remote Procedure Call) can be stateful, maintaining session context between calls. Option A is wrong because both REST and RPC commonly use JSON (REST also supports XML, plain text, etc.; RPC doesn't dictate HTML). Option B is incorrect - REST has defined constraints/styles, while RPC has multiple implementations (gRPC, XML-RPC, JSON-RPC). Option C is inaccurate; RPC uses various verbs (CALL), while REST uses HTTP methods semantically (GET, POST, PUT, DELETE) according to resource actions.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#API Styles#REST#RPC#Statelessness

Community Discussion

No community discussion yet for this question.

Full 200-901 PracticeBrowse All 200-901 Questions