Final - NoSQL Flashcards

1
Q

Q: What are the three main types of data?

A

A: Structured, semistructured, and unstructured.

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

Q: What is an example of structured data?

A

Relational databases.

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

Q: What type of data uses tags or markers for organization?

A

A: Semistructured data (e.g., JSON, XML).

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

Q: What are some examples of unstructured data?

A

A: Text files, audio, video, and images.

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

Q: In JSON syntax, how are objects and arrays represented?

A

A: Objects are in {}, and arrays are in [].

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

Q: Name three types of NoSQL data models.

A

A: Document databases, key-value stores, and graph databases.

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

Q: What type of NoSQL database is best for representing relationships between entities?

A

A: Graph databases.

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

Q: How does NoSQL differ from relational databases in terms of scalability?

A

A: NoSQL is horizontally scalable, while relational databases are vertically scalable.

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

Q: What is replication in databases?

A

A: The process of copying data to multiple locations for redundancy and high availability.

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

Q: What are the three replication strategies?

A

A: Leader-follower, multi-leader, and leaderless.

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

Q: What is sharding in databases?

A

A: Breaking data into smaller pieces (shards) and distributing them across multiple servers.

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

Q: What does the CAP theorem state?

A

A distributed system can only provide two of the three guarantees: consistency, availability, and partition tolerance.

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

Q: Which part of the CAP theorem is almost always required?

A

A: Partition tolerance.

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