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 a mission-critical nightly batch pipeline that processes analytical data and writes updates into a Cloud SQL for PostgreSQL database, followed by downstream machine learning model retraining using specialized GPU-accelerated compute instances.
During recent runs, the pipeline suffered delays and failures caused by:
You need to proactively guarantee deterministic resource availability for the GPU batch workloads and optimize database capacity and resource contention.
Which strategy should you implement?
Create Compute Engine zonal resource reservations for the required GPU machine types, configure Cloud Monitoring alerts on quota allocation metrics to preemptively request quota increases, and enable Cloud SQL Managed Connection Pooling while monitoring lock-wait metrics.
Purchase regional Committed Use Discounts (CUDs) for GPU machine types, configure Cloud Logging log-based alerts to detect pipeline failure entries, and increase the Cloud SQL max_connections flag to maximum capacity.
Deploy the GPU workload across Spot VMs with automatic retries, rely on Google Cloud automatic quota scaling, and configure Cloud SQL read replicas to handle concurrent write transactions.
Configure Cloud Monitoring alerts based solely on database storage disk space, rely on Gemini Cloud Assist real-time recommendations during pipeline execution, and execute GPU jobs in an unconstrained multi-region instance group.
Create Compute Engine zonal resource reservations for the required GPU machine types, configure Cloud Monitoring alerts on quota allocation metrics to preemptively request quota increases, and enable Cloud SQL Managed Connection Pooling while monitoring lock-wait metrics.
This solution combines Compute Engine zonal reservations, proactive quota utilization monitoring in Cloud Monitoring, and Managed Connection Pooling in Cloud SQL to ensure deterministic resource capacity and mitigate database contention.
ZONE_RESOURCE_POOL_EXHAUSTED errors during high-demand batch windows.serviceruntime.googleapis.com/quota/allocation/usage) alerts engineers before workloads hit hard project limits, allowing proactive quota adjustment.Compared to reactive autoscaling or unreserved discounting, zonal reservations guarantee actual physical capacity for specialized accelerators, while proactive quota tracking and connection pooling directly resolve the twin bottlenecks of compute limits and database lock contention.
Purchase regional Committed Use Discounts (CUDs) for GPU machine types, configure Cloud Logging log-based alerts to detect pipeline failure entries, and increase the Cloud SQL max_connections flag to maximum capacity.
Deploy the GPU workload across Spot VMs with automatic retries, rely on Google Cloud automatic quota scaling, and configure Cloud SQL read replicas to handle concurrent write transactions.
Configure Cloud Monitoring alerts based solely on database storage disk space, rely on Gemini Cloud Assist real-time recommendations during pipeline execution, and execute GPU jobs in an unconstrained multi-region instance group.