Running a Function Every Night
A cleanup Lambda function must run every day at 03:00 UTC. What triggers it?
Part of Cloud Architecture in Practice. Next step: Missing Memory Metrics
Choose one answer
An EventBridge schedule with the cron expression cron(0 3 * * ? *).
cron(0 3 * * ? *)
A CloudWatch alarm with a period of 24 hours and the function as its action.
An S3 lifecycle rule that invokes the function when objects expire at night.
A Schedule field in the function's configuration, set to 03:00 UTC.
Schedule
03:00 UTC