A developer is using an AWS Lambda function to generate avatars for profile pictures that are uploaded to an Amazon S3 bucket. The Lambda function is automatically invoked for profile pictures that are saved under the /original/ S3 prefix. The developer notices that some pictures cause the Lambda function to time out. The developer wants to implement a fallback mechanism by using another Lambda function that resizes the profile picture.
Which solution will meet these requirements with the LEAST development effort?
The solution that will meet the requirements with the least development effort is to set the image resize Lambda function as a destination of the avatar generator Lambda function for the events that fail processing. This way, the fallback mechanism is automatically triggered by the Lambda service without requiring any additional components or configuration. The other options involve creating and managing additional resources such as queues, topics, state machines, or rules, which would increase the complexity and cost of the solution.
Dewitt
5 hours agoGail
5 days agoTambra
11 days agoSalina
16 days agoGary
21 days agoGail
26 days agoEzekiel
1 month agoMitsue
1 month agoGerman
1 month agoTerina
2 months agoIzetta
2 months agoKimberlie
2 months agoSusy
2 months agoAleta
2 months agoCarri
2 months agoDonte
3 months agoGilbert
3 months agoMelina
3 months agoCristy
3 months ago