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?

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.

Answer: 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.

Computer Science & Information Technology

You might also like to view...

How is the icon for an app displayed on the Start screen?

A) snip B) tile C) toolbar D) window

Computer Science & Information Technology

Which of the following statements is false?

a. The method’s return type specifies the type of data returned to a method’s caller. b. Empty parentheses following a method name indicate that the method does not require any parameters to perform its task. c. When a method that specifies a return type other than void is called and completes its task, the method must return a result to its calling method d. Classes often provide public methods to allow the class’s clients to set or get private instance variables; the names of these methods must begin with set or get.

Computer Science & Information Technology