Logo/

BigQuery Storage, Processing, and Security

Log in

Made with ScholarlyMake flashcards like these from your own notes

BigQuery Storage, Processing, and Security

Questions and answers

38 cards
  1. Question:Which resources does a BigQuery slot include as a computational unit?

    Answer:CPU, RAM, and network bandwidth.

  2. Question:How does BigQuery use slots to process a query?

    Answer:The Dremel engine assigns slots to a job, and each processes a small piece of the data simultaneously.

  3. Question:Why can parallel slot processing accelerate large data scans?

    Answer:Slots process separate pieces of data simultaneously, enabling massively parallel processing.

  4. Question:In a query using GROUP BY, what role does shuffle perform?

    Answer:It redistributes intermediate data processed by slots so it can be combined for further processing.

  5. Question:How does shuffle prepare data for subsequent query operations?

    Answer:Jupiter gathers and reorganizes the intermediate data, then sends it to the next set of slots for aggregation or joining.

  6. Question:Which storage files does Dremel read for native BigQuery tables?

    Answer:Highly optimized columnar storage files in the Colossus file system.

  7. Question:In BigQuery, which column types can define table partitions?

    Answer:A date column or an integer column.

  8. Question:How does partitioning organize data in a BigQuery table?

    Answer:It divides the table into separate sections based on a date or integer column.

  9. Question:How does clustering organize data within partitioned chunks?

    Answer:Clustering sorts the data within each chunk.

  10. Question:What is the key distinction between partitioning and clustering?

    Answer:Partitioning divides data into large chunks. Clustering sorts data within those chunks.

  11. Question:BigQuery clustering sorts data within each partition; this process is _.

    Answer:clustering

  12. Question:Which table types are contrasted in BigQuery’s described storage behavior?

    Answer:Native BigQuery tables and external Apache Iceberg tables stored in Cloud Storage.

  13. Question:How is BigQuery-style clustering reflected in Apache Iceberg?

    Answer:Iceberg data may be sorted within Parquet or ORC files by specific columns, such as customer_id.

  14. Question:Which statistics can Iceberg metadata store for an individual data file?

    Answer:The minimum and maximum values of a column such as customer_id.

  15. Question:What mistake is made by treating Google Cloud Storage as a database?

    Answer:Google Cloud Storage is an object store, not a database, and has no native table format.

  16. Question:Which underlying system is Google Cloud Storage built on?

    Answer:Colossus, Google’s proprietary, next-generation cluster file system.

  17. Question:How does Colossus support major Google services?

    Answer:It serves as their unified storage bedrock.

  18. Question:Which system physically stores raw bytes for GCS and BigQuery?

    Answer:Colossus, the native file system.

  19. Question:When a file enters a GCS bucket, how does Colossus handle it?

    Answer:It chunks the object, manages low-level replication, distributes it across physical disk arrays, and provides extreme durability.

  20. Question:Which format stores BigQuery's native tables in columnar form?

    Answer:Capacitor, a highly optimized proprietary columnar format.

  21. Question:How does Capacitor support BigQuery's native table analytics?

    Answer:It structures data in a native columnar table format for high-speed analytics.

  22. Question:Which standards support a flexible Lakehouse pattern on GCS?

    Answer:Apache Iceberg and Parquet, open-source table and file standards.

  23. Question:What is wrong with thinking every BigQuery table must hold its data?

    Answer:Lakehouse external tables can point to data files in a data lake without holding the data themselves.

  24. Question:How can Lakehouse tables receive fine-grained security controls in BigQuery?

    Answer:Row-level and column-level security can be applied through access delegation.

  25. Question:Which capabilities bring traditional SQL-table reliability to a data lake with Iceberg?

    Answer:ACID transactions, schema evolution, and time travel.

  26. Question:What role does Knowledge Catalog perform?

    Answer:It provides a unified metadata hub.

  27. Question:Which three stages define the Sensitive Data Protection workflow?

    Answer:Discovery → Classification → Protection.

  28. Question:In Sensitive Data Protection, what does Discovery do?

    Answer:It scans BigQuery tables and Cloud Storage buckets to identify sensitive data.

  29. Question:Complete the statement: BigQuery's native columnar table format is _.

    Answer:Capacitor

  30. Question:After data is identified, how is it classified?

    Answer:By its sensitivity level.

  31. Question:Which techniques can de-identify data for protection?

    Answer:Masking or tokenization.

  32. Question:The principle of _ gives users only the access needed for their jobs.

    Answer:least privilege

  33. Question:In cloud storage, at what level is access controlled?

    Answer:At the bucket level.

  34. Question:Which users typically receive cloud storage access for data ingestion?

    Answer:Engineers and service accounts responsible for data ingestion.

  35. Question:In BigQuery sandbox datasets, which operations can data scientists perform?

    Answer:Create and modify tables.

  36. Question:How does a lakehouse extend BigQuery security?

    Answer:It extends fine-grained security to Cloud Storage data.

  37. Question:How does column-level security help protect Personally Identifiable Information?

    Answer:It restricts access to specific table columns, allowing access to purchase history without contact information.

  38. Question:How does row-level security limit a regional manager’s data access?

    Answer:It filters accessible rows so a North American manager can access sales data for that region.