
Answer-first summary for fast verification
Answer: Use DelaySeconds parameter
Use DelaySeconds parameter Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. SQS offers two types of message queues. Standard queues offer maximum throughput, best-effort ordering, and at-least-once delivery. SQS FIFO queues are designed to guarantee that messages are processed exactly once, in the exact order that they are sent. Delay queues let you postpone the delivery of new messages to a queue for several seconds, for example, when your consumer application needs additional time to process messages. If you create a delay queue, any messages that you send to the queue remain invisible to consumers for the duration of the delay period. The default (minimum) delay for a queue is 0 seconds. The maximum is 15 minutes.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a senior cloud engineer responsible for designing and deploying online fraud detection solutions for credit card companies processing millions of transactions daily, you have an Elastic Beanstalk application that uploads files to Amazon S3. After uploading, the application sends a message to an Amazon SQS queue containing the path of the uploaded file in S3. You need to ensure that the delivery of any new messages to the queue is postponed for at least 10 seconds.
Which SQS feature should the engineer leverage?
A
Use DelaySeconds parameter
B
Implement application-side delay
C
Use visibility timeout parameter
D
Enable LongPolling
No comments yet.