AWS Certified Solutions Architect – Associate (SAA-C03) — Question 64
A company has a data ingestion workflow that consists of the following:
• An Amazon Simple Notification Service (Amazon SNS) topic for notifications about new data deliveries
• An AWS Lambda function to process the data and record metadata
The company observes that the ingestion workflow fails occasionally because of network connectivity issues. When such a failure occurs, the Lambda function does not ingest the corresponding data unless the company manually reruns the job.
Which combination of actions should a solutions architect take to ensure that the Lambda function ingests all data in the future? (Choose two.)
Answer options
- A. Deploy the Lambda function in multiple Availability Zones.
- B. Create an Amazon Simple Queue Service (Amazon SQS) queue, and subscribe it to the SNS topic.
- C. Increase the CPU and memory that are allocated to the Lambda function.
- D. Increase provisioned throughput for the Lambda function.
- E. Modify the Lambda function to read from an Amazon Simple Queue Service (Amazon SQS) queue.
Correct answer: B, E
Explanation
Choosing options B and E is correct because implementing an Amazon SQS queue allows for reliable message queuing, ensuring that data deliveries are not lost during connectivity issues. By modifying the Lambda function to read from the SQS queue, it can process messages at its own pace, thus preventing failures due to transient network problems. The other options do not directly address the issue of data loss due to connectivity failures.