CSSE4004 - Lecture 3

Descripción

CSSE4004 - Lecture 3
tb22
Test por tb22, actualizado hace más de 1 año
tb22
Creado por tb22 hace alrededor de 9 años
274
0

Resumen del Recurso

Pregunta 1

Pregunta
Which of the following is true about typical RPC
Respuesta
  • Synchronous and transient
  • Synchronous and persistent
  • Nonblocking and transient
  • Synchronous and temporary

Pregunta 2

Pregunta
What is not a common protocol that middleware provides?
Respuesta
  • Security
  • Transaction
  • Message queuing
  • Concurrency

Pregunta 3

Pregunta
Which of these is not a type of synchronicity?
Respuesta
  • Persistent asynchronous communication
  • Receipt-based transient synchronous communication
  • Response-based transient synchronous communication
  • Multicast response synchronization

Pregunta 4

Pregunta
This is not an interleaved transmission
Respuesta
  • True
  • False

Pregunta 5

Pregunta
Which of the following is false about publish-subscribe
Respuesta
  • 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

Pregunta 6

Pregunta
Which of these is NOT an issue resolved by Parameter marshaling?
Respuesta
  • 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

Pregunta 7

Pregunta
What does Message-oriented communication typically allow over traditional RPC?
Respuesta
  • Asynchronous communication
  • Persistent communication
  • Reliable communication
  • Multicast RMI

Pregunta 8

Pregunta
When is stream-oriented communication appropriate?
Respuesta
  • 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

Pregunta 9

Pregunta
Which of the following is true about Persistent synchronous communication if the recipient is not running
Respuesta
  • 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

Pregunta 10

Pregunta
Which is true about Transient asynchronous communication if the reciever is not running
Respuesta
  • 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

Pregunta 11

Pregunta
Which of the following is true about parameter specifications and stubs?
Respuesta
  • 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

Pregunta 12

Pregunta
What type of communication is this?
Respuesta
  • Receipt-based transient synchronous communication
  • Transient asynchronous communication
  • Delivery-based transient synchronous communication at message delivery
  • Persistent synchronous communication

Pregunta 13

Pregunta
What are the basic operations of a message queue?
Respuesta
  • Put, Get, Poll, Notify
  • Push, Get, Poll, Notify
  • Pop, Get, Poll, Subscribe
  • Put, Get, Notify, Acknowledge

Pregunta 14

Pregunta
What is the main role of a message broker?
Respuesta
  • 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

Pregunta 15

Pregunta
What does this diagram represent?
Respuesta
  • Traditional RPC
  • Asynchronous RPC
  • Passing a value by reference
  • A callback following an asynchronous RPC

Pregunta 16

Pregunta
Which layer does the middleware layer sit between?
Respuesta
  • Application and transport
  • Transport and network
  • Application and network
  • Operating system and Network

Pregunta 17

Pregunta
What kind of communication is this?
Respuesta
  • Persistent asynchronous communication
  • Persistent synchronous communication
  • Response-based transient synchronous communication
  • Transient asynchronous communication

Pregunta 18

Pregunta
Is the caller of an RPC usually blocked while waiting for a result?
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

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