FC0-U61 · Question #679
Which of the following is an element of a NoSQL database?
The correct answer is A. Primary keys. Even though NoSQL databases are typically schema-less, primary keys are still a fundamental element used for uniquely identifying individual documents or records.
Question
Which of the following is an element of a NoSQL database?
Options
- APrimary keys
- BConstraints
- CSchema
- DTables
- EDelimiters
How the community answered
(32 responses)- A88% (28)
- B6% (2)
- C3% (1)
- E3% (1)
Why each option
Even though NoSQL databases are typically schema-less, primary keys are still a fundamental element used for uniquely identifying individual documents or records.
Primary keys are fundamental for uniquely identifying records or documents within a database, and even NoSQL databases, which are often schemaless, still rely on a unique identifier for each item. For instance, MongoDB uses an '_id' field as a primary key to ensure uniqueness for each document in a collection.
Constraints, like foreign key or unique constraints, are more characteristic of relational databases to enforce data integrity across tables, which NoSQL generally relaxes.
NoSQL databases are typically schema-less or have a flexible schema, meaning their structure is not rigidly defined upfront like in relational databases.
Tables are a core structural element of relational databases, whereas NoSQL databases often use collections, documents, graphs, or key-value pairs instead.
Delimiters are characters used to separate data fields, which is a general data formatting concept, not a structural element specific to NoSQL databases.
Concept tested: NoSQL database characteristics
Source: https://www.mongodb.com/docs/manual/core/document/#document-id
Topics
Community Discussion
No community discussion yet for this question.