AIP-C01 练习题

AIP-C01 题目讲解:S3 文件更新之后还要同步索引

AIP-C01 练习题讲解。答案 B。RAG 检索向量索引,不会因为源 S3 对象改了就自动立即重建全部向量。

AIP-C01 免费试练题 · 考证匠讲解

题目

An internal Q&A bot uses Amazon Bedrock Knowledge Bases. The source data in Amazon S3 changes daily. Users complain that the bot provides outdated answers referring to old policy documents that were updated in S3 yesterday. The developer has verified the S3 files are current. What step is missing in the operational workflow?

A. The application must clear the client-side browser cache.
B. The developer must manually start a data ingestion sync job (SyncDataSource) to update the vector index.
C. The Bedrock model must be fine-tuned daily on the new data.
D. The S3 bucket versioning must be disabled to allow Bedrock to see the new files.

答案

答案 B。RAG 检索向量索引,不会因为源 S3 对象改了就自动立即重建全部向量。

拆题

  • RAG 检索向量索引,不会因为源 S3 对象改了就自动立即重建全部向量。
  • ingestion job 读取变更、切块、embedding 并更新索引,需要纳入更新流程。
  • 原选项写 SyncDataSource 不是 Bedrock Agents 官方启动 API 名称;对应动作通常是 StartIngestionJob,不能照抄假 API。

每个选项为什么对、为什么错

  • A:清浏览器缓存不更新服务端 vector index。
  • B(正确):启动 data source sync/ingestion job 并确认完成是缺失步骤,正确官方 API 应按当前文档使用 StartIngestionJob。
  • C:每天微调不解决检索索引陈旧,工作方向错误。
  • D:关闭 S3 versioning 不会自动触发 ingestion,还损失版本追查能力。

放到具体场景里

教学例子:HR policy v3 上传后,调度 StartIngestionJob,记录 jobId 与源版本。等待 COMPLETE 且检查失败文档数,再检索新条款并核对 citation。若模型仍旧,分别查索引、retrieval cache 与答案缓存,不能把“sync accepted”当同步完成。

检查对象本例条件或动作结果与边界
源policy v3 in S3已经更新
索引ingestion job状态与失败数
答案新条款 citation最终读回验证

遇到同类题的判断顺序

  1. 检测变更:记录源版本。
  2. 启动 ingestion:调用正式启动接口。
  3. 确认完成:检查任务状态和错误。
  4. 检索验收:新条款与来源能读回。
结论:数据源、向量索引和答案缓存是不同层,必须定位陈旧在哪层。

参考资料

继续练这门考试

同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。