Storage Flashcards
1
Q
What are some characteristics of Cloud Storage?
A
- Cloud storage is comprised of Buckets that can store large objects
- It does not require provisioning of storage
- Objects are immutable and can only be updated with new versions
- Lifecycles can be defined
- Has 4 types of storage classes
2
Q
Describe the storage classes in Cloud Storage
A
- Multi-regional
- Very High nmr of accesses
- Highest SLA availability (99.95)
- Highest cost per GB/month
- Lowest cost per GB retrieved (along with regional)
- Regional
- High nmr of accesses
- 2nd highest sla avail
- 2nd highest cost per GB/month
- Lowest cost per GB retrieved (along with multi-regional)
- Nearline
- Less then once a month
- Lowest SLA availability (90)
- 3rd highest cost per GB/month
- 2nd highest cost per GB retrieved
- Coldline
- Less then a year
- Lowest SLA availability (90)
- Lowest cost per GB/month
- Highest cost per GB retrieved
3
Q
For transfering large amounts of data to Cloud Storage, what service can be used?
A
Storage transfer service allows for scheduled batch transfer
4
Q
What is the difference between Cloud SQL and Cloud Spanner? Describe both
A
- Cloud SQL allows for the use of MySql or PostgreSQL
- Cloud Spanner provides global availabilty and consistency as well as horizontal scaling.
- While CloudSQL db size is bound by the size set at setup, Cloud Spanner has no limit
5
Q
Describe some characteristics of Cloud BigTable?
A
- NoSql database
- Ideal for data that has a single lookup key
- Good for analytics
- Has Hbase api, which means it is compatible with Apache services
- Accepts incoming streaming data
- Can also accept batch write processes like Hadoop
- Good for data that is sparsely populated
6
Q
In the command line, how can you create a bucket, trasfer a file from a bucket to another and how can you delete said file from the bucket?
A
gsutil mb -l LOCATION gs://BUCKET_NAME
gsutil cp gs://SRC_BKT_NAME/FILE_PATH gs://DST_BKT_NAME/FILE_PATH
gsutil rm gs://BUCKET_NAME/FILE_PATH