A developer needs to ensure that a serverless function, which is responsible for processing incoming messages, will redirect failed executions to a separate storage service for later analysis. Which feature should the developer configure to BEST adhere to this requirement?
Configure a dead-letter queue to save messages that the function fails to process for subsequent analysis.
Alter the function's retry settings to indefinitely attempt reprocessing the problematic message until successful.
Boost the serverless function's available compute resources to prevent message processing failures.
Set up an automated re-publishing mechanism through another notification service to keep submitting the message until it is processed without errors.