CSSE4004 - Lecture 3

Descrição

CSSE4004 - Lecture 3
tb22
Quiz por tb22, atualizado more than 1 year ago
tb22
Criado por tb22 quase 9 anos atrás
274
0

Resumo de Recurso

Questão 1

Questão
Which of the following is true about typical RPC
Responda
  • Synchronous and transient
  • Synchronous and persistent
  • Nonblocking and transient
  • Synchronous and temporary

Questão 2

Questão
What is not a common protocol that middleware provides?
Responda
  • Security
  • Transaction
  • Message queuing
  • Concurrency

Questão 3

Questão
Which of these is not a type of synchronicity?
Responda
  • Persistent asynchronous communication
  • Receipt-based transient synchronous communication
  • Response-based transient synchronous communication
  • Multicast response synchronization

Questão 4

Questão
This is not an interleaved transmission
Responda
  • True
  • False

Questão 5

Questão
Which of the following is false about publish-subscribe
Responda
  • 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

Questão 6

Questão
Which of these is NOT an issue resolved by Parameter marshaling?
Responda
  • 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 representation
  • Generating stubs to interface with server side application

Questão 7

Questão
What does Message-oriented communication typically allow over traditional RPC?
Responda
  • Asynchronous communication
  • Persistent communication
  • Reliable communication
  • Multicast RMI

Questão 8

Questão
When is stream-oriented communication appropriate?
Responda
  • 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

Questão 9

Questão
Which of the following is true about Persistent synchronous communication if the recipient is not running
Responda
  • 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

Questão 10

Questão
Which is true about Transient asynchronous communication if the reciever is not running
Responda
  • 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

Questão 11

Questão
Which of the following is true about parameter specifications and stubs?
Responda
  • 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

Questão 12

Questão
What type of communication is this?
Responda
  • Receipt-based transient synchronous communication
  • Transient asynchronous communication
  • Delivery-based transient synchronous communication at message delivery
  • Persistent synchronous communication

Questão 13

Questão
What are the basic operations of a message queue?
Responda
  • Put, Get, Poll, Notify
  • Push, Get, Poll, Notify
  • Pop, Get, Poll, Subscribe
  • Put, Get, Notify, Acknowledge

Questão 14

Questão
What is the main role of a message broker?
Responda
  • 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

Questão 15

Questão
What does this diagram represent?
Responda
  • Traditional RPC
  • Asynchronous RPC
  • Passing a value by reference
  • A callback following an asynchronous RPC

Questão 16

Questão
Which layer does the middleware layer sit between?
Responda
  • Application and transport
  • Transport and network
  • Application and network
  • Operating system and Network

Questão 17

Questão
What kind of communication is this?
Responda
  • Persistent asynchronous communication
  • Persistent synchronous communication
  • Response-based transient synchronous communication
  • Transient asynchronous communication

Questão 18

Questão
Is the caller of an RPC usually blocked while waiting for a result?
Responda
  • True
  • False

Semelhante

CSSE4004 - Lecture 5
tb22
CSSE4004 - Lecture 8
tb22
CSSE4004 -Lecture 7
tb22
CSSE4004 Lecture 1
tb22
CSSE4004 - Lecture 4
tb22
CSSE4004 - Lecture 9
tb22
CSSE4004 - Lecture 2
tb22
CSSE4004 - Lecture 6
tb22
CSSE4004 - Lecture 10
tb22
MKTG1501 Quiz
Emily Samuels