AWS Certified Developer Associate DVA-C02 Practice Question
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.
Enabling a dead-letter queue (DLQ) for the Lambda function is the best proactive measure to handle failed execution messages. The DLQ pattern is a well-established way to isolate messages that a Lambda function fails to process, allowing them to be moved to a separate queue and not interfere with the continuous flow of new messages being processed. This aids in analyzing and debugging issues without losing the context of the failure. This is preferable to re-attempting processing within the Lambda function which might cause repeated failures and does not segregate the problematic messages, or increasing resources which might not address the root cause of processing failures.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a dead-letter queue (DLQ) in AWS Lambda?
Open an interactive chat with Bash
How does enabling a DLQ improve reliability in message processing?
Open an interactive chat with Bash
Can a dead-letter queue automatically retry failed events?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .