Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

BigQuery Study Notes

BigQuery is Google Cloud's fully managed, serverless enterprise data warehouse for fast SQL analytics over very large datasets. You load or query data without provisioning servers, clusters, or storage disks, and Google handles scaling, availability, and maintenance behind the scenes. It separates storage and compute, so you can scale each independently and query petabytes with standard SQL.

Exam tip: For ACE questions, if you see large-scale SQL analytics with no servers to manage, answer BigQuery and then check partitioning for the cost-saving detail.

Key facts

What the exam expects you to know

BigQuery vs Bigtable: when to use which

Choose BigQuery when the workload is analytics: complex SQL, aggregations, joins, and scans over historical data for dashboards and reporting. Choose Bigtable when the workload is operational: very high-throughput, low-latency reads and writes of individual rows by key, such as IoT events or user profiles, with no need for joins. A useful rule is that BigQuery answers questions about many rows, while Bigtable serves single rows very fast. If a scenario mentions SQL analysts and petabyte reports, pick BigQuery; if it mentions milliseconds latency and a row key, pick Bigtable. See also the Bigtable notes.

Useful gcloud commands

bq ls
bq mk --dataset myproject:mydataset
bq load --source_format=CSV myproject:mydataset.mytable gs://my-bucket/data.csv
bq query --use_legacy_sql=false 'SELECT * FROM myproject.mydataset.mytable LIMIT 10'

Common exam traps

Frequently asked questions

What is the difference between partitioning and clustering in BigQuery?

Partitioning splits a table into segments, usually by date, so queries with a date filter scan only relevant partitions. Clustering then sorts data inside each partition by chosen columns, so filtered queries skip more data blocks. Use partitioning first for the main division, especially time, and clustering to refine performance for common filter columns.

How does BigQuery control who can see data?

Access is managed with IAM at the project, dataset, table, and column levels, using predefined roles such as data viewer, data editor, and job user. For sharing, authorised views let users query a view without having direct access to the source tables, and policy tags can restrict sensitive columns to approved groups only.

When should I stream data into BigQuery instead of loading it in batches?

Use streaming inserts when data needs to be available for querying within seconds, such as clickstream events or live dashboards. Use batch loading when data arrives in files on a schedule and a delay of minutes is acceptable, because batch loads are simpler to manage and avoid the extra considerations that come with continuous streaming ingestion.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.