home
diamond Go Premium
Data Engineering Path  ·  Airflow
Apache Airflow Logo

Theoretical Quiz — Module 5

📝 Test Your Knowledge

Q1. What is the purpose of catchup=False in a DAG definition?

Show Answer

When catchup=False, Airflow will NOT backfill DAG Runs for dates between the start_date and the current date. Only the latest scheduled run will be created. Without this, Airflow would create DAG Runs for every scheduled interval since start_date.


Q2. Explain what {{ ds }} and {{ ds_nodash }} resolve to and why they're important.

Show Answer
  • {{ ds }} resolves to the logical date in YYYY-MM-DD format (e.g., "2024-01-15")
  • {{ ds_nodash }} resolves to the same date without dashes (e.g., "20240115")

They're important because they make DAGs idempotent — the same DAG processes different dates by using the templated date, without any code changes.


Q3. Name three levels of DAG testing and what each level validates.

Show Answer
  1. DAG Validation: Tests that DAGs load without import errors (DagBag test)
  2. Unit Testing: Tests individual task logic with sample data (pytest)
  3. Integration Testing: Tests end-to-end pipeline with real connections (staging environment)
lock

This content is reserved for Premium Members.

Upgrade to Premium

Entity Details

Create New Item

help

Submit Technical Query

Have a question or run into an issue? Describe it below, upload an optional screenshot, and our engineering team will answer it!

image Attach image (optional)

Submit Feedback

build Free Developer Utility Free Tool
gavel

Privacy & Legal Disclaimer

1. Client-Side Browser Processing

All utility tools on DeepEngineerHub (including Image to PDF, Text Formatters, JSON Converters, and Encryptors) execute 100% locally within your client browser using WebAssembly and JavaScript. No uploaded images, text, or documents are transmitted, collected, or stored on remote servers.

2. Limitation of Liability ("As-Is" Provision)

Tools and services are provided free of charge for convenience and educational purposes "as-is" without warranties of any kind. DeepEngineerHub shall not be held liable for any data loss, formatting inconsistencies, or indirect damages resulting from tool usage.

3. Open Source & Third-Party Software

Certain utilities utilize open-source client libraries (such as jsPDF, Mermaid.js, Pyodide) licensed under MIT, Apache, or BSD open licenses. All intellectual property remains with their respective copyright holders.