QuestionQ20

Incident and Event Response

A space-exploration company receives telemetry data from multiple satellites. Small data packets arrive through Amazon API Gateway and are placed directly into an Amazon Simple Queue Service (Amazon SOS) standard queue. A custom application subscribes to the queue and transforms the data into a standard format.

Because of inconsistencies in the data produced by the satellites, the application occasionally cannot transform the data. In these situations, the messages stay in the SQS queue. A DevOps engineer must create a solution that retains the failed messages and makes them available to scientists for review and later processing.

Which solution meets these requirements?

Explanation

An Amazon SQS dead-letter queue retains messages that the consumer cannot successfully process after the configured receive threshold. A redrive policy on the source queue specifies the dead-letter queue ARN and maxReceiveCount; setting the threshold to 1 moves failed messages to the dead-letter queue for scientists to review and reprocess later.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!