nerdexam
CompTIA

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.

Database Fundamentals

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)
  • A
    88% (28)
  • B
    6% (2)
  • C
    3% (1)
  • E
    3% (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.

APrimary keysCorrect

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.

BConstraints

Constraints, like foreign key or unique constraints, are more characteristic of relational databases to enforce data integrity across tables, which NoSQL generally relaxes.

CSchema

NoSQL databases are typically schema-less or have a flexible schema, meaning their structure is not rigidly defined upfront like in relational databases.

DTables

Tables are a core structural element of relational databases, whereas NoSQL databases often use collections, documents, graphs, or key-value pairs instead.

EDelimiters

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

#NoSQL databases#database elements#data models

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice