DAS-C01 免费试练题 · 考证匠讲解
题目
A transport company wants to track vehicular movements by capturing geolocation records. The records are 10 B in size and up to 10,000 records are captured each second. Data transmission delays of a few minutes are acceptable, considering unreliable network conditions. The transport company decided to use Amazon Kinesis Data Streams to ingest the data. The company is looking for a reliable mechanism to send data to Kinesis Data Streams while maximizing the throughput efficiency of the Kinesis shards. Which solution will meet the company's requirements?
答案
拆题
- 每秒 1 万条 × 10 B 只有约 100 KB 原始数据,却会产生大量请求和记录开销。
- KPL 可以把多个用户记录聚合为 Kinesis records,并批量发送,提高小记录效率。
- 允许几分钟延迟给缓冲空间,但仍需设置刷新时间、重试与消费者解聚合。
每个选项为什么对、为什么错
- A:Agent 面向文件收集,不能直接替代题目小事件生产者的 KPL 聚合机制。
- B(正确):KPL 的 aggregation 和批量投递最适合大量极小记录,且提供缓冲重试能力。
- C:Firehose 是投递服务,不是把客户端原始小记录高效写入指定 stream 的 producer library。
- D:SDK 可 PutRecords 批量发送,但没有自动等同 KPL 的用户记录聚合与缓冲管理,需要自建。
放到具体场景里
教学例子:把同分区的 100 个 10 B 用户事件聚成一条 Kinesis record,接收端再解聚合。这样做减少记录数量而非丢弃事件;partition key 分布、最大尺寸和延迟窗口必须测试。一次失败重试可能重复,后续处理需幂等。
| 检查对象 | 本例条件或动作 | 结果与边界 |
|---|---|---|
| 原始流量 | 10000 × 10 B/s | 小数据、多记录 |
| 聚合 | 假设每 100 条一组 | 降低记录开销 |
| 消费 | 解聚合与幂等 | 不丢事件语义 |
遇到同类题的判断顺序
- 收集事件:保留时间与车辆标识。
- 聚合缓冲:KPL 按策略合并。
- 发送重试:观察待发送数据与失败。
- 解聚合处理:还原用户事件并去重。
参考资料
继续练这门考试
同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。
