D2: Loading Data
Google Cloud Associate Cloud Engineer exam practice questions · 11 flashcards
Question
How do you upload files to Cloud Storage via CLI?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Loading Data practice questions and answers
- How do you upload files to Cloud Storage via CLI?gcloud storage cp FILE gs://BUCKET (gsutil cp is legacy).
- How do you sync a directory?gcloud storage rsync DIR gs://BUCKET/PATH --recursive.
- How do you load data into BigQuery from Cloud Storage?bq load --source_format=CSV DATASET.TABLE gs://BUCKET/file.csv SCHEMA.
- What is Storage Transfer Service?Managed transfers from other clouds, HTTP, on-prem (agents) or between buckets, scheduled.
- When use Transfer Appliance?Offline transfer of very large datasets (TBs–PBs) with limited bandwidth.
- What is BigQuery Data Transfer Service?Scheduled loads from SaaS apps, Cloud Storage and other sources into BigQuery.
- Which formats can BigQuery load?CSV, JSON, Avro, Parquet, ORC and more.
- How do you speed up large uploads?Parallel composite uploads with gcloud storage.
- Moving 500 TB from AWS S3?Storage Transfer Service.
- Loading streaming data into BigQuery?Storage Write API, Pub/Sub BigQuery subscriptions or Dataflow.
- How do you import a SQL dump into Cloud SQL?gcloud sql import sql INSTANCE gs://BUCKET/dump.sql --database=DB.