GCP Storage Flashcards

1
Q

Cloud Storage

A

Simple. Buckets (like directory) - must be globally unique /Object (file). Reliable. Located in region or multi-region (store close to customers). Can do object versioning. Storage classes: Standard, Nearline (30 days), Coldline (90 days), Archive (365 days).

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

Cloud BigTable

A

Big Data. High throughput, low latency. Can store Petabytes) Ideal for single-keyed data. Can scale up and down in seconds. Can stream data into it or batched in.

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

Cloud Firestore

A

Good for mobile and web apps & games (integrates well with Firebase). NoSQL - not for relational data. Automatic scaling. APIs for several languages. Replicated across several data centers. SQL-like capabilities.

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

Cloud Spanner

A

GLobal SQL. Horizontally scalable. Instance created in 3 zones (in one region or across multiple regions). Can be delay as updates replicate.

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

Cloud SQL

A

Fully managed DB Service (backups, replication) (MySQL, Postgres, MSSQL) (standard DB, just managed so you don’t have to)

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

BigQuery

A

SQL database. Enterprise data warehouse. Serverless. GB to PB. Real-time insights from streaming data. Built-in ML.

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

A customer has been a long time Apache Hadoop user and has many tools and an ecosystem built around that, which service should be easiest to adopt in Google Cloud? *

A) Cloud Dataproc
B) BigQuery
C) Cloud Dataflow
D) Cloud Storage

A

Answer: A - Cloud Dataproc

Dataproc is a fully managed and highly scalable service for running Apache Spark, Apache Flink, Presto, and 30+ open source tools and frameworks. Use Dataproc for data lake modernization, ETL, and secure data science, at planet scale, fully integrated with Google Cloud, at a fraction of the cost.

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

What command is used to show a list of Cloud Storage buckets?

A) gcloud show buckets
B) gcloud ls
C) gsutil ls
D) gsutil show buckets

A

Answer: C - gsutil ls

gsutil is a python app that is installed with the Cloud SDK (but can be installed separately as well) and works with both Google Cloud Storage but also with Amazon S3. For historical reasons, it wasn’t incorporated into the gcloud command and continued to exist independently as gsutil.
ls - List providers, buckets, or objects

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

I need a SQL database with strong consistency for my global application. Which is the correct choice?

A) Choose Cloud SQL
B) Choose Big Query
C) Choose Cloud Spanner
D) Choose Firestore

A

Answer: C - Cloud Spanner

Cloud Spanner - Fully managed relational database with unlimited scale, strong consistency, and up to 99.999% availability. Cloud Spanner offers transactional consistency at global scale, schemas, SQL (ANSI 2011 with extensions), and automatic, synchronous replication for high availability.

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

A customer is looking for a fully-managed cost-effective analytics data warehouse solution that lets you run analytics over vast amounts of data in near real time. Which would you recommend?

A) Cloud Storage
B) Looker
C) BigQuery
D) Data Studio

A

Answer: C - BigQuery

BigQuery - Serverless, highly scalable, and cost-effective multi-cloud data warehouse designed for business agility.

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

What are the available storage classes for Cloud Storage?

A) Standard, Nearline, Coldline, Archive
B) Active, Hybrid, Archive, Long Term
C) Standard, Regional, Distributed
D) Standard, Nearline, Archive, Tape

A

Answer: - A - Standard, Nearline, Coldline, Archive

Remember acronym CANS

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

Transferring data from S3 to GCS I can use…

A) Cloud Tiering Appliance
B) Cloud Shuffler
C) Cloud Storage Transfer Service
D) Cloud Data Mover

A

Answer: C - Cloud Storage Transfer Service

While you can use gsutil to transfer from another cloud storage provider to Cloud Storage, Storage Transfer Service is recommended for this use case. You can also use gsutil to transfer between Cloud Storage buckets. This can be helpful for moving data between bucket locations.

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