DEA-C01 practice question: Event triggers and schedules (2 of 2)
Data Ingestion and Transformation A free question from our original DEA-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.
A dental chain has clinics in New York, Chicago and Denver, and it runs a nightly load of appointment data. Each regional load must start at 2:00 AM local time, and it must keep that local time through daylight saving changes. Once started, the load runs its Glue jobs in order and stops if one of them fails.
The team wants the schedules managed in AWS, with no cron jobs on servers.
Which TWO options meet these requirements? (Choose two.)
Choose two answers.
AA. Create a Glue scheduled trigger with a cron expression of 2:00 AM UTC, and edit the expression by hand each time daylight saving time starts or ends.
BB. Create an EventBridge Scheduler schedule per region with its IANA time zone, targeting a Step Functions state machine for the Glue jobs.
CC. Create an EventBridge rule with the cron expression 0 2 * * ? * for each region, and let the rule's target start the Glue jobs.
DD. Create an MWAA DAG with a timezone-aware schedule for each region, and let it run the Glue jobs in sequence with failure handling.
EE. Run a Lambda function that sleeps until 2:00 AM local time and then starts the jobs, using a long-running loop for each region.
B. Right: Correct. EventBridge Scheduler accepts an IANA time zone for each cron schedule and adjusts automatically for daylight saving time. A Step Functions state machine can run the Glue jobs in sequence and stop the run when one job fails. Learn more: Schedule types in EventBridge Scheduler (opens in a new tab)
A schedule written in UTC cannot follow local clocks through daylight saving changes, so the two correct options use time zones. EventBridge Scheduler and an Airflow DAG can both hold a local start time, and each can run the Glue jobs in order and stop when one fails. The UTC cron options and the sleeping function miss those requirements.
Want more on Event triggers and schedules? The 5 full-length practice sets have 10 more Event triggers and schedules questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →