professional-cloud-data-engineer
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.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
An enterprise runs two primary BigQuery workloads under a capacity-based reservations model:
Recent monitoring shows that interactive dashboard queries experience sudden latency spikes when batch ETL tasks trigger rapid slot autoscaling. Furthermore, short-lived ETL queries that finish in a few seconds are driving unnecessary compute expenses by causing the autoscaler to provision large slot spikes, and multi-referenced CTEs are consuming excessive processing resources.
Which strategy should you implement to optimize performance, eliminate workload contention, and control costs?
Configure a single reservation for all workloads, set strict per-user daily byte processing quotas on BI analysts, convert repeated CTEs into recursive CTEs, and disable slot autoscaling entirely.
Assign batch ETL workloads to an on-demand pricing project with custom byte quotas, keep dashboards in an autoscaling reservation with max slots, and materialize intermediate CTE results as physical date-sharded tables.
Consolidate all interactive and batch queries into a single shared reservation with a baseline of 0 slots; set the query priority of dashboard jobs to BATCH to lower execution costs; and rewrite duplicate CTEs as standard logical views.
Create dedicated reservations for interactive dashboard and batch ETL workloads, assigning a guaranteed slot baseline to the dashboard reservation; configure a moderate maximum autoscale limit for the ETL reservation to mitigate the 1-minute scale-down cost penalty; and materialize repeated CTEs into temporary tables.
Configure a single reservation for all workloads, set strict per-user daily byte processing quotas on BI analysts, convert repeated CTEs into recursive CTEs, and disable slot autoscaling entirely.
Assign batch ETL workloads to an on-demand pricing project with custom byte quotas, keep dashboards in an autoscaling reservation with max slots, and materialize intermediate CTE results as physical date-sharded tables.
Consolidate all interactive and batch queries into a single shared reservation with a baseline of 0 slots; set the query priority of dashboard jobs to BATCH to lower execution costs; and rewrite duplicate CTEs as standard logical views.
Create dedicated reservations for interactive dashboard and batch ETL workloads, assigning a guaranteed slot baseline to the dashboard reservation; configure a moderate maximum autoscale limit for the ETL reservation to mitigate the 1-minute scale-down cost penalty; and materialize repeated CTEs into temporary tables.
This architecture establishes dedicated BigQuery reservations to isolate interactive and batch workloads, applies appropriate slot baseline allocations and autoscaling constraints, and refactors SQL query execution using temporary tables to eliminate redundant evaluations.
slot_seconds within the scaled minute, eliminating idle compute spend.Isolating reservations while pairing baseline capacity for steady interactive traffic and bounded autoscaling for bursty transformations creates the ideal balance between performance guarantees and cloud expenditure.