Scenario: You're tasked with building a scalable and fault-tolerant system using DynamoDB Streams for a high-traffic application. How would you design the system to handle potential spikes in workload and ensure reliable processing of stream records?
- Depend on DynamoDB auto-scaling only
- Implement a dead-letter queue for failed records
- Limit the number of stream records processed
- Use a single large Lambda function
Implementing a dead-letter queue for failed records ensures that any unprocessed records are not lost, allowing for reliable and fault-tolerant processing.
Loading...
Related Quiz
- How does AWS Step Functions manage error handling and retries?
- Can you configure AWS Lambda to process S3 events across multiple AWS regions?
- How do you configure custom event sources to trigger AWS Lambda functions?
- What is the default concurrency limit for AWS Lambda functions?
- What is the primary goal of implementing cold start reduction techniques in serverless architectures?