CSSE4004 - Lecture 3

Beschreibung

CSSE4004 - Lecture 3
tb22
Quiz von tb22, aktualisiert more than 1 year ago
tb22
Erstellt von tb22 vor fast 9 Jahre
274
0

Zusammenfassung der Ressource

Frage 1

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

Frage 2

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

Frage 3

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

Frage 4

Frage
This is not an interleaved transmission
Antworten
  • True
  • False

Frage 5

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

Frage 6

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

Frage 7

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

Frage 8

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

Frage 9

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

Frage 10

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

Frage 11

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

Frage 12

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

Frage 13

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

Frage 14

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

Frage 15

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

Frage 16

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

Frage 17

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

Frage 18

Frage
Is the caller of an RPC usually blocked while waiting for a result?
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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
Parasitologie 2019
Peter Christian Ponn