SAP-C02 · Question #669
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…
The correct answer is C. Stream the data to an Amazon Kinesis data stream. Create an AWS Lambda function to consume. The company needs to stream and analyze real-time sensor data from factories, immediately notifying operations if parameters fall out of acceptable ranges.
Question
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?
Options
- AStream the data to an Amazon Kinesis Data Firehose delivery stream. Use AWS Step Functions
- BStream the data to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) cluster. Set
- CStream the data to an Amazon Kinesis data stream. Create an AWS Lambda function to consume
- DStream the data to an Amazon Kinesis Data Analytics application. Use an automatically scaled
How the community answered
(36 responses)- A8% (3)
- B6% (2)
- C72% (26)
- D14% (5)
Why each option
The company needs to stream and analyze real-time sensor data from factories, immediately notifying operations if parameters fall out of acceptable ranges.
Kinesis Data Firehose is designed for delivering streaming data to destinations for analytics, not for real-time conditional processing and immediate notifications. AWS Step Functions is an orchestration service, which is overly complex for simple real-time data checks.
Streaming data to an Amazon Kinesis data stream provides a scalable and durable real-time data ingestion point. An AWS Lambda function can then be configured to consume records from the stream in real-time, perform immediate analysis to check for out-of-range parameters, and trigger an Amazon SNS notification, directly meeting the requirements for real-time processing and immediate alerts.
Concept tested: Real-time stream processing with Kinesis and Lambda for alerts
Source: https://docs.aws.amazon.com/kinesis/latest/dev/introduction.html
Community Discussion
No community discussion yet for this question.