exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 343 discussion

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?

  • A. Delete all the objects from the S3 bucket.
  • B. Set the function’s reserved concurrency to 0.
  • C. Update the S3 bucket policy to deny access for the function.
  • D. Publish a new version of the function.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Christina666
9 months ago
Selected Answer: 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.
upvoted 4 times
[Removed]
8 months, 4 weeks ago
If you trigger a recursive invocation loop accidentally, you can press the “Throttle” button in the Lambda console to scale the function concurrency down to zero and break the recursion cycle.
upvoted 1 times
...
...
[Removed]
9 months, 3 weeks ago
B. Set the function’s reserved concurrency to 0.
upvoted 2 times
...
TQM__9MD
9 months, 4 weeks ago
Selected Answer: B
B is answer
upvoted 3 times
...
Creature
10 months ago
Selected Answer: B
Concur with B and reference this document - https://aws.amazon.com/blogs/compute/avoiding-recursive-invocation-with-amazon-s3-and-aws-lambda/
upvoted 3 times
...
Warza
10 months ago
Selected Answer: B
https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html
upvoted 3 times
...
Phat_nguyen_VN
10 months ago
option B
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago