
Answer-first summary for fast verification
Answer: Leverage Amazon SQS for queuing thumbnail generation tasks, with immediate user notification of image receipt.
Amazon SQS is used to decouple and manage communication between different tiers of a multi-tier application. In this scenario, it allows the application to accept image uploads and immediately place a message in the SQS queue for thumbnail generation. This ensures fast acknowledgment to the user that their image was received, while the actual thumbnail generation process can take place asynchronously. By using SQS, the solution meets the requirement of providing a faster response to the user while handling the longer thumbnail generation process efficiently.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a solutions architect, how should you design a multi-tier application to asynchronously process image uploads, generate thumbnails, and notify users of successful uploads within a 60-second thumbnail generation limit?
A
Implement AWS Lambda for thumbnail generation triggered by image uploads, alerting users upon completion.
B
Use AWS Step Functions to coordinate application tiers, ensuring user notification post-thumbnail generation.
C
Leverage Amazon SQS for queuing thumbnail generation tasks, with immediate user notification of image receipt.
D
Apply Amazon SNS for managing notifications, one for initiating thumbnail generation and another for user alerts post-generation.
No comments yet.