Timedora
Free Practice Quiz Question List

Nonrelational Database Models Online Quiz Questions

Use this free practice quiz with 10 questions to review Nonrelational Database Models, test your knowledge, and prepare for your next test or exam.

10 questions
01
Choose one
1 point

An application usually retrieves or updates a user session when it already knows the session identifier. Which nonrelational model most directly fits this access pattern?

  1. A

    A graph database, because sessions are naturally represented as relationships between entities

  2. B

    A key-value database, because each session can be retrieved by its known identifier

  3. C

    A wide-column database, because every session query requires reading rows from a designed partition

  4. D

    A document database, because sessions must contain nested documents and arrays

02
Choose one
1 point

A product catalog stores records with nested specifications, and different products may have different fields. Which model most directly accommodates this data shape?

  1. A

    A key-value database, because it centers on retrieving a value using a known key

  2. B

    A wide-column database, because it structures distributed records around partitions

  3. C

    A document database, because it supports nested records and documents with varying fields

  4. D

    A graph database, because it centers on traversing explicit relationships

03
Choose one
1 point

A distributed application regularly fetches timestamp-ordered readings for a known sensor and day. Which model is designed to support queries within a deliberately designed partition?

  1. A

    A wide-column database, with partitions designed around the sensor-and-day query

  2. B

    A graph database, with each sensor reading represented as a relationship

  3. C

    A document database, because flexible fields make partition design unnecessary

  4. D

    A key-value database, because all readings can be queried by their contents without keys

04
Choose one
1 point

A recommendation service often follows chains of connections among people and items. Which model most directly supports this relationship-heavy query pattern?

  1. A

    A key-value database, because each person can be retrieved by a known identifier

  2. B

    A document database, because each person can have nested fields

  3. C

    A wide-column database, because relationship traversal is its central query pattern

  4. D

    A graph database, because it makes relationships explicit and supports traversing them

05
Choose one
1 point

Which statement best describes the term “NoSQL” as it is used for nonrelational databases?

  1. A

    They have no queries, so applications must retrieve all data without filtering.

  2. B

    They use models other than the traditional relational model, but they can still have queries and structure.

  3. C

    They are all unstructured systems with the same data model.

  4. D

    They are relational databases that do not use tables.

06
Choose one
1 point

A team is selecting a database family for a new application. Which approach best follows the recommended way to make the choice?

  1. A

    Choose the model with the most flexible schema, regardless of the required queries.

  2. B

    Choose the model that provides relational joins for every workload.

  3. C

    List required queries and updates, then choose a model that supports them directly while considering operational requirements.

  4. D

    Choose a graph database because relationship modeling is useful in every application.

07
Choose one
1 point

An application stores records in a key-value database but often needs to find them by content without knowing their keys. What is a likely tradeoff?

  1. A

    Finding records by their contents may require extra indexes or scanning.

  2. B

    The database automatically traverses relationships among records.

  3. C

    The database cannot store values more complex than strings.

  4. D

    Every query must read all rows in a designed partition.

08
Choose one
1 point

A document database stores related information separately because it is large, frequently changes, and is accessed independently. Which statement best explains this modeling choice?

  1. A

    Embedding is always required because document databases cannot use references.

  2. B

    References are always best because embedded data cannot be updated atomically.

  3. C

    Embedding and references have identical tradeoffs in every workload.

  4. D

    Embedding can make a read convenient; references may suit large, independently accessed, or frequently changing data.

09
Choose one
1 point

Why does partition-key selection matter in a wide-column database?

  1. A

    It ensures arbitrary relational joins are available across all partitions.

  2. B

    An oversized or heavily used partition can become a storage or traffic hotspot.

  3. C

    It removes the need to design data around expected queries.

  4. D

    It guarantees that queries outside the partition design will be efficient.

10
Choose one
1 point

An application mostly performs simple lookups and aggregations over independent records, with few queries that follow relationships. What is a reasonable concern about choosing a graph database?

  1. A

    Graph databases are always preferable because they make connections explicit.

  2. B

    Graph databases are best for every simple lookup because nodes have properties.

  3. C

    Graph modeling may add unnecessary complexity when the workload is mainly simple lookup or aggregation over independent records.

  4. D

    Graph databases cannot represent entities as nodes.