
Answer-first summary for fast verification
Answer: Use an Amazon SQS queue subscribed to the SNS topic., Adapt Lambda to process messages from an SQS queue.
To ensure that the Lambda function ingests all data reliably, using an Amazon SQS queue subscribed to the SNS topic will allow messages to be queued and retried automatically if there are transient failures, such as network connectivity issues. Modifying the Lambda function to read from an Amazon SQS queue ensures that the function processes all messages that it might have missed during these failures. Therefore, the correct answers are B and E.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company's data ingestion workflow, which uses Amazon SNS for notifications and AWS Lambda for processing, occasionally fails due to network issues, causing unprocessed data. What actions should be taken to ensure all data is ingested?
A
Deploy Lambda across multiple Availability Zones.
B
Use an Amazon SQS queue subscribed to the SNS topic.
C
Allocate more CPU and memory to the Lambda function.
D
Increase Lambda's provisioned throughput.
E
Adapt Lambda to process messages from an SQS queue.
No comments yet.