SpinTheMic
Pro

Interview practice question

Waiting for a daily file in S3

Data Engineering · Airflow · Beginner

A vendor drops a file in S3 sometime between 2 and 5 AM. How do you start processing as soon as it arrives?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • S3KeySensor with deferrable mode or reschedule mode.
  • Set a timeout matching the SLA and alert on timeout.
  • Use wildcards for file names with dates.
  • Alternative: S3 event to SQS triggering an asset-based DAG.
  • Process idempotently.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics