DVA-C02 · Question #755
A developer creates three Amazon SQS standard queues. The first queue is named process_queue and processes messages. The second queue is named dl_queue and serves as a dead-letter queue for process_qu
The correct answer is B. Redrive the messages to a custom destination Specify inspect_queue as the destination. Amazon SQS now supports redriving messages to a custom destination, allowing developers to move messages from a dead-letter queue (DLQ) to any other queue. The LEAST operational effort way to inspect failed messages is to redrive the messages directly from dl_queue to inspect_que
Question
A developer creates three Amazon SQS standard queues. The first queue is named process_queue and processes messages. The second queue is named dl_queue and serves as a dead-letter queue for process_queue. The third queue is named inspect_queue. The developer uses inspect_queue to inspect failed messages. There are several messages in dl_queue that the developer wants to inspect by using inspect_queue. How can the developer move messages to inspect_queue with the LEAST operational effort?
Options
- AUse Amazon EventBridge to invoke an AWS Lambda function to move messages to
- BRedrive the messages to a custom destination Specify inspect_queue as the destination
- CSet inspect_queue as a dead-letter queue for process_queue
- DPoll for the messages in dl_queue
How the community answered
(35 responses)- A3% (1)
- B83% (29)
- C11% (4)
- D3% (1)
Explanation
Amazon SQS now supports redriving messages to a custom destination, allowing developers to move messages from a dead-letter queue (DLQ) to any other queue. The LEAST operational effort way to inspect failed messages is to redrive the messages directly from dl_queue to inspect_queue by specifying it as the custom destination, without writing custom code.
Community Discussion
No community discussion yet for this question.