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.
A data engineering team manages a Cloud Composer environment that runs daily batch ETL pipelines. A newly deployed workflow triggers dozens of resource-intensive, long-running data processing tasks in parallel.
During peak workflow execution, the team observes severe performance degradation and worker resource exhaustion. However, the Cloud Composer autoscaling mechanism fails to provision additional Airflow workers because the Celery task queue remains empty as the existing workers immediately pull and accept all queued tasks.
Which configuration adjustment should the data engineer implement to resolve the resource exhaustion and enable proper autoscaling?
In Cloud Composer, [celery]worker_concurrency defines the maximum number of task instances an individual Airflow worker can pull from the Celery queue and process simultaneously. The maximum number of workers parameter establishes the upper boundary for horizontal autoscaling within the underlying Google Kubernetes Engine (GKE) cluster.
[celery]worker_concurrency ensures that excess long-running tasks remain in the queue.For pipelines dominated by long-running, CPU/memory-intensive tasks, high worker concurrency creates a false signal that worker capacity is sufficient while starving container resources. Reducing worker concurrency while raising maximum worker limits aligns queue metrics with real workload demands.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.