DEA-C01 免费试练题 · 考证匠讲解
题目
A retail company has a customer data hub in an Amazon S3 bucket. Employees from many countries use the data hub to support company-wide analytics. A governance team must ensure that the company's data analysts can access data only for customers who are within the same country as the analysts. Which solution will meet these requirements with the LEAST operational effort?
答案
答案 B。所有国家数据在同一湖,分析师可见行取决于 country 字段。
拆题
- 所有国家数据在同一湖,分析师可见行取决于 country 字段。
- LF data filters 可以在受支持查询路径下执行 row-level security。
- IAM、S3 与其他读取路径也要限制,否则下载原文件会绕过行过滤。
每个选项为什么对、为什么错
- A:每国家建表可隔离,但维护多份表和数据管道,国家增减与跨区口径成本高。
- B(正确):LF 注册数据并以 country 条件授权相应身份,直接表达行级需求。
- C:移动 Region 处理地理存储,不自动按用户身份过滤行。
- D:复制进 Redshift 并建视图可实现另一方案,但额外搬运和维护,不是最少运营工作。
放到具体场景里
教学例子:AUAnalyst 角色使用 country=AU 的 data filter,查询 customers 仅返回澳洲客户;SGAnalyst 看到 SG。先在 Athena 验证,再测试 S3 GetObject 是否被旁路开放,最后验证身份组配置没有把两类权限误合并。
| 检查对象 | 本例条件或动作 | 结果与边界 |
|---|---|---|
| 行条件 | country=AU | 限定数据内容 |
| 身份 | AUAnalyst | 绑定数据 filter |
| 旁路 | 直接 S3 访问 | 需同步收紧 |
遇到同类题的判断顺序
- 注册位置:确认湖治理范围。
- 建立 filter:按国家行条件定义。
- 分配身份:各国家角色对应条件。
- 负向验收:越界查询和原文件下载受限。
结论:数据放在哪个 Region 不能替代谁能看哪一行。
参考资料
继续练这门考试
同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。
