AWS Certified DevOps Engineer – Professional — Question 113

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 SOS) 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 messages that cannot be processed successfully to be isolated and reviewed without being lost. This approach also enables scientists to reprocess the invalid data at a later time. Options A and D do not provide a systematic way to retain and review failed messages, while option B focuses on removing older messages instead of retaining failed ones.