Exam4Training

Which combination of actions should a solutions architect take to ensure that the Lambda function ingests all data in the future?

A company has a data ingestion workflow that consists 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? (Select TWO.)
A . Configure the Lambda function In multiple Availability Zones.
B . Create an Amazon Simple Queue Service (Amazon SQS) queue, and subscribe It to me 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

Answer: BE

Explanation:

To ensure that the Lambda function ingests all data in the future despite occasional network connectivity issues, the following actions should be taken:

Create an Amazon Simple Queue Service (SQS) queue and subscribe it to the SNS topic. This allows for decoupling of the notification and processing, so that even if the processing Lambda function fails, the message remains in the queue for further processing later.

Modify the Lambda function to read from the SQS queue instead of directly from SNS. This decoupling allows for retries and fault tolerance and ensures that all messages are processed by the Lambda function.

Reference:

AWS SNS documentation: https://aws.amazon.com/sns/

AWS SQS documentation: https://aws.amazon.com/sqs/

AWS Lambda documentation: https://aws.amazon.com/lambda/

Latest SAA-C03 Dumps Valid Version with 400 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version