DEA-C01 免费试练题 · 考证匠讲解
题目
A data engineer is configuring an AWS Glue job to read data from an Amazon S3 bucket. The data engineer has set up the necessary AWS Glue connection details and an associated IAM role. However, when the data engineer attempts to run the AWS Glue job, the data engineer receives an error message that indicates that there are problems with the Amazon S3 VPC gateway endpoint. The data engineer must resolve the error and connect the AWS Glue job to the S3 bucket. Which solution will meet this requirement?
答案
拆题
- 题目已经提示 gateway endpoint 问题,应检查 Glue job 所在子网关联的 route table。
- S3 gateway endpoint 使用 S3 prefix list 路由,不像 interface endpoint 那样拥有入站安全组。
- 原 D 所称 inbound/outbound routes 不够准确:route table 主要按目的地址选出站路径,返回流量不是另加一条“入站路由”。
每个选项为什么对、为什么错
- A:Gateway endpoint 不提供可添加 inbound SG 的网络接口;安全组应核对出站 S3 与 job 自引用等实际需求。
- B:桶策略涉及授权,必要但不能修复缺失到 gateway endpoint 的路由。
- C:连接 FQDN 无法自动修复 endpoint 路由关联。
- D(正确):方向是核对 route table 与 S3 prefix list endpoint route,最接近报错原因;不要照抄“入站路由”术语。
放到具体场景里
教学例子:Glue 用 subnet-private-b,但 endpoint 只关联 private-a 的 route table。把正确表关联到 S3 gateway endpoint 后,S3 prefix list 指向 vpce;再测试 IAM、endpoint policy 与 bucket policy。网络修复之后 AccessDenied 仍可能来自授权,不能视为同一个问题。
| 检查对象 | 本例条件或动作 | 结果与边界 |
|---|---|---|
| 子网 | job 实际所在 subnet | 别检查错 route table |
| 路由 | S3 prefix list → vpce | gateway 路径 |
| 授权 | IAM + endpoint + bucket | 独立验证 |
遇到同类题的判断顺序
- 定位子网:读取 job connection 配置。
- 查路由表:确认 endpoint association。
- 检查授权:策略允许所需桶与动作。
- 运行小任务:区分超时与 AccessDenied。
参考资料
继续练这门考试
同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。
