Examtopics

AWS Certified Developer - Associate
  • 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.


    シャッフルモード