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)
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™.