Skip to content

Making sure business-critical processes never starve for resources

Business-critical data pipelines must be protected from resource contention by reserving capacity, setting priorities, and enabling autoscaling so critical jobs are never starved by ad-hoc or lower-priority workloads. Google Cloud provides reservation and quota mechanisms across BigQuery, Dataproc, and Compute Engine that let you guarantee slots, nodes, or CPUs for production workloads.

1 · Learn the must-know

  • BigQuery reservations (via the BigQuery Reservations API/Capacity Management) let you purchase flexible, monthly, or annual slot commitments and assign them to specific projects, folders, or organizations using assignments with reservation types like PRODUCTION, PIPELINE, or default, isolating critical query slots from on-demand or ad-hoc usage.
  • Within BigQuery reservations, you can set an idle slot sharing policy (ignore_idle_slots) so a critical reservation either strictly reserves its slots or can borrow idle capacity from other reservations, balancing guaranteed capacity with efficiency.
  • Dataproc supports autoscaling policies on clusters to automatically add or remove worker nodes based on YARN metrics, ensuring critical Spark/Hadoop jobs get sufficient compute during peak load without manual intervention; secondary (preemptible/spot) workers should be used cautiously for critical jobs since they can be reclaimed.
  • Compute Engine and GKE resources used by data pipelines can use committed use discounts or reservations (specific or automatically applied) to guarantee VM capacity availability in a zone, which is critical for time-sensitive batch or streaming jobs that cannot tolerate capacity shortages.
  • Cloud Composer/Airflow environments and Dataflow jobs should be sized with appropriate worker pools, autoscaling ranges (minNumWorkers/maxNumWorkers for Dataflow), and machine types to ensure critical DAGs and streaming pipelines have headroom during load spikes; Dataflow's Flexible Resource Scheduling (FlexRS) trades latency for cost and is unsuitable for latency-sensitive critical jobs.
  • Quotas (regional CPU, IP, API request quotas) are a common bottleneck for critical workloads at scale; proactively requesting quota increases and monitoring quota utilization via Cloud Monitoring prevents unexpected throttling of production data jobs.

2 · Check your understanding

Check this objectiveFree · always available

A retail company runs a BigQuery-based sales dashboard that must return results within a strict SLA every morning, even though data analysts run large ad hoc queries throughout the day in the same on-demand billing project. The data engineer wants to guarantee that the dashboard's queries always have sufficient slot capacity regardless of how much ad hoc query load is running at the same time. What should the data engineer do?

Your objective map0 tried · 0 answered correctly · 67 untouched

What you have tried across GCP PDE's objectives, not a readiness score.

Designing data processing systems~22% of the exam0 of 17 tried
Ingesting and processing the data~25% of the exam0 of 11 tried
Storing the data~20% of the exam0 of 13 tried
Preparing and using data for analysis~15% of the exam0 of 11 tried
Maintaining and automating data workloads~18% of the exam0 of 15 tried

3 · Keep going