A data engineer runs pipelines on Amazon Managed Workflows for Apache Airflow (Amazon MWAA). A workflow recently failed, and the engineer needs to inspect Apache Airflow logs to determine why it failed. Which log type should the engineer examine to find the root cause of the failure?
Choose an answer
Tap an option to check your answer.
Correct answer: YourEnvironmentName-Task.
Why this is the answer
The correct answer is YourEnvironmentName-Task. Task logs contain the output and error messages generated by individual Airflow tasks as they execute. When a workflow fails, examining the task logs for the specific failing task is the most direct way to identify the root cause, such as an error in the task's code, an issue with data processing, or an external dependency failure. YourEnvironmentName-WebServer logs relate to the Airflow UI and web server operations, not task execution. YourEnvironmentName-Scheduler logs provide information about the Airflow scheduler's activities, like parsing DAGs and queuing tasks, but not the task's internal execution details. YourEnvironmentName-DAGProcessing logs are for errors encountered during DAG file parsing, which would prevent a DAG from even being scheduled, not for failures during task runtime.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed