DAS-C01 练习题

DAS-C01 题目讲解:大记录决定入口,不只看服务名字

DAS-C01 练习题讲解。答案 C。单条可能达到 10 MB,必须核对 record limit、producer 和消费者能力。

DAS-C01 免费试练题 · 考证匠讲解

题目

A company wants to collect and process events data from different departments in near-real time. Before storing the data in Amazon S3, the company needs to clean the data by standardizing the format of the address and timestamp columns. The data varies in size based on the overall load at each particular point in time. A single data record can be 100 KB-10 MB. How should a data analytics specialist design the solution for data ingestion?

A. Use Amazon Kinesis Data Streams. Configure a stream for the raw data. Use a Kinesis Agent to write data to the stream. Create an Amazon Kinesis Data Analytics application that reads data from the raw stream, cleanses it, and stores the output to Amazon S3.
B. Use Amazon Kinesis Data Firehose. Configure a Firehose delivery stream with a preprocessing AWS Lambda function for data cleansing. Use a Kinesis Agent to write data to the delivery stream. Configure Kinesis Data Firehose to deliver the data to Amazon S3.
C. Use Amazon Managed Streaming for Apache Kafka. Configure a topic for the raw data. Use a Kafka producer to write data to the topic. Create an application on Amazon EC2 that reads data from the topic by using the Apache Kafka consumer API, cleanses the data, and writes to Amazon S3.
D. Use Amazon Simple Queue Service (Amazon SQS). Configure an AWS Lambda function to read events from the SQS queue and upload the events to Amazon S3.

答案

答案 C。单条可能达到 10 MB,必须核对 record limit、producer 和消费者能力。

拆题

  • 单条可能达到 10 MB,必须核对 record limit、producer 和消费者能力。
  • 题库 C 使用可配置 Kafka 大消息与自建清洗消费者,避免旧版 Kinesis 单记录限制。
  • 当前 Kinesis Data Streams 已可显式提高到 10 MiB,旧题“一定不能超过 1 MB”已过时;但 A 的 agent 和旧 Analytics 路径仍不能未经核对直接判可用。

每个选项为什么对、为什么错

  • A:题面基于旧版组合,不能仅把新 stream limit 代入就证明 Kinesis Agent、Analytics 和输出全链路均兼容。
  • B:Firehose 的写入/转换请求限制需要逐项核对,不能默认一个 10 MB 记录能直接经过 Lambda 清洗。
  • C(正确):MSK producer、broker 和 consumer 的消息尺寸参数可共同配置,EC2 应用负责字段标准化并写 S3;大消息仍有内存与吞吐代价。
  • D:SQS 的单消息限制不适合直接承载这里最大的记录;claim-check 存 S3 指针是另一种改造,选项没有描述。

放到具体场景里

教学例子:8 MB 事件含地址与时间字段,producer/broker/consumer 均配置兼容上限,再把时间转为 UTC ISO 格式、地址结构化后写 S3。更合理的新设计可先把大对象存 S3 再发送引用,但本题并未给出这种选项;不能凭容量新功能把整条旧链路视为自动升级。

检查对象本例条件或动作结果与边界
记录8 MB(假设)逐组件核对上限
清洗地址与 UTC 时间验证格式与错误处理
历史边界Kinesis 新支持 10 MiB不等于旧组合全链路支持

遇到同类题的判断顺序

  1. 量出记录:区分平均与最大尺寸。
  2. 检查入口:核对 producer、broker 和消费者限制。
  3. 执行清洗:统一地址时间并隔离失败记录。
  4. 验证投递:S3 对象与重试去重通过。
结论:旧容量数字不能当永久规则;选择 C 的依据是题中完整链路,而非宣称其他服务永远不支持大记录。

参考资料

继续练这门考试

同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。