Which of the following is true about typical RPC
Synchronous and transient
Synchronous and persistent
Nonblocking and transient
Synchronous and temporary
What is not a common protocol that middleware provides?
Which of these is not a type of synchronicity?
Persistent asynchronous communication
Receipt-based transient synchronous communication
Response-based transient synchronous communication
Multicast response synchronization
This is not an interleaved transmission
Which of the following is false about publish-subscribe
One message might be delivered to multiple recipients
Subscriptions may be conditional upon the content of the message
The broker is responsible for deciding which subscribers should receive the message
The sender specifies which recipients should receive the message
Which of these is NOT an issue resolved by Parameter marshaling?
Client and server have different data representations
Client and server have to agree on the same encoding
Interpreting data and transforming it into machine dependent
Generating stubs to interface with server side application
What does Message-oriented communication typically allow over traditional RPC?
When is stream-oriented communication appropriate?
When the the temporal relationship between different data items is essential
When large blocks of data such as video files are involved
When reliable communication is not required
When buffering is not acceptable
Which of the following is true about Persistent synchronous communication if the recipient is not running
The message is stored and the sender receives accepted acknowledgement immediatley
The message is stored and the sender receives accepted acknowledgement when the recipient starts
The sender is blocked until the receiver starts
The message is discarded and the sender is notified when the receiver starts
Which is true about Transient asynchronous communication if the reciever is not running
The message will not be received but the sender won't be blocked
The message will be queued until the receiver starts
The sender will automatically retry until receiver starts
The message will not be received and the sender will be blocked
Which of the following is true about parameter specifications and stubs?
Parameters passed by value do generally pose any problems
It is only possible to pass parameters by value if they are primitive data types
Interfaces (procedures) are often specified in Interface Definition Languages (IDL) and compiled into stubs
It is completely impossible to pass parameters by reference
What type of communication is this?
Transient asynchronous communication
Delivery-based transient synchronous communication at
Persistent synchronous communication
What are the basic operations of a message queue?
Put, Get, Poll, Notify
Push, Get, Poll, Notify
Pop, Get, Poll, Subscribe
Put, Get, Notify, Acknowledge
What is the main role of a message broker?
To transform messages from sender's format to receive'’s format
To handle retries if a receiver fails to acknowledge the message
To manage who is authorized to subscribe to which queue
To balance messages between multiple storage queues
What does this diagram represent?
Passing a value by reference
A callback following an asynchronous RPC
Which layer does the middleware layer sit between?
Application and transport
Transport and network
Application and network
Operating system and Network
What kind of communication is this?
Is the caller of an RPC usually blocked while waiting for a result?