Storage Systems Flashcards

1
Q

3 types of Storage Systems

A

Cache, Persistent, Object

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

Example of cache in GC

A

Memory Store - managed Redis service

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

1 benefit of cache

A

low latency - sub-millisecond access

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

3 problems of cache

A
  1. volatile - lost when machine shuts down
  2. more expensive than SSD or HDD
  3. can get out of sync with the system of truth (persistent storage)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Cache - quick definition

A

in memory data store

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

Persistent Storage - quick definition

A

durable block storage

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

Where can you use persistent storage?

A

Can be attached to VMs in Compute Engine and Kubernetes Engine.

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

Where is persistent storage located?

A

On the network. They are not attached to the physical servers hosting your VM. They exist independently of VMs.

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

Can a VM have locally attached persistent storage?

A

Yes. VM can have local SSD, but it is volatile.

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

Types of persistent storage

A

SSD and HDD

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

Differences between SSD and HDD

A

HDD have higher latency, but lower cost.

Network attached SSD are 40/20 times faster (R/W) than HDD. Locally attached SSD are 200/150 times faster.

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

Max size of SSD/HDD

A

64TB

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

4 facts of persistent storage

A
  1. can create file systems on them
  2. data is automatically encrypted
  3. size can be increased while mounted to VM
  4. can be mounted in read-only mode on multiple VMs at once
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Is persistent storage zonal or regional?

A

Both. Regional replicates data across different zones, but is more expensive than purely zonal storage.

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

What is Object Storage good for?

A

large volumes of data that is shared widely

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

3 storage data models

A
  1. object
  2. relational
  3. NoSQL
17
Q

GC app example of object model storage

A

Cloud Store

18
Q

How are object model objects stored?

A

Atomically. Cannot read parts of an object. Must copy to server, make changes and then copy object back to object storage system. Used when you don’t need fine-grained access to data within the object while it is in the object store

19
Q

3 GC app examples of Relational model storage

A
  1. Cloud SQL
  2. Cloud Spanner
  3. Big Query
20
Q

3 facts of Relational model storage

A
  1. supports frequent queries and updates to data
  2. allows for consistent view of data
  3. supports database transactions (Cloud SQL and Cloud Spanner)
21
Q

3 GC app examples of NoSQL model storage

A
  1. Cloud Datastore
  2. Cloud Firestore
  3. Bigtable
22
Q

Benefits/Limitations of 3 types of Storage systems.

A
  1. cache is fastest but most expensive and volatile.
  2. persistent is used for things that need block storage. SSD are faster but more expensive.
  3. object storage used for large volumes of data for long periods of time.
23
Q

5 things to consider when planning object storage

A
  1. frequency of read/write
  2. consistency
  3. transaction support
  4. cost
  5. latency
24
Q

Planning storage - frequency of read/write

Best for structured data that is frequently accessed

A

Cloud SQL

25
Q

Planning storage - frequency of read/write

Best for global database that supports relational read/writes

A

Cloud Spanner

26
Q

Planning storage - frequency of read/write

Best for writing data at high rates and in large volumes

A

Bigtable

27
Q

Planning storage - frequency of read/write

Best for writing files and downloading them in their entirety

A

Cloud Store

28
Q
Planning Storage - Consistency
Strongest consistency (2)
A

Cloud SQL

Cloud Spanner

29
Q

Planning Storage - Consistency

Good for unstructured data

A

Datastore

30
Q

Planning Storage - Transaction Support

3 apps that support transactions

A

Cloud SQL
Cloud Spanner
Datastore

31
Q

Planning Storage - Latency

Fastest

A

Bigtable

32
Q

Planning Storage - Latency

Globally consistent and scalable

A

Cloud Spanner