MLS-C01 免费试练题 · 考证匠讲解
题目
A machine learning specialist stores IoT soil sensor data in Amazon DynamoDB table and stores weather event data as JSON files in Amazon S3. The dataset in DynamoDB is 10 GB in size and the dataset in Amazon S3 is 5 GB in size. The specialist wants to train a model on this data to help predict soil moisture levels as a function of weather events using Amazon SageMaker. Which solution will accomplish the necessary transformation to train the Amazon SageMaker model with the LEAST amount of administrative overhead?
答案
拆题
- DynamoDB 传感器和 S3 天气 JSON 需要按地点与时间关联成训练样本。
- Glue crawler 建元数据,ETL job 做转换与 join,输出算法支持格式。
- S3 不支持简单原地追加对象,DynamoDB Streams 也只包含变化,不等于全量训练基线。
每个选项为什么对、为什么错
- A:EMR Hive 能实现,但对本题 15 GB 的数据量引入额外集群管理,运营开销更大。
- B:先写 Redshift 没必要,训练仍需合适输入,新增数仓复杂度。
- C:Streams 仅记录变化,Lambda 不能按普通文件追加方式修改 S3 天气对象,时间 join 也没解决。
- D(正确):Glue 目录与 ETL 合并后写 S3,直接形成 SageMaker 可用训练输入,最低额外平台需求。
放到具体场景里
教学例子:把 sensor timestamp 和天气 observation time 都转 UTC,按站点与时间窗口关联。保留缺天气标记,避免用未来天气预测过去土壤状态造成泄露;输出 CSV 的标签列与算法要求一致。爬虫能识别字段不代表两表 join 一定正确。
| 检查对象 | 本例条件或动作 | 结果与边界 |
|---|---|---|
| 来源 | DynamoDB + S3 | 读取完整训练基线 |
| 关联 | 站点 + 时间窗口 | 防未来信息泄露 |
| 输出 | S3 CSV | 核对算法格式 |
遇到同类题的判断顺序
- 读取基线:目录与源权限配置。
- 统一时间:UTC 和窗口规则。
- 生成样本:正确 join 与标签。
- 写出校验:行数、缺失率和格式通过。
参考资料
继续练这门考试
同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。
