
Answer-first summary for fast verification
Answer: Create EventBridge rules for time-based schedules and use AWS SDK to trigger jobs based on events.
Option B is correct because it involves creating EventBridge rules for both time-based schedules and event-based triggers, which is a flexible and scalable approach for managing job schedules. Using cron jobs directly in AWS Glue (Option A) lacks the flexibility of EventBridge. Manually running jobs (Option C) is inefficient and not scalable. Using Lambda for scheduling (Option D) is an additional layer of complexity that is not necessary when EventBridge can handle the task.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are tasked with setting up a scheduler for AWS Glue jobs that need to run at specific times and trigger based on certain events. Describe how you would configure Amazon EventBridge to achieve this, including the creation of rules for time-based schedules and event-based triggers.
A
Use cron jobs directly in AWS Glue to schedule jobs.
B
Create EventBridge rules for time-based schedules and use AWS SDK to trigger jobs based on events.
C
Manually run AWS Glue jobs at the required times without any automation.
D
Use AWS Lambda to schedule and trigger AWS Glue jobs.