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

Hands-On Exercises — Architecture

Practice Exercises

Exercise 1: Draw the Architecture

On paper or in a diagramming tool, draw the Airflow architecture for a CeleryExecutor deployment with:

  • 2 Scheduler instances (HA)
  • 1 Webserver
  • 3 Celery Workers
  • PostgreSQL metadata database
  • Redis message broker

Label each connection and describe what data flows between components.


Exercise 2: Choose the Right Executor

For each scenario, recommend the best executor and explain why:

  1. A startup with 5 DAGs and 2 data engineers
  2. An enterprise running 500 DAGs with 200 concurrent tasks
  3. A machine learning team where each task needs different GPU resources
  4. A developer testing a new DAG on their laptop

Exercise 3: Install Airflow Locally

Using Docker Compose, set up Airflow on your machine and:

  1. Access the webserver at http://localhost:8080
  2. Enable one of the example DAGs
  3. Trigger a DAG Run manually
  4. Navigate to the Graph view and identify all tasks
  5. Check the logs of a successful task
💡 Tip
Take screenshots of each step! Being able to navigate the Airflow UI is a critical skill for interviews and day-to-day work.
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.