A Glue crawler and an ETL job must run every night at 02:00 UTC, with no server to run the schedule. What should you use?
- Exam domain
- Data Ingestion and Transformation34% of the exam
- Difficulty
- Easy
- In this mock
- 33 questions on this domainPractise this domain
Why the exam asks this
Task Statement 1.1: Perform data ingestion.
Objective in the exam guide: Set up schedulers by using Amazon EventBridge, Apache Airflow, or time-based schedules for jobs and crawlers.
Most batch pipelines still run on a clock. Scheduling them reliably, without a server to babysit, is basic data engineering.
Why A is the answer
An Amazon EventBridge Scheduler schedule, or a time-based Glue trigger
EventBridge Scheduler and Glue triggers run jobs and crawlers on a schedule without servers.
Remember: Fixed-time jobs: a managed schedule, such as EventBridge Scheduler or a Glue trigger.
How it works
Amazon EventBridge Scheduler runs tasks on a cron or rate schedule, as a managed service.
AWS Glue also has time-based triggers that start jobs and crawlers.
Neither needs a server; both are more reliable than a cron job on a machine someone maintains.
Clues in the question
The words that point to the answer, and what each one tells you.
- Every night at 02:00
- A time-based schedule.
- No server to run the schedule
- A managed scheduler.
In detail
- Airflow, through MWAA, is another scheduler for teams that already use it.
- Event triggers suit work that should start when data arrives; schedules suit fixed times.
Side by side with look-alikes
| Option | Starts jobs on a schedule? |
|---|---|
| EventBridge Scheduler or Glue trigger | Yes |
| Laptop cron | Unreliable |
| S3 Lifecycle rule | No |
| SQS | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. An Amazon EventBridge Scheduler schedule, or a time-based Glue triggerRight
Fixed-time jobs: a managed schedule, such as EventBridge Scheduler or a Glue trigger.
B. A cron job on a developer's laptopWrong
A laptop is not reliable or always on.
C. An S3 Lifecycle ruleWrongMost tempting
Lifecycle rules manage storage, not jobs.
Why it tempts: Lifecycle rules run automatically on a time basis, so they sound like scheduling. But they manage storage classes, not jobs.
D. Amazon SQSWrong
SQS is a queue, not a scheduler.
In practice
- Schedule the crawler before the job that depends on its partitions.
Use case
An illustrative scenario, not a real incident.
A team schedules its crawler at 01:30 and its ETL job at 02:00 with Glue triggers.
See how it works
flowchart LR T1["01:30 trigger"] --> C["Glue crawler"] T2["02:00 trigger"] --> J["Glue ETL job"] C -.->|"partitions ready"| J
How to read this chart
- "01:30 trigger" leads to "Glue crawler".
- "02:00 trigger" leads to "Glue ETL job".
- At "Glue crawler": if "partitions ready", go to "Glue ETL job".