
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company has a data ingestion workflow that consists of the following:
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.)
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.
Explanation:
This question addresses resiliency in a data ingestion workflow that's experiencing failures due to network connectivity issues. The current architecture uses SNS → Lambda directly, which has a limitation: if the Lambda function fails to process a message (due to network issues), the message is lost unless manually retried.
Option B: Create an Amazon SQS queue and subscribe it to the SNS topic
Option E: Modify the Lambda function to read from an Amazon SQS queue
Option A: Deploy the Lambda function in multiple Availability Zones
Option C: Increase the CPU and memory that are allocated to the Lambda function
Option D: Increase provisioned throughput for the Lambda function
The solution implements the SNS fanout pattern with SQS queue for reliable message delivery:
This pattern ensures at-least-once delivery and fault tolerance for the data ingestion workflow.