HomeInterview QuestionsCan you tell me about DAGs in Airflow?

Can you tell me about DAGs in Airflow?

🟢 Easy Conceptual Fresher level
1Times asked
Jul 2026Last seen
Jul 2026First seen

💡 Model Answer

In Apache Airflow, a DAG (Directed Acyclic Graph) is the core abstraction that defines a workflow. It is a Python object that lists tasks and their dependencies. Each task is an operator (e.g., BashOperator, PythonOperator). The DAG specifies the schedule interval, start date, and default arguments. Airflow’s scheduler parses the DAG, builds a dependency graph, and pushes tasks to the executor. Because the graph is acyclic, tasks can be executed in parallel where dependencies allow. DAGs enable versioning, retries, and monitoring via the Airflow UI. They are ideal for ETL pipelines, data processing, and any repeatable workflow.

This answer was generated by AI for study purposes. Use it as a starting point — personalize it with your own experience.

🎤 Get questions like this answered in real-time

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers — invisible to screen sharing.

Get Assisting AI — Starts at ₹500