AWS Certified SysOps Administrator – Associate — Question 115
A company uses an Amazon Simple Queue Service (Amazon SQS) standard queue with its application. The application sends messages to the queue with unique message bodies. The company decides to switch to an SQS FIFO queue.
What must the company do to migrate to an SQS FIFO queue?
Answer options
- A. Create a new SQS FIFO queue. Turn on content-based deduplication on the new FIFO queue. Update the application to include a message group ID in the messages.
- B. Create a new SQS FIFO queue. Update the application to include the DelaySeconds parameter in the messages.
- C. Modify the queue type from SQS standard to SQS FIFO. Turn off content-based deduplication on the queue. Update the application to include a message group ID in the messages.
- D. Modify the queue type from SQS standard to SQS FIFO. Update the application to send messages with identical message bodies and to include the DelaySeconds parameter in the messages.
Correct answer: A
Explanation
The correct answer is A because migrating to an SQS FIFO queue requires creating a new FIFO queue and using a message group ID, which is essential for maintaining message order. Options B, C, and D are incorrect as they either miss the requirement for a message group ID or incorrectly suggest modifying the existing queue type instead of creating a new FIFO queue.