Question 273:
Your company is running a premium photo-sharing application. Users can upload their creative photos and license them to be used by others. The application allows the users to watermark and do other signatures before the images can be visible to everyone in the public stream. The watermarking and signature are based on the user-selected plan and allowed to do a certain number of images in a given timeframe. Along with this, the company has collaborated with some users and groups. They are allowed to process images faster compared to others whenever they submit their images.
Answer options:
A.Use SQS queues instead of Lambda Trigger. Use the priority order messages to process the images. B.Save the processing information to DynamoDB before saving the image to S3. When the AWS Lambda trigger runs, pull the information from DynamoDB and process accordingly. C.Use two SQS queues instead of Lambda Trigger. One with high priority messages and another for the low priority messages. Check for the messages into the high priority queue before processing any messages from the low priority queue. D.Use the AWS Batch to create jobs with priority job queues and use the combination of EC2 On-Demand and Spot instances to process the messages.