29 November 2026

#BigQuery

Key Concepts


S.NoTopicSub Topic
1 BigQuery Fundamentals & Architecture BigQuery Architecture, Serverless Data Warehouse, Projects, Datasets, Tables, Views, Regions, Locations, Storage and Compute Separation, Slots, Dremel Architecture, BigQuery Editions
2 SQL Fundamentals SELECT, WHERE, DISTINCT, ORDER BY, GROUP BY, HAVING, LIMIT, CASE WHEN, COALESCE, NULLIF, CAST, SAFE_CAST, Query Parameters
3 Advanced SQL & CTE CTE, Recursive CTE, Subqueries, Correlated Subqueries, Nested Queries, Multiple CTEs, UNION ALL, INTERSECT DISTINCT, EXCEPT DISTINCT, Dynamic SQL
4 Joins & Data Relationships INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL OUTER JOIN, CROSS JOIN, Self Join, Semi Join, Anti Join, Multiple Joins, Join Cardinality, Join Optimization
5 Aggregate Functions COUNT, COUNTIF, SUM, AVG, MIN, MAX, STRING_AGG, ARRAY_AGG, APPROX_COUNT_DISTINCT, APPROX_QUANTILES, GROUPING SETS, ROLLUP, CUBE
6 Window Functions ROW_NUMBER, RANK, DENSE_RANK, LAG, LEAD, FIRST_VALUE, LAST_VALUE, NTILE, SUM OVER, AVG OVER, PARTITION BY, ORDER BY, Window Frames
7 Date, String & Conversion Functions DATE_DIFF, DATE_ADD, DATE_SUB, DATE_TRUNC, EXTRACT, TIMESTAMP_DIFF, CURRENT_DATE, CURRENT_TIMESTAMP, CONCAT, SPLIT, SUBSTR, REGEXP_EXTRACT, REGEXP_REPLACE, SAFE_CAST
8 Arrays, STRUCT & Nested Data ARRAY, STRUCT, UNNEST, ARRAY_AGG, ARRAY_LENGTH, ARRAY_CONCAT, ARRAY_TO_STRING, SAFE_OFFSET, SAFE_ORDINAL, Nested Fields, Repeated Fields
9 Analytical SQL & Business Scenarios Running Totals, Moving Averages, Top-N per Group, Deduplication, Gaps and Islands, Sessionization, Cohort Analysis, Month-over-Month, Year-over-Year, Ranking, Cumulative Aggregation
10 Table Management & Metadata Managed Tables, External Tables, Temporary Tables, Table Cloning, Table Snapshots, Table Expiration, Table Metadata, INFORMATION_SCHEMA, Table Schema
11 Partitioning & Clustering Ingestion-Time Partitioning, Time-Unit Partitioning, Integer-Range Partitioning, Partition Pruning, Partition Filters, Clustering Columns, Cluster Pruning, Partitioning vs Clustering, Partition Expiration
12 Views & Materialized Views Logical Views, Authorized Views, Materialized Views, Incremental Refresh, Materialized View Limitations, View Optimization, Logical vs Materialized Views
13 Data Loading & Ingestion Batch Loading, Streaming Inserts, Storage Write API, CSV, JSON, Avro, Parquet, ORC, Google Cloud Storage, Load Jobs, Schema Detection, Schema Evolution
14 DML & Data Transformation INSERT, UPDATE, DELETE, MERGE, TRUNCATE, CREATE TABLE AS SELECT, INSERT OVERWRITE, DML Optimization, Idempotent Processing, Incremental Transformation
15 MERGE, CDC & SCD Upsert, MERGE Patterns, Change Data Capture, SCD Type 1, SCD Type 2, Effective Dates, Current Flags, Duplicate Source Handling, Late-Arriving Records, Delete Handling
16 ETL & ELT Pipeline Development Full Load, Incremental Load, Delta Load, Watermark Strategy, Batch Processing, Pipeline Dependencies, Data Reconciliation, Retry Mechanism, Error Handling, Idempotency, Backfill
17 Query Performance Optimization Query Execution Plan, Execution Graph, Bytes Processed, Bytes Billed, Partition Pruning, Clustering, Predicate Pushdown, Column Pruning, Join Optimization, Shuffle Optimization, Avoid SELECT *
18 Advanced Performance Tuning Data Skew, Skewed Joins, Pre-Aggregation, Nested Data Optimization, Approximate Aggregations, Query Rewriting, Materialized Views, Intermediate Tables, Query Benchmarking
19 Cost Optimization & Slot Management On-Demand Pricing, Capacity Pricing, Slots, Reservations, Autoscaling, Query Caching, Dry Run, Maximum Bytes Billed, Storage Cost, Long-Term Storage, Cost Monitoring
20 Stored Procedures & SQL Scripting Stored Procedures, SQL UDF, JavaScript UDF, Table Functions, Temporary Functions, DECLARE, SET, IF, WHILE, LOOP, EXECUTE IMMEDIATE, Dynamic SQL, Exception Handling
21 JSON & Semi-Structured Data JSON Data Type, PARSE_JSON, TO_JSON, TO_JSON_STRING, JSON_VALUE, JSON_QUERY, JSON_QUERY_ARRAY, JSON_VALUE_ARRAY, Nested JSON Processing, Schema Handling
22 Data Quality & Validation Duplicate Detection, NULL Validation, Referential Integrity, Data Completeness, Data Consistency, Schema Validation, Row Count Validation, Source-to-Target Reconciliation, Data Quality Rules
23 BigQuery Scheduling & Automation Scheduled Queries, BigQuery Jobs, Job Configuration, Query Parameters, Cloud Scheduler, Cloud Functions, Workflows, Pipeline Automation, Job Dependencies
24 Security & Access Management IAM Roles, Dataset Permissions, Table Permissions, Row-Level Security, Column-Level Security, Policy Tags, Data Masking, Authorized Views, Service Accounts, Audit Logs
25 BigQuery Integration & Data Engineering Cloud Storage, Dataflow, Dataproc, Pub/Sub, Cloud Composer, Cloud Run, Cloud Functions, Datastream, Cloud SQL, Looker, Data Integration
26 Streaming & Real-Time Analytics Pub/Sub Integration, Storage Write API, Streaming Inserts, CDC Streaming, Event Processing, Late-Arriving Data, Exactly-Once Considerations, Real-Time Aggregations, Streaming Monitoring
27 Monitoring & Troubleshooting INFORMATION_SCHEMA.JOBS, JOBS_BY_PROJECT, JOBS_BY_USER, Query History, Execution Details, Slot Utilization, Failed Jobs, Quota Limits, Error Diagnosis, Job Monitoring, Audit Logs
28 Data Modeling & Warehouse Architecture Star Schema, Snowflake Schema, Fact Tables, Dimension Tables, Slowly Changing Dimensions, Data Marts, Data Vault, Bronze-Silver-Gold, Medallion Architecture, Data Lakehouse
29 BigQuery ML & Advanced Capabilities CREATE MODEL, Linear Regression, Logistic Regression, K-Means, ARIMA_PLUS, Time-Series Forecasting, ML.PREDICT, ML.EVALUATE, Feature Engineering, Geospatial Functions, Remote Functions
30 Production Architecture & Technical Lead Enterprise Data Warehouse Design, Capacity Planning, Cost Estimation, Workload Management, Security Architecture, Data Lineage, Governance, Time Travel, Disaster Recovery, Version Control, CI/CD, Deployment Strategy, Code Reviews, Production Support

Interview Question



What is Google BigQuery and how does its architecture work
Explain the difference between BigQuery and traditional relational databases
Explain the separation of storage and compute in BigQuery
What are slots in BigQuery and how do they work
Explain the Dremel architecture in BigQuery
What is the difference between on demand and capacity based pricing
What is the difference between a dataset and a table
What are the different types of tables available in BigQuery
What is the difference between managed and external tables
What are nested and repeated fields in BigQuery
What is the difference between a CTE and a subquery
What is a recursive CTE and where would you use it
How do you identify and remove duplicate records using SQL
How do you retrieve the latest record for each customer
How do you find the second highest salary using SQL
What is the difference between ROW_NUMBER RANK and DENSE_RANK
What is the difference between WHERE and HAVING
What is the difference between UNION and UNION ALL
What is the difference between INNER JOIN and LEFT JOIN
How do you find records present in one table but missing in another
What is a correlated subquery and when should it be used
How do you optimize multiple joins on large tables
What is the difference between a CROSS JOIN and a regular JOIN
How do you handle NULL values in BigQuery SQL
What is the difference between CAST and SAFE_CAST
Explain the use of window functions with practical examples
How do you calculate a running total using window functions
How do you calculate a moving average in BigQuery
How do you retrieve previous and next records using LAG and LEAD
How do you calculate month over month and year over year growth
What is the difference between PARTITION BY and GROUP BY
How do you find consecutive missing dates in a dataset
How do you calculate cumulative sums by customer and date
How do you find the top three records within each category
What are ARRAY and STRUCT data types in BigQuery
What is the purpose of the UNNEST function
How do you access elements from an array in BigQuery
What is the difference between OFFSET and ORDINAL
How do you aggregate multiple rows into an array
How do you query nested JSON data in BigQuery
What is table partitioning in BigQuery
What are the different types of partitioning available in BigQuery
What is the difference between ingestion time and column based partitioning
What is partition pruning and how does it improve performance
What happens when a query does not use a partition filter
What is table clustering in BigQuery
How do you select appropriate clustering columns
What is the difference between partitioning and clustering
Can a partitioned table also be clustered
How do you optimize queries on very large partitioned tables
What is the difference between logical views and materialized views
How do materialized views improve query performance
What are the limitations of materialized views
What is table snapshotting in BigQuery
What is the difference between table cloning and table snapshots
What is the MERGE statement and how does it work
How do you implement an upsert operation in BigQuery
How do you implement Slowly Changing Dimension Type One
How do you implement Slowly Changing Dimension Type Two
How do you handle duplicate source records during a MERGE operation
How do you implement incremental data loading in BigQuery
What is a watermark strategy in ETL pipelines
How do you handle late arriving data in incremental pipelines
How do you design an idempotent ETL pipeline
How do you implement Change Data Capture using BigQuery
How do you handle failed records and rejected data in ETL pipelines
How do you perform source to target data reconciliation
What is the difference between batch loading and streaming ingestion
How do you load CSV and Parquet files from Cloud Storage
What is the BigQuery Storage Write API
How do you analyze a BigQuery query execution plan
What are bytes processed and bytes billed in BigQuery
How do you reduce query execution time in BigQuery
Why should you avoid using SELECT star in production queries
What is data skew and how do you handle skewed joins
What is shuffle operation in BigQuery query execution
How do you optimize queries that involve multiple large table joins
How do query caching and result caching work in BigQuery
How do you monitor slot consumption and query performance
How do you identify expensive queries using INFORMATION_SCHEMA
What are BigQuery stored procedures and how do you create them
What is the difference between SQL UDF and JavaScript UDF
How do you execute dynamic SQL using EXECUTE IMMEDIATE
How do you handle exceptions in BigQuery scripting
How do you schedule and automate BigQuery queries
How do you implement row level and column level security
What are policy tags and how are they used for sensitive data
How do you manage IAM permissions for BigQuery datasets and tables
How do you integrate BigQuery with Pub Sub and Dataflow
How do you integrate BigQuery with Java applications
What is the difference between BigQuery and Cloud SQL
How do you design a data warehouse using fact and dimension tables
Explain the Bronze Silver and Gold architecture in BigQuery
How do you implement data lineage and data governance
How do you implement disaster recovery and data restoration in BigQuery
What is Time Travel in BigQuery and how does it work
How do you troubleshoot quota exceeded and resource exhausted errors
How do you estimate and optimize BigQuery storage and query costs
How would you design a scalable enterprise data warehouse using BigQuery
How would you review and optimize an existing BigQuery ETL pipeline in a production environment