CertKeen

AWS Developer Associate (DVA-C03) · Free practice question 4 of 12

EventBridge Scheduler one-time invocations

The Duncombe Dental booking app needs to send a reminder 24 hours before each appointment. Thousands of appointments are created daily, each with its own reminder time. Which serverless approach creates a single future invocation per appointment?

  1. A.Create one CloudWatch alarm per appointment that changes state at the reminder time and calls the function
  2. B.Put each reminder on an SQS queue with a delivery delay set to the full 24 hours before the appointment
  3. C.Set the reminder function's timeout to 24 hours and invoke it as soon as each appointment is booked
  4. D.A one-time EventBridge Scheduler schedule per appointment, targeting the reminder function
Show answer and explanation

Correct answer: D. A one-time EventBridge Scheduler schedule per appointment, targeting the reminder function

Why: EventBridge Scheduler supports one-time schedules using an at() expression and can invoke targets such as Lambda at that moment, scaling to large numbers of schedules. Alarms react to metrics, not calendar times. Lambda timeouts cannot exceed 15 minutes. SQS delivery delay is limited to 15 minutes, far short of 24 hours.

More free AWS Developer Associate (DVA-C03) questions