
Ultimate access to all questions.
A company's solution analyzes weather data from numerous weather stations, which transmit data via an Amazon API Gateway REST API integrated with an AWS Lambda function. This Lambda function interfaces with a third-party service for data preprocessing. However, the third-party service occasionally becomes overwhelmed and fails, leading to data loss. To enhance the solution's resilience, a solutions architect must implement measures to ensure no data is lost and that any unprocessed data can be addressed later. What strategy should the solutions architect employ to fulfill these requirements?
A
Create an Amazon Simple Queue Service (Amazon SQS) queue and set it as the dead-letter queue for the API.
B
Establish two Amazon Simple Queue Service (Amazon SQS) queues: a primary queue and a secondary queue, with the secondary queue acting as the dead-letter queue for the primary. Modify the API to integrate with the primary queue and configure the Lambda function to be triggered by messages in the primary queue.
C
Set up two Amazon EventBridge event buses: a primary event bus and a secondary event bus. Update the API to direct data to the primary event bus. Create an EventBridge rule to handle all events on the primary event bus, targeting the Lambda function, and set the secondary event bus as the destination for failed Lambda function invocations.
D
Develop a custom Amazon EventBridge event bus and configure it as the destination for failed Lambda function invocations.