Google Sample Question 12 of 27

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)

Source: Google Cloud OFFICIAL

Official sample question published by Google Cloud. WiseOwlLearns is not affiliated with Google LLC.

All explanations and Option Analyzer™ content are generated by WiseOwlLearns and are not endorsed by Google Cloud.

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 memory available to the Airflow workers.
D Increase the memory available to the Airflow triggerer.
E Increase the maximum number of workers and reduce worker concurrency.
🦉 Explanation by WiseOwl Tutor™ — not endorsed by Google

A is not correct because changing DAG file parsing interval only affects the Airflow scheduler. The Airflow workers handle the actual work of a DAG. B is not correct because changing the environment size modifies only the capacities of Cloud Composer’s backend components, such as the Airflow database and the Airflow queue. C is correct because the majority of issues with worker pod evictions happen because of out-of-memory situations in workers. This is also suggested by the increased total workers memory usage in the monitoring dashboard. Increasing the memory available to the Airflow workers could reduce the memory pressure. D is not correct because the increase in memory pressure is with the Airflow workers not the triggerer. E is correct because limiting the number of tasks each Airflow could work on at the same time and spreading them out to other workers could help to reduce memory pressure on each worker.

Ready to practice?

These 27 official sample questions are free to practice on WiseOwlLearns — no account required. Get real-time tutoring from WiseOwl Tutor™ and step-by-step elimination reasoning from Option Analyzer™.