NoSQL DB Terminology Flashcards

1
Q

What is a NoSQL Database

A

non relational database designed to handle large volumes of unstructured, semi-structured, or structured data with high scalability and flexibility.

data models: Support diverse data models like key-value, document, graph, distributed architecture, and performance

use-case - for big data, real-time analytics, modern applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some examples of NOSQL Databases

A

MongoDB, Cassandra, Redis

Amazon DynamoDB
Azure Cosmos DB
Google Cloud Firestore

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is High Availability

A

HA means the db stays up and running with minimal downtime.

It does this through replica sets to automatically switch to a backup node if the primary fails.

This ensures the data is always accessible.

HA is achieved through distributed architecture, replication, automatic failover, eventual consistency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Distributed Architecture

A

data is replicated across multiple nodes or servers, often in different geographic regions, ensuring that if one node fails, others can take over

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Replication

A

multiple copies of data are maintained (e.g. leader-follower or peer to peer replication), allowing failover to a replica if the primary node goes down

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Automatic Failover

A

system detects failures and reroutes requests to healthy nodes without manual intervention

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is ‘Eventual Consistency’

A

Many noSQL db’s prioritize availability over immediate consistency, ensuring data remains accessible even if updates are temporarily inconsistent across nodes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Federation?

A

Splitting a NoSQL db into smaller, independent databases (or shards) based on logical or functional boundaries, where each federated db handles a specific subset of the application’s data or workload.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Sharding

A

partitioning a single NoSQL db across multiple nodes or servers, where each shard holds a subset of the data based on a shard key (e.g. user ID).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Federation vs Sharding

A

both enhance scalability and performance in NoSQL systems, but address different needs:

Federation organizes data by function or domain

Sharding distributes a single dataset for parallel processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Fault Tolerance

A

db’s ability to continue operating reliably and maintain data availability in the event of a hardware failure, network issue, or other disruption.

MongoDB achieves fault tolerance through its replica sets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly