Google Cloud Professional Data Engineer — Question 223
You recently deployed several data processing jobs into your Cloud Composer 2 environment. You notice that some tasks are failing in Apache Airflow. On the monitoring dashboard, you see an increase in the total workers memory usage, and there were worker pod evictions. You need to resolve these errors. What should you do? (Choose two.)
Answer options
- A. Increase the directed acyclic graph (DAG) file parsing interval.
- B. Increase the Cloud Composer 2 environment size from medium to large.
- C. Increase the maximum number of workers and reduce worker concurrency.
- D. Increase the memory available to the Airflow workers.
- E. Increase the memory available to the Airflow triggerer.
Correct answer: C
Explanation
The correct choice, C, addresses the need to balance the workload by increasing the number of workers while reducing the concurrency to prevent memory overload. Options A and B do not directly resolve the memory issues, while D and E may help but do not address the underlying worker management needed in this scenario.