Which solution will meet these requirements?
Increase the SQS queue’s delivery delay value to 60 seconds.
Increase the SQS queue’s visibility timeout value to 60 seconds.
Increase the Lambda function’s timeout value to 60 seconds.
Increase the Lambda function’s memory.
Explanations:
Increasing the SQS queue’s delivery delay value to 60 seconds ensures that messages sent to the queue will not be available for processing for the specified duration. This means that once a message is published to the queue, it will remain in a delayed state and will not be processed until the 60 seconds have elapsed.
Increasing the SQS queue’s visibility timeout value to 60 seconds does not delay the delivery of messages. Instead, it determines how long a message remains invisible after being retrieved from the queue. This setting does not affect the initial delivery delay of the message.
Increasing the Lambda function’s timeout value to 60 seconds only affects how long the Lambda function has to execute before it is terminated. It does not influence the message delivery or delay behavior in SQS.
Increasing the Lambda function’s memory does not relate to message delivery delays. Memory allocation affects the performance and execution speed of the Lambda function but does not influence how messages are delayed in SQS.