Home »
MCQs »
MongoDB MCQs
A document is a set of ___
8. A document is a set of ___.
- Key-value pairs
- Application pairs
- Activity pair set
- None of the mentioned above
Answer: A) Key-value pairs
Explanation:
A document is a collection of key-value pairs that are stored together. Documents have a dynamic schema that changes over time. Using a dynamic schema, documents in the same collection do not all need to have the same set of fields or structure, and the same common fields across multiple documents in a collection may contain different types of data.