What is the primary purpose of using Airflow Connections when working with cloud services?
Think about how Airflow keeps sensitive information safe and reusable.
Airflow Connections provide a centralized and secure way to store credentials and connection info, so DAGs can use them without hardcoding sensitive data.
What is the output of the following command if you have one connection named 'aws_default' configured?
airflow connections list
Think about what the 'list' command shows in Airflow CLI.
The 'airflow connections list' command outputs a table of all configured connections, including their IDs and types.
Which of the following is the correct Airflow connection URI format to connect to Google Cloud Storage using a service account JSON key file?
Look for the correct prefix and how extra parameters are passed in Airflow connection URIs.
Airflow uses 'google-cloud-platform' as the connection type and passes the key file path in the 'extra' field with the prefix 'extra__google_cloud_platform__key_path'.
You have set up an Airflow connection to AWS but your DAG fails with an authentication error. Which of the following is the most likely cause?
Authentication errors usually relate to credentials.
If the AWS keys are missing or wrong in the connection, Airflow cannot authenticate to AWS services, causing failures.
Which workflow correctly describes the best practice for managing cloud service connections securely and efficiently in Airflow?
Think about security and maintainability in managing credentials.
Best practice is to store credentials securely in Airflow Connections, use environment variables for sensitive data, and limit access to prevent leaks.