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?
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.
A product catalog stores records with nested specifications, and different products may have different fields. Which model most directly accommodates this data shape?
- A
A key-value database, because it centers on retrieving a value using a known key
- B
A wide-column database, because it structures distributed records around partitions
- C
A document database, because it supports nested records and documents with varying fields
- D
A graph database, because it centers on traversing explicit relationships
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?
- A
A wide-column database, with partitions designed around the sensor-and-day query
- B
A graph database, with each sensor reading represented as a relationship
- C
A document database, because flexible fields make partition design unnecessary
- D
A key-value database, because all readings can be queried by their contents without keys
A recommendation service often follows chains of connections among people and items. Which model most directly supports this relationship-heavy query pattern?
- A
A key-value database, because each person can be retrieved by a known identifier
- B
A document database, because each person can have nested fields
- C
A wide-column database, because relationship traversal is its central query pattern
- D
A graph database, because it makes relationships explicit and supports traversing them
Which statement best describes the term “NoSQL” as it is used for nonrelational databases?
- A
They have no queries, so applications must retrieve all data without filtering.
- B
They use models other than the traditional relational model, but they can still have queries and structure.
- C
They are all unstructured systems with the same data model.
- D
They are relational databases that do not use tables.
A team is selecting a database family for a new application. Which approach best follows the recommended way to make the choice?
- A
Choose the model with the most flexible schema, regardless of the required queries.
- B
Choose the model that provides relational joins for every workload.
- C
List required queries and updates, then choose a model that supports them directly while considering operational requirements.
- D
Choose a graph database because relationship modeling is useful in every application.
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?
- A
Finding records by their contents may require extra indexes or scanning.
- B
The database automatically traverses relationships among records.
- C
The database cannot store values more complex than strings.
- D
Every query must read all rows in a designed partition.
A document database stores related information separately because it is large, frequently changes, and is accessed independently. Which statement best explains this modeling choice?
- A
Embedding is always required because document databases cannot use references.
- B
References are always best because embedded data cannot be updated atomically.
- C
Embedding and references have identical tradeoffs in every workload.
- D
Embedding can make a read convenient; references may suit large, independently accessed, or frequently changing data.
Why does partition-key selection matter in a wide-column database?
- A
It ensures arbitrary relational joins are available across all partitions.
- B
An oversized or heavily used partition can become a storage or traffic hotspot.
- C
It removes the need to design data around expected queries.
- D
It guarantees that queries outside the partition design will be efficient.
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?
- A
Graph databases are always preferable because they make connections explicit.
- B
Graph databases are best for every simple lookup because nodes have properties.
- C
Graph modeling may add unnecessary complexity when the workload is mainly simple lookup or aggregation over independent records.
- D
Graph databases cannot represent entities as nodes.
Related study packs and tools
AWS Cloud Concepts
Practice cloud benefits, deployment models, scalability, elasticity and AWS Cloud concepts.
12 study toolsAWS Cloud Practitioner Practice Test
Comprehensive AWS Certified Cloud Practitioner practice covering cloud concepts, security, AWS services and pricing.
15 study toolsAWS Cloud Technology and Services: Container Services
Focused study of containers, orchestration and container service use cases.
27 study toolsAWS Cloud Technology and Services: EC2 Compute
Focused study of instances, instance types, scaling and compute use cases.
12 study toolsAWS Cloud Technology and Services: S3 Storage
Focused study of objects, buckets, storage classes and storage use cases.
12 study toolsAWS Cloud Technology and Services: Serverless Services
Focused study of event-driven functions and serverless application concepts.
15 study tools