Topic 1 Question 155
A developer is writing a serverless application that requires an AWS Lambda function to be invoked every 10 minutes.
What is an automated and serverless way to invoke the function?
Deploy an Amazon EC2 instance based on Linux, and edit its /etc/crontab file by adding a command to periodically invoke the Lambda function.
Configure an environment variable named PERIOD for the Lambda function. Set the value to 600.
Create an Amazon EventBridge rule that runs on a regular schedule to invoke the Lambda function.
Create an Amazon Simple Notification Service (Amazon SNS) topic that has a subscription to the Lambda function with a 600-second timer.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: C
C is correct. Amazon EventBridge can be used to run Lambda functions on a regular schedule. You can set a cron or rate expression to define the schedule.
👍 3dilleman2023/10/10 - 正解だと思う選択肢: C
The correct answer is (C).
Solution (C) is the best option to meet the developer's requirements. It allows the developer to invoke the Lambda function in an automated and serverless way.
👍 2Digo30sp2023/10/06
シャッフルモード