A factory publishes sensor data to Amazon Kinesis Data Streams and uses Kinesis Data Firehose to write the data to Amazon S3. The plant needs a near-real-time operational-efficiency display on a large screen with the lowest possible latency. Which solution provides the lowest latency?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Amazon Managed Service for Apache Flink (previously known as Amazon Kinesis Data Analytics) to process the sensor data. Use a connector for Apache Flink to write data to an Amazon Timestream database. Use the Timestream database as a source to create a Grafana dashboard..
Why this is the answer
The correct solution offers the lowest latency because Amazon Managed Service for Apache Flink processes data streams in near real time, and Timestream is a purpose-built time-series database optimized for fast ingestion and querying of time-series data. Grafana provides real-time visualization capabilities directly from Timestream. The S3-to-Lambda-to-Aurora solution introduces latency due to object creation in S3 and the overhead of Lambda invocation and Aurora writes. The Firehose-to-Timestream option for Flink output adds an unnecessary intermediary step (Firehose) that increases latency compared to Flink writing directly to Timestream. AWS Glue bookmarks are designed for batch processing, not near-real-time streaming, making that option unsuitable for low-latency requirements.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed