Ultimate access to all questions.
A company runs a processing engine in the AWS Cloud. The engine processes environmental data from logistics centers to calculate a sustainability index. The company has millions of devices in logistics centers that are spread across Europe. The devices send information to the processing engine through a RESTful API. The API experiences unpredictable bursts of traffic. The company must implement a solution to process all data that the devices send to the processing engine. Data loss is unacceptable. Which solution will meet these requirements?
Explanation:
Answer B is the correct solution because it effectively addresses all the given requirements:
API Gateway and SQS Integration: Amazon API Gateway can handle the unpredictable bursts of traffic by scaling automatically to meet the request demand. By implementing the RESTful API on API Gateway and integrating it with an Amazon SQS queue, the incoming data is reliably queued without any data loss. SQS provides a durable and scalable buffer layer to decouple the data ingestion from the processing logic.
Processing with AWS Lambda: AWS Lambda functions are well-suited to process messages from the SQS queue. Lambda can scale automatically based on the amount of traffic, ensuring that even during high-volume periods, messages are processed efficiently and without provisioning infrastructure manually.
Other options do not fit as well for the following reasons:
Hence, option B provides a robust, scalable, and serverless approach to meet the requirements without incurring data loss.