The message in pub/sub is an opaque blob of . . . . . . . .
A. bits
B. bytes
C. word
D. nibble
Answer: Option B
Solution (By Examveda Team)
Option A:Bits
are the smallest unit of data in computing, representing a binary value of either 0 or 1. While messages can ultimately be represented in bits, referring to a message as an "opaque blob" implies a larger and more complex data structure than individual bits.Option B:
Bytes
consist of 8 bits and are a more appropriate unit for describing a message in pub/sub systems. Messages in this context are often treated as opaque blobs of data, meaning the content is not interpreted by the pub/sub system itself. Instead, it is delivered as a sequence of bytes, allowing flexibility in the data format.Option C:
Word
generally refers to a data unit that varies in size depending on the architecture (e.g., 16, 32, or 64 bits). While a word is a valid data size, it is not commonly used to describe messages in pub/sub systems, where a more standardized unit like bytes is preferred.Option D:
Nibble
represents 4 bits and is not typically used to describe the size of messages in pub/sub systems. It is a smaller unit of data compared to bytes and is insufficient for encapsulating complex messages effectively.Conclusion: The correct answer is Option B:
Bytes
, as messages in pub/sub systems are typically described as opaque blobs of bytes, providing a flexible and efficient way to handle various types of data without interpretation by the messaging system.
Join The Discussion