ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 593 - DVA-C01 discussion

Report
Export

A developer deploys a custom application to three Amazon EC2 instances. The application processes messages from an Amazon Simple Queue Service (Amazon SQS) standard queue with default settings. When the developer runs a load test on the Amazon SQS queue, the developer discovers that the application processes many messages multiple times. How can the developer ensure that the application processes each message exactly once?

A.
Modify the SQS standard queue to an SQS FIFO queue.
Answers
A.
Modify the SQS standard queue to an SQS FIFO queue.
B.
Process the messages on one EC2 instance instead of three instances.
Answers
B.
Process the messages on one EC2 instance instead of three instances.
C.
Create a new SQS FIFO queue. Point the application to the new queue.
Answers
C.
Create a new SQS FIFO queue. Point the application to the new queue.
D.
Increase the DelaySeconds value on the current SQS queue.
Answers
D.
Increase the DelaySeconds value on the current SQS queue.
Suggested answer: C

Explanation:

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queuesmoving.htmlMoving from a standard queue to a FIFO queue:

If you have an existing application that uses standard queues and you want to take advantage of the ordering or exactly-once processing features of FIFO queues, you need to configure the queue and your application correctly. Note:

You can't convert an existing standard queue into a FIFO queue. To make the move, you must either create a new FIFO queue for your application or delete your existing standard queue and recreate it as a FIFO queue.

asked 16/09/2024
Dele Olagoroye
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first