
Answer-first summary for fast verification
Answer: Implement an Amazon SQS queue to manage thumbnail generation tasks, ensuring immediate user notification of image receipt.
The correct answer is C. Using Amazon SQS (Simple Queue Service) for asynchronous processing is the most appropriate solution in this scenario. When an image is uploaded, you can place a message on the SQS queue to handle the thumbnail generation. This allows the system to quickly acknowledge receipt of the image to the user, effectively decoupling the image upload process from the potentially time-consuming thumbnail generation. This ensures a faster response time to users while the thumbnail is processed in the background.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A solutions architect is tasked with designing a responsive, multi-tier application. Users will upload images from mobile devices, and the system must generate thumbnails and confirm receipt to users promptly. Given the thumbnail generation's potential 60-second delay, the architect must implement asynchronous processing. What is the recommended approach to meet these requirements?
A
Develop a custom AWS Lambda function triggered by the image upload event to handle thumbnail generation and user alerts.
B
Utilize AWS Step Functions to orchestrate the application tiers, ensuring user notification upon thumbnail completion.
C
Implement an Amazon SQS queue to manage thumbnail generation tasks, ensuring immediate user notification of image receipt.
D
Leverage Amazon SNS for notifications, with one subscription for thumbnail processing and another for push notifications to users post-thumbnail generation.
No comments yet.