Which combination of actions should a solutions architect take to ensure that the Lambda function ingests all data in the future?
(Choose two.)
Deploy the Lambda function in multiple Availability Zones.
Create an Amazon Simple Queue Service (Amazon SQS) queue, and subscribe it to the SNS topic.
Increase the CPU and memory that are allocated to the Lambda function.
Increase provisioned throughput for the Lambda function.
Modify the Lambda function to read from an Amazon Simple Queue Service (Amazon SQS) queue.
Explanations:
Deploying the Lambda function in multiple Availability Zones does not directly address the issue of network connectivity failures affecting data ingestion. It may improve availability but not reliability of processing data.
Creating an SQS queue and subscribing it to the SNS topic allows for reliable message delivery. If the Lambda function fails, messages can be retained in the SQS queue until they are successfully processed, ensuring no data is lost.
Increasing the CPU and memory allocated to the Lambda function may improve performance, but it does not directly solve the problem of data ingestion failures due to network issues.
Increasing provisioned throughput for the Lambda function is not applicable, as Lambda functions are serverless and scale automatically based on the number of incoming events. This option does not address the failure to ingest data.
Modifying the Lambda function to read from an SQS queue ensures that messages are queued for processing, allowing the function to handle failures and retry processing when network issues are resolved, thus ensuring all data is ingested.