Databases Flashcards

1
Q

What is a popular relational database?

A

MySQL

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

What is a popular key-value store database?

A

Dynamo

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

What is a popular document database?

A

MongoDB

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

What is a popular wide-column database?

A

Cassandra

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

What is a popular graph database?

A

Neo4J

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

Can you alter a SQL/relational DB schema?

A

Yes, but requires modifying the entire DB and going offline

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

When can you add columns to a NoSQL schema?

A

On the fly

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

In a NoSQL DB, does each entity need to contain data for each column?

A

No

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

What type of DB has more powerful querying?

A

SQL/Relational

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

How do you scale a relational DB?

A

Vertically by increasing horsepower of hardware like higher memory, CPU

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

What is the downside of scaling a (relational) DB vertically?

A

Expensive

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

Can you scale a relational DB across multiple servers?

A

Yes, but challenging and time consuming

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

How do you scale a non-relational DB?

A

Horizontally by adding more servers

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

What type of DB is cheaper to scale

A

Non-relational

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

What type of DB is better for ACID compliancy and data reliability

A

Relational

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

Non-relational DBs sacrifice ACID compliance for what?

A

Performance and scalability

17
Q

What kind of DB is preferred for ecommerce/finance?

A

SQL

18
Q

Why would ecommerce and finance prefer SQL DBs?

A

ACID compliance

19
Q

When you do not want data to be the bottleneck, which type of DB to choose?

A

NoSQL

20
Q

When storing large volumes of data that have little to no structure, which DB?

A

NoSQL

21
Q

Which DB when you want to easily and cheaply scale

A

NoSQL

22
Q

Which DB is better for rapid development?

A

NoSQL