Q80 — AWS DEA-C01 Ch.1
Question 80 of 100 | ← Chapter 1
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?
- A. Use Amazon Kinesis Data Streams and Amazon Kinesis Data Firehose to deliver the data to the S3 bucket. Use the default buffer Interval for Kinesis Data Firehose.
- B. Use Amazon Kinesis Data Streams to deliver the data to the S3 bucket. Configure the stream to use 5 provisioned shards.
- C. Use Amazon Kinesis Data Streams and call the Kinesis Client Library to deliver the data to the S3 bucket. Use a 5 second buffer interval From an application. ✓
- D. Use Amazon Managed Service for Apache Flink (previously known as Amazon Kinesis Data Analytics) and Amazon Kinesis Data Firehose to deliver the data to the S3 bucket. Use a 5 second buffer interval for Kinesis Data Firehose.
Correct Answer: C. Use Amazon Kinesis Data Streams and call the Kinesis Client Library to deliver the data to the S3 bucket. Use a 5 second buffer interval From an application.
Explanation
在这个场景中,传感器每10秒发送100KB数据,下游过程每30秒从S3桶读取数据。选项C中,使用AmazonKinesisDataStreams和调用KinesisClientLibrary,并设置5秒的缓冲间隔,能够更及时地将数据传递到S3桶,相比其他选项能最大程度减少延迟。A选项默认缓冲间隔可能较大;B选项配置5个预配置分片不一定能保证最低延迟;D选项使用的Flink和设置的5秒缓冲间隔也不如C选项直接设置5秒缓冲间隔更能有效减少延迟。因此,答案选C。