A Bedrock knowledge base must reflect documents that change throughout the day, and the team also needs to tune how many passages are retrieved. What should it set up?
- Exam domain
- Deployment and Orchestration of ML and AI Workflows24% of the exam
- Difficulty
- Medium
- In this mock
- 22 questions on this domainPractise this domain
Why the exam asks this
Objective in the exam guide: Skill 3.2.7: Create and manage Amazon Bedrock knowledge bases with vector database configurations, document indexing, and retrieval optimization.
A knowledge base is a living system: its index must follow the source, and its retrieval must be tuned. Both are ongoing ML engineering duties.
Why C is the answer
Automated data source syncs on a schedule or on change, plus retrieval configuration such as the number of results and reranking
Regular syncs keep the index current, and retrieval settings tune what each query returns.
Remember: Keep a knowledge base current with automated syncs, and tune its retrieval settings.
How it works
A knowledge base answers from its index, which a sync job updates from the data source.
Automating syncs, on a schedule or when files change, keeps answers current.
Retrieval settings, such as the number of results and reranking, are tuned to the use case.
Clues in the question
The words that point to the answer, and what each one tells you.
- Change throughout the day
- Frequent, automated syncs.
- Tune how many passages
- Retrieval configuration.
In detail
- A sync ingests new, changed and deleted documents from the data source.
- Retrieval pipelines are tuned to the business need: precision, recall and latency.
Side by side with look-alikes
| Need | Setting |
|---|---|
| Current answers | Automated syncs |
| Right amount of context | Number of results |
| Best passages first | Reranking |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A new knowledge base for every documentWrongMost tempting
One knowledge base per document defeats search.
Why it tempts: Isolating documents sounds precise. But search then cannot find the right document among many separate stores.
B. A higher model temperatureWrong
Temperature does not change retrieval.
C. Automated data source syncs on a schedule or on change, plus retrieval configuration such as the number of results and rerankingRight
Keep a knowledge base current with automated syncs, and tune its retrieval settings.
D. A manual sync once a quarterWrong
Quarterly syncs leave the index months out of date.
In practice
- Alert on failed syncs.
- Re-check retrieval metrics after every change in settings.
Use case
An illustrative scenario, not a real incident.
An EventBridge schedule syncs the knowledge base hourly, and the team retrieves eight passages, reranked to the best four.
See how it works
flowchart LR S["Schedule or file change"] --> Y["Start sync job"] Y --> I["Index updated"] I --> Q["Queries return current passages"] Y -->|"Failed"| A["Alert"]
How to read this chart
- "Schedule or file change" leads to "Start sync job".
- At "Start sync job": otherwise, go to "Index updated"; if "Failed", go to "Alert".
- "Index updated" leads to "Queries return current passages".