AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 17

A space exploration company receives telemetry data from multiple satellites. Small packets of data are received through Amazon API Gateway and are placed directly into an Amazon Simple Queue Service (Amazon SQS) standard queue. A custom application is subscribed to the queue and transforms the data into a standard format.
Because of inconsistencies in the data that the satellites produce, the application is occasionally unable to transform the data. In these cases, the messages remain in the SQS queue. A DevOps engineer must develop a solution that retains the failed messages and makes them available to scientists for review and future processing.
Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

The correct answer is C because creating a dead-letter queue allows for failed messages to be stored separately, enabling scientists to review and reprocess the data later without affecting the main processing flow. Option A requires additional complexity with S3 and replay functionality, which is not necessary. Option B does not retain failed messages for review, and option D complicates the architecture unnecessarily by creating multiple virtual queues without addressing the retention of failed messages.