Topic 1 Question 343
A developer creates an AWS Lambda function that runs when an object is put into an Amazon S3 bucket. The function reformats the object and places the object back into the S3 bucket. During testing, the developer notices a recursive invocation loop. The developer asks a SysOps administrator to immediately stop the recursive invocations.
What should the SysOps administrator do to stop the loop without errors?
Delete all the objects from the S3 bucket.
Set the function’s reserved concurrency to 0.
Update the S3 bucket policy to deny access for the function.
Publish a new version of the function.
ユーザの投票
コメント(6)
- 正解だと思う選択肢: B
https://aws.amazon.com/blogs/compute/avoiding-recursive-invocation-with-amazon-s3-and-aws-lambda/
Monitoring applications for recursive invocation Whenever you have a Lambda function writing objects back to the same S3 bucket that triggered the event, it’s best practice to limit the scaling in the development and testing phases.
Use reserved concurrency to limit a function’s scaling, for example. Setting the function’s reserved concurrency to a lower limit prevents the function from scaling concurrently beyond that limit. It does not prevent the recursion, but limits the resources consumed as a safety mechanism.
👍 3Christina6662023/07/28 option B
👍 2Phat_nguyen_VN2023/06/25- 正解だと思う選択肢: B👍 2Warza2023/06/25
シャッフルモード