5.8k views
2 votes
which of the following statements on tuple and document stores is correct? group of answer choices the key can be put in one of the attributes it has a less rich api than a key-value store indices are not possible to define document stores are always implemented using json

User KesaVan
by
7.7k points

1 Answer

2 votes

Final answer:

The correct statement regarding tuple and document stores is that indices can be defined in document stores. The format for document stores is not limited to JSON, and they usually provide a richer set of API operations compared to key-value stores.

Step-by-step explanation:

Among the given statements regarding tuple and document stores, the correct one is that indices can indeed be defined in document stores. Document stores, often used in NoSQL databases, allow for efficient data retrieval and can have multiple indices on different attributes to facilitate various query patterns. While JSON is a common format used for storing data in document stores, it is not the only format; formats like BSON (Binary JSON) or XML may also be used, so stating that document stores are always implemented using JSON is incorrect. Furthermore, comparing the API richness to key-value stores, document stores typically offer a more robust set of operations than simple key-value stores due to their ability to handle complex data structures. Regarding keys, they can be part of the document's data structure and identified by attributes, but this does not necessarily have to be the case.

User Marcus Rommel
by
8.0k points