MLS-C01 免费试练题 · 考证匠讲解
题目
A retail company wants to combine its customer orders with the product description data from its product catalog. The structure and format of the records in each dataset is different. A data analyst tried to use a spreadsheet to combine the datasets, but the effort resulted in duplicate records and records that were not properly combined. The company needs a solution that it can use to combine similar records from the two datasets and remove any duplicates. Which solution will meet these requirements?
答案
答案 C。两份数据格式不同,同一实体可能字符串不相等。
拆题
- 两份数据格式不同,同一实体可能字符串不相等。
- Glue FindMatches 用标注样例学习记录相似关系,而 crawler 只发现 schema。
- 去重与 join 不能混为一谈,匹配候选后还要业务键与冲突合并规则。
每个选项为什么对、为什么错
- A:精确字符串比较无法识别拼写、缩写与格式变化,自建数组对比还可能规模低效。
- B:SearchTables 搜索元数据目录,不是对数据行做实体模糊匹配。
- C(正确):crawler 建目录,FindMatches 做实体匹配,是各司其职的托管路径。
- D:Lake Formation 管授权治理,没有题述开箱即用自定义产品匹配功能。
放到具体场景里
教学例子:目录有 JR Wireless Mouse,订单写 JR wireless mouse black,人工样例标注是否同 SKU。FindMatches 产生 match group 后,用 SKU、颜色和供应商校验,不能把不同颜色全部合并;保留原行与合并出处便于审计。
| 检查对象 | 本例条件或动作 | 结果与边界 |
|---|---|---|
| 目录 | crawler schema | 不自动匹配行 |
| 学习 | 标注同/不同实体 | 影响精确率 |
| 合并 | 业务冲突规则 | 保留出处 |
遇到同类题的判断顺序
- 发现结构:爬取两份数据。
- 标注样例:定义何为同一产品。
- 运行匹配:生成候选组。
- 校验合并:防止错误合并并留原记录。
结论:相似名字不必然同一商品,匹配需要业务验证。
参考资料
继续练这门考试
同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。
