Cloud Storage Flashcards

1
Q

What is cloud storage?

A

a unified object storage system

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

Key points of cloud storage? (7)

A
  1. manages objects in terms of blobs
  2. objects are atomic
  3. objects are grouped into buckets that are individually addressable by URL
  4. serverless
  5. not limited by size of disks attached to server
  6. access can be controlled at object level
  7. does not support concurrency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Cloud Storage suited for?

A

storing large volumes of data that don’t require a consistent data structure

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

Cloud Storage Bucket key points? (5)

A
  1. buckets share a global namespace, so they must be globally unique
  2. buckets are like directories - used to help organize objects into groups, but they do not have sub-directories
  3. when you create a bucket, you specify the location - objects may be stored in different regions for high availability
  4. 4 different storage classes
  5. buckets can be configured to retain versions
    - latest version is live version
    - when live version is deleted, it is archived instead
  6. provides lifecycle management policies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Cloud Storage Fuse?

A

a way to mount a bucket as a file system on linux and mac - allows upload and download of files to/from buckets using system commands

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

What are the 4 different storage classes for Cloud Storage?

A
  1. Multi-regional
  2. Regional
  3. Nearline
  4. Coldline
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is multi-regional storage, and what are its key points?

A
  1. data is replicated across multiple regions for high availability
  2. redundancy in the case of zone failures
  3. may reduce latency if users are spread out
  4. higher cost (~1.25x regional)
  5. it’s for frequently used data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is regional storage, and what are its key points?

A
  1. for frequently used data

2. storage is in one region

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

What is nearline storage, and what are its key points?

A
  1. infrequently used data (< 1 per month)
  2. lower SLA
  3. lower cost (~ half regional)
  4. retrieval charge per GB retrieved
  5. minimum 30 day storage duration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is coldline storage, and what are its key points?

A
  1. very infrequently used data (< 1 per year)
  2. lower SLA
  3. lowest cost (~ 1/3 regional)
  4. higher retrieval cost per GB (about 5x nearline)
  5. minimum 90 day storage duration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the lifecycle managment policies?

A

You can configure objects to be moved based on different criteria, like time

  1. move objects to lower cost storage class
  2. delete objects based on age, creation date, live state or current storage class
  3. can set up lifecycle policy after bucket creation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How to change the storage class via shell?

A

gsutil rewrite -s [STORAGE CLASS] gs://[PATH TO OBJECT}

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

How to make a bucket via shell?

A

gsutil mb gs://[BUCKET NAME]

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

How to copy Cloud Storage object via shell?

A

gsutil cp [LOCAL OBJECT} gs://[DESTINATION BUCKET]

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

How to download Cloud Storage object?

A

gsutil cp gs://[SOURCE BUCKET]/[SOURCE OBJECT] [DESTINATION DIR}

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

How to move Cloud Storage object?

A

gsutil mv gs://[SOURCE BUCKET]/[SOURCE OBJECT] gs://[DEST BUCKET]/[DEST OBJECT]