Unlock the power of your data in the cloud! Get hands-on with Google Cloud's core data services like BigQuery and Looker to validate your practical skills in data ingestion, analysis, and management, and earn your Associate Data Practitioner certification!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A data analyst is setting up an automated workflow in BigQuery that executes a daily SQL aggregation query to refresh an executive reporting table. Before configuring the scheduled query, the analyst wants to validate the SQL syntax and estimate the number of bytes the query will scan to optimize performance and prevent unexpected billing, without executing the query or incurring on-demand query costs.
Which feature should the analyst use in BigQuery?
A dry run in BigQuery is a query execution simulation mode that evaluates and parses the SQL statement without actually running it against the data engine or scanning table rows. When a query is submitted as a dry run (by setting the dryRun flag to true in API requests, client libraries, or the Google Cloud console), BigQuery validates query syntax, verifies schema and table references, and calculates the exact number of bytes billed and processed if the query were executed.
totalBytesProcessed metric in the returned job statistics, allowing the analyst to understand resource usage and query cost.A dry run is the only native BigQuery capability designed specifically to validate query correctness and calculate byte consumption without running the job or incurring execution costs. It provides the exact prerequisite metrics needed before committing queries to automated schedules.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.