Topic 1 Question 415
A company has an application that uses an AWS Lambda function to consume messages from an Amazon Simple Queue Service (Amazon SQS) queue. The SQS queue is configured with a dead-letter queue. Due to a defect in the application, AWS Lambda failed to process some messages. A developer fixed the bug and wants to process the failed messages again.
How should the developer resolve this issue?
Use the SendMessageBatch API to send messages from the dead-letter queue to the original SQS queue.
Use the ChangeMessageVisibility API to configure messages in the dead-letter queue to be visible in the original SQS queue.
Use the StartMessageMoveTask API to move messages from the dead-letter queue to the original SQS queue.
Use the PurgeQueue API to remove messages from the dead-letter queue and return the messages to the original SQS queue.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: C
VOTE C
👍 2siheom2024/10/04 C StartMessageMoveTask: This API is specifically designed for moving messages between SQS queues, including moving messages from a dead-letter queue (DLQ) back to the original queue. This method is efficient and preserves message attributes and other metadata.
👍 1gdm832024/10/03vote C
👍 1raeIT2024/11/02
シャッフルモード