Mongo Prep Flashcards

1
Q

ACID

A

Atomicity, Consistency, Isolation, and Durability

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

Atomicity

A

Either the entire statement is executed, or none of it is executed

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

Consistency (ACID)

A

transactions only make changes to tables in predefined, predictable ways.

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

Isolation (ACID)

A

concurrent transactions don’t affect one another.

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

Durability (ACID)

A

transactions will be saved, even in the event of system failure.

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

Benefits of SQL

A

ACID transactions and support for complex queries

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

Limitations of SQL

A

Migrations are tough, Difficult to scale horizontally, not well suited for hierarchical data

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

Benefits of NoSQL

A

Fast, Flexible Schema, Scales horizontally, Handles large data well

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

Limitations of NoSQL

A

Complex Query Capabilities? Weaker Consistency

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

Mongo Data Modeling Strategies

A

Embedded Documents (1:1 and 1:few), Normalization (1:m | m:m), Hybrid

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

BSON benefits

A

More data types than JSON and size encoding for efficient traversal

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

Max document size

A

16MB

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

Embedded Document Array benefits

A

Faster read/write, better consistency, easily model hierarchical data

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

int size

A

32-bit

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

long size

A

64-bit

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