DEA-C01 · Question #107
A lab uses IoT sensors to monitor humidity, temperature, and pressure for a project. The sensors send 100 KB of data every 10 seconds. A downstream process will read the data from an Amazon S3…
The correct answer is D. Use Amazon Managed Service for Apache Flink (previously known as Amazon Kinesis Data. The question asks for the solution that delivers IoT sensor data (100KB every 10 seconds) to S3 with the least latency for a downstream process that reads every 30 seconds.
Question
A lab uses IoT sensors to monitor humidity, temperature, and pressure for a project. The sensors send 100 KB of data every 10 seconds. A downstream process will read the data from an Amazon S3 bucket every 30 seconds. Which solution will deliver the data to the S3 bucket with the LEAST latency?
Options
- AUse Amazon Kinesis Data Streams and Amazon Kinesis Data Firehose to deliver the data to the
- BUse Amazon Kinesis Data Streams to deliver the data to the S3 bucket. Configure the stream to
- CUse Amazon Kinesis Data Streams and call the Kinesis Client Library to deliver the data to the S3
- DUse Amazon Managed Service for Apache Flink (previously known as Amazon Kinesis Data
How the community answered
(24 responses)- A25% (6)
- B4% (1)
- C8% (2)
- D63% (15)
Why each option
The question asks for the solution that delivers IoT sensor data (100KB every 10 seconds) to S3 with the least latency for a downstream process that reads every 30 seconds.
Amazon Kinesis Data Firehose typically buffers data for a minimum of 60 seconds or until 1MB is accumulated before delivering it to S3, introducing a default latency that might not be the absolute 'least' compared to a finely tuned Flink application.
Amazon Kinesis Data Streams provides data ingestion and storage but does not directly deliver data to S3; it requires a separate consumer to read from the stream and write to S3, which adds implementation complexity and potential latency.
The Kinesis Client Library (KCL) is used by consumers to process data from Kinesis Data Streams and would require custom code to write data to S3, introducing operational overhead and likely more latency than a managed service optimized for delivery.
Amazon Managed Service for Apache Flink allows users to run Apache Flink applications for real-time processing of streaming data. A Flink application can ingest data from a Kinesis Data Stream and be configured to output data to Amazon S3 with very fine-grained control over flushing intervals, potentially achieving lower latency for delivery of individual records or small batches compared to the default batching behavior of Kinesis Data Firehose, enabling near-instantaneous delivery to S3 after processing.
Concept tested: Real-time streaming data delivery to S3
Source: https://docs.aws.amazon.com/managed-flink/latest/dg/how-it-works.html
Topics
Community Discussion
No community discussion yet for this question.