exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 206 discussion

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?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
beznika
Highly Voted 1 year, 4 months ago
I think it's A. https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-moving.html
upvoted 9 times
...
callspace
Most Recent 6 months, 3 weeks ago
Selected Answer: A
A it is. First of all - moving from an Amazon SQS standard queue to a FIFO queue ... You can't convert an existing standard queue into a FIFO queue. Second - content-based deduplication for the queue (each of your messages has a unique body).
upvoted 4 times
...
jipark
8 months, 1 week ago
Selected Answer: A
why not C-D : Queue type cannot be modified why not B : DelaySeconds parameter has no relationship with FIFO.
upvoted 3 times
...
Christina666
9 months ago
Selected Answer: A
A. Create a new SQS FIFO queue: SQS FIFO queues have a different structure and ordering mechanism compared to SQS standard queues, so a new queue needs to be created with the FIFO configuration. Turn on content-based deduplication on the new FIFO queue: SQS FIFO queues support content-based deduplication. Enabling this feature ensures that identical messages (messages with the same message body) are not duplicated in the queue, which is an essential feature of FIFO queues.
upvoted 3 times
Christina666
9 months ago
Update the application to include a message group ID in the messages: In FIFO queues, messages are ordered based on message groups. Each message should include a message group ID, and messages within the same group will be processed in order. If the application is already sending unique message bodies, it might need to be updated to include a message group ID to maintain ordering within the queue. Option B is incorrect because the DelaySeconds parameter is not relevant to the migration process from standard to FIFO queues. DelaySeconds is a parameter that can be used in both standard and FIFO queues, but it does not impact the migration process. Option C and Option D are incorrect because modifying the queue type from standard to FIFO or updating the application to send identical message bodies and use DelaySeconds parameter are not appropriate steps for migrating to an SQS FIFO queue.
upvoted 2 times
...
...
csG13
1 year, 1 month ago
Selected Answer: A
Correct answer is A. Can't convert an existing queue to a fifo queue, so no C or D. Also FIFO queues only support per-queue delays and not per-message. so it can't be B either.
upvoted 3 times
...
braveheart22
1 year, 1 month ago
A is the correct answer Every message sent to a FIFO queue requires a message group ID. If you don't need multiple ordered message groups, specify the same message group ID for all your messages. https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-moving.html
upvoted 3 times
...
nlw
1 year, 3 months ago
Selected Answer: A
FIFO queues don't support per-message delays, only per-queue delays. If your application sets the same value of the DelaySeconds parameter on each message, you must modify your application to remove the per-message delay and set DelaySeconds on the entire queue instead.
upvoted 3 times
...
michaldavid
1 year, 4 months ago
Selected Answer: A
I think A as well
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago