PrepAway - Latest Free Exam Questions & Answers

How should you implement such a system?

Your application provides data transformation services. Files containing data to be transformed are first
uploaded to Amazon S3 and then transformed by a fleet of spot EC2 instances. Files submitted by your
premium customers must be transformed with the highest priority. How should you implement such a system?

PrepAway - Latest Free Exam Questions & Answers

A.
Use a DynamoDB table with an attribute defining the priority level. Transformation instances will scan the
table for tasks, sorting the results by priority level.

B.
Use Route 53 latency based-routing to send high priority tasks to the closest transformation instances.

C.
Use two SQS queues, one for high priority messages, the other for default priority.
Transformation instances first poll the high priority queue; if there is no message, they poll the default
priority queue.

D.
Use a single SQS queue. Each message contains the priority level. Transformation instances poll highpriority messages first.

One Comment on “How should you implement such a system?

  1. McEphin says:

    C – 2 queues

    https://aws.amazon.com/sqs/details/

    Priority: Use separate queues to provide prioritization of work.

    DynamoDB no = no reason to use high speed DB to perform transactions of the requests
    Route53 no = doesn’t address SPOT’s issues of computing may not being present for high priority customers
    Single SQS Queue no = FIFO – first in first out queue, nothing about priority levels with a single queue




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *