Professional Cloud Architect practice question · Analyzing and optimizing technical and business processes
A company uses BigQuery on-demand (per-TiB) pricing. Its query costs are much higher than expected because analysts…
A company uses BigQuery on-demand (per-TiB) pricing. Its query costs are much higher than expected because analysts often run SELECT * against very large, non-clustered tables of event data, even though each analysis needs only a few columns and a recent date range. What change will most effectively lower query costs?
- AHave analysts select only the columns they need, and partition the tables by event date so date filters prune partitions
- BHave analysts add a LIMIT clause to their SELECT * queries so that each query returns far fewer rows
- CRun the analysts' queries at batch priority instead of interactive priority to lower their on-demand charges
- DSwitch the datasets to the physical (compressed) storage billing model to reduce what each query is charged
Show the answer and explanation
Correct answer: A) Have analysts select only the columns they need, and partition the tables by event date so date filters prune partitions
On-demand BigQuery charges are based on bytes processed. Querying only the needed columns and pruning with partitioning or clustering lowers cost, while LIMIT, batch priority, and storage billing changes don't reduce the bytes a query scans.
Why each option is right or wrong
- A) Correct. On-demand queries are billed by bytes processed. Because BigQuery is columnar, selecting fewer columns reduces the bytes read, and filtering on the partitioning column skips partitions outside the date range.
- B) Incorrect. On a non-clustered table, LIMIT only reduces the rows returned. BigQuery still reads, and bills for, all the bytes in the selected columns across the whole table.
- C) Incorrect. Batch priority only changes when the query is queued and run. Bytes processed and on-demand charges stay the same.
- D) Incorrect. The storage billing model only changes storage charges. On-demand query charges are still based on the logical bytes the query processes.
- Exam domain
- Analyzing and optimizing technical and business processes · ~15% of Professional Cloud Architect
- Question type
- Multiple choice (one answer)
Related Professional Cloud Architect questions
- An analytics team's BigQuery query load is low overnight and spikes sharply during business hours.Analyzing and optimizing technical and business processes
- A Cloud Run service receives sporadic, bursty traffic and sits idle for most of the day.Analyzing and optimizing technical and business processes
- Leadership wants to reduce Compute Engine spend. The cloud team needs Google Cloud to analyze actual VM utilization and…Analyzing and optimizing technical and business processes
- A team's releases are slow because, after every commit, an engineer compiles the code, runs unit tests and builds a…Analyzing and optimizing technical and business processes
All 49 free Professional Cloud Architect questions by domain · 15 sample questions on one page
Practise the full Professional Cloud Architect exam
This question is one of a small free sample from the CertRidge Professional Cloud Architect bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.