AWS SAP-C02 · Question 40 · Domain 2.4: Reliability
An architect is designing a serverless data processing pipeline. Amazon S3 events trigger an AWS Lambda function, which processes the data and writes to Amazon DynamoDB. The Lambda function occasionally fails due to downstream throttling. How can the architect ensure no data is lost during these failures with the LEAST operational overhead?
Answer options:
Write custom retry logic within the Lambda function code.
Configure an Amazon SQS Dead-Letter Queue (DLQ) or an On-Failure destination for the Lambda function.
Use AWS Step Functions to orchestrate the S3 to Lambda invocation.
Increase the memory and timeout settings of the Lambda function.
75 questions · hints · full answers · grading