DBS-C01 免费试练题 · 考证匠讲解
题目
A database specialist is launching a test graph database using Amazon Neptune for the first time. The database specialist needs to insert millions of rows of test observations from a .csv file that is stored in Amazon S3. The database specialist has been using a series of API calls to upload the data to the Neptune DB instance. Which combination of steps would allow the database specialist to upload the data faster? (Choose three.)
答案
答案 B、E、F。Neptune CSV 的顶点与边有不同格式,header 和标识必须合法。
拆题
- Neptune CSV 的顶点与边有不同格式,header 和标识必须合法。
- Neptune 通过关联 IAM role 读取 S3,不是通过 Cognito 给数据库登录。
- VPC 内有 S3 可达路径后,HTTP POST /loader 启动导入;Neptune 是托管服务,没有可 SSH 进入的实例 shell。
每个选项为什么对、为什么错
- A:Cognito 是用户身份服务,不是 Neptune bulk loader 的 S3 读取授权来源。
- B(正确):vertices 和 edges 分文件并使用正确 header,符合 loader 格式要求。
- C:DMS 不是将任意 S3 CSV 转到 Neptune Loader 的通用方案。
- D:不能登录托管 Neptune 主机再 curl;逐 addVertex/addEdge 也失去 bulk 性能优势。
- E(正确):关联 IAM role 并给予所需 S3 prefix 访问,提供加载器的读取身份。
- F(正确):S3 VPC endpoint 提供私网可达路径,POST loader endpoint 启動批量任务;还要核对 endpoint policy。
放到具体场景里
教学例子:vertices.csv 用 ~id 与 ~label,edges.csv 用 ~id、~from、~to、~label,实际 header 按所选图格式校验。数据库 role 只能读 test-graph/,S3 endpoint policy 也放行该桶。loadId 完成后检查孤立边、重复标识和失败行。
| 检查对象 | 本例条件或动作 | 结果与边界 |
|---|---|---|
| 格式 | 顶点/边独立文件 | header 与引用合法 |
| 身份 | 关联 IAM role | 限制 S3 prefix |
| 网络 | S3 endpoint 与策略 | 真正可达 |
遇到同类题的判断顺序
- 校验格式:检查顶点边与标识引用。
- 赋予身份:数据库 role 能读文件。
- 连通 S3:endpoint 路由与策略通过。
- 批量加载:POST 后核对任务结果。
结论:格式、身份、网络任一项缺失,都可能让大批导入失败。
参考资料
继续练这门考试
同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。
