GCP ACE · Question 38 · Domain 4.4: Managing storage and database solutions
You are about to run a complex SQL query in BigQuery that joins several multi-terabyte tables. You are concerned about how much this specific query will cost.
How can you estimate the cost of this query BEFORE executing it?
Answer options:
Execute the query and check the Billing Console immediately afterward.
Use the BigQuery query validator in the Cloud Console or run a dry run using the bq command line to see the estimated bytes processed.
Export the tables to Cloud Storage, check their file sizes, and multiply by the BigQuery per-terabyte rate.
Check the Google Cloud Pricing Calculator and input the number of rows in the tables.
50 questions · hints · full answers · grading