AWS Certified Solutions Architect – Professional (SAP-C02) — Question 373
A company has mounted sensors to collect information about environmental parameters such as humidity and light throughout all the company's factories. The company needs to stream and analyze the data in the AWS Cloud in real time. If any of the parameters fall out of acceptable ranges, the factory operations team must receive a notification immediately.
Which solution will meet these requirements?
Answer options
- A. Stream the data to an Amazon Kinesis Data Firehose delivery stream. Use AWS Step Functions to consume and analyze the data in the Kinesis Data Firehose delivery stream. Use Amazon Simple Notification Service (Amazon SNS) to notify the operations team.
- B. Stream the data to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) cluster. Set up a trigger in Amazon MSK to invoke an AWS Fargate task to analyze the data. Use Amazon Simple Email Service (Amazon SES) to notify the operations team.
- C. Stream the data to an Amazon Kinesis data stream. Create an AWS Lambda function to consume the Kinesis data stream and to analyze the data. Use Amazon Simple Notification Service (Amazon SNS) to notify the operations team.
- D. Stream the data to an Amazon Kinesis Data Analytics application. Use an automatically scaled and containerized service in Amazon Elastic Container Service (Amazon ECS) to consume and analyze the data. Use Amazon Simple Email Service (Amazon SES) to notify the operations team.
Correct answer: C
Explanation
Option C is correct because Amazon Kinesis Data Streams integrated with AWS Lambda provides a low-latency, real-time streaming and serverless processing pipeline, while Amazon SNS is designed for sending immediate push notifications. Option A is incorrect because Kinesis Data Firehose is optimized for loading data into destinations in near-real-time rather than immediate, event-driven analysis, and Step Functions is not meant for direct stream consumption. Options B and D introduce unnecessary operational complexity and utilize Amazon SES, which is less suited for immediate operational alerting compared to Amazon SNS.