AWS Certified Generative AI – Professional (AIP-C01) — Question 44
A company uses Amazon Bedrock to build a Retrieval Augmented Generation (RAG) system. The RAG system uses an Amazon Bedrock knowledge base that is based on an Amazon S3 bucket as the data source for emergency news video content. The system retrieves transcripts, archived reports, and related documents from the S3 bucket.
The RAG system uses state-of-the-art embedding models and a high-performing retrieval setup. However, users report slow responses and irrelevant results, which cause decreased user satisfaction. The company notices that vector searches are evaluating too many documents across too many content types and over long periods of time.
The company determines that the underlying models will not benefit from additional fine tuning. The company must improve retrieval accuracy by applying smarter constraints. The company wants a solution that requires minimal changes to the existing architecture.
Which solution will meet these requirements?
Answer options
- A. Enhance embeddings by using a domain-adapted model that is specifically trained on emergency news content for improved vector similarity.
- B. Migrate to Amazon OpenSearch Service. Use vector fields and metadata filters to define the scope of results retrieval.
- C. Enable metadata-aware filtering within the Amazon Bedrock knowledge base by indexing S3 object metadata.
- D. Migrate to an Amazon Q Business index to perform structured metadata filtering and document categorization during retrieval.
Correct answer: C
Explanation
The correct answer, C, allows the company to apply metadata-aware filtering, which effectively narrows down the documents being evaluated based on S3 object metadata, thus improving retrieval accuracy. Option A suggests enhancing embeddings, which would require more changes than desired. Option B involves migrating to a different service, which is not necessary, and D suggests a transition to a different index that could complicate the architecture instead of improving it directly.