A solutions architect is designing a multi-tier application. Users upload images from mobile devices. The application generates a thumbnail for each image (which can take up to 60 seconds) and returns a success message to the user as quickly as possible to confirm receipt of the original image. The architect must design the application to dispatch requests asynchronously across tiers to meet these requirements. What should the solutions architect do?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon Simple Queue Service (Amazon SQS) message queue. As images are uploaded, place a message on the SQS queue for thumbnail generation. Alert the user through an application message that the image was received..
Why this is the answer
This solution meets the requirement for asynchronous processing and quick user feedback. When an image is uploaded, the application immediately places a message on the SQS queue, confirming receipt to the user. A separate worker (e.g., a Lambda function or EC2 instance) can then process messages from the SQS queue to generate thumbnails, decoupling the long-running task from the initial upload. Incorrect options: A custom Lambda function directly invoked by the upload process would still be synchronous from the user's perspective if it waits for thumbnail generation, or it would require additional mechanisms for asynchronous processing and user notification. AWS Step Functions orchestrates workflows, but for simple asynchronous task
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed