Exam 1z0-1157-26 Topic 1 Question 8 Discussion

Actual exam question for Oracle's 1z0-1157-26 exam
Question #: 8
Topic #: 1
In JSON-RPC 2.0, what is the difference between a request and a notification?

Suggested Answer: B Vote an answer

The defining distinction is the presence of a request identifier and the expectation of a corresponding response. In JSON-RPC 2.0, a normal request contains an id value so that the sender can correlate the response with the request. A notification deliberately omits the ID because no response is expected. The supplied course material identifies exactly this distinction.
MCP uses JSON-RPC 2.0 as its underlying messaging protocol. Its architecture documentation explicitly states that clients and servers exchange requests and responses, while notifications are used where no response is required. MCP's notification examples contain no id field, and the documentation explains that this follows JSON-RPC notification semantics.
The difference has nothing to do with whether data is structured, whether encryption is enabled, or which transport is used. Both requests and notifications can carry structured JSON parameters. Security belongs to the transport/authentication layer, while MCP can transmit JSON-RPC messages over supported transports such as STDIO or Streamable HTTP.
Therefore, B is the precise protocol-level distinction.
Study Guide reference/topic: Model Context Protocol (MCP) Fundamentals - JSON-RPC 2.0 requests, responses, IDs, and notifications.

by Lennon at Oct 09, 2026, 06:53 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
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.

0
0
0
10