AIF-C01 Applications of Foundation Models MEDIUM
PRODUCTION SCENARIO
A benefits assistant uses an Amazon Bedrock knowledge base that holds this year's policy and last year's policy. Both documents are similar to employee questions about enrollment dates, and the assistant sometimes answers with last year's dates. The company needs the assistant to answer from the policy that is currently in effect.

Which solution will meet these requirements?

Answering here is anonymous. Nothing is saved unless you sign in.

Show answer and explanation

Answer: Add an effective-date attribute to each file and filter retrieval on it.

An effective-date attribute on each file lets the knowledge base filter retrieval to the policy in force, so the superseded document is never returned as evidence. A reranker reorders chunks by relevance to the question, and both policies are relevant. Hybrid search changes how text is matched, not which version applies. Re-syncing reindexes both documents and leaves the assistant choosing between them.
Free

Keep practicing AIF-C01

65 original AIF-C01 practice questions, each with an explanation and a source link. No account needed.

Start free practice set → Timed, explained, free