AIF-C01 Practice Question 25: Knowledge Base Vector Store
AWS Certified AI Practitioner (AIF-C01) · Test 3 · question 5 of 10
A developer is setting up an Amazon Bedrock knowledge base so a support assistant can retrieve passages from a few thousand PDF manuals. Nobody on the team has run a vector database before, and they would rather not create and tune an index by hand. Where should the document embeddings be stored?
Show answer and explanation
Answer:
A knowledge base needs a vector store: a database that indexes embeddings so it can return the chunks nearest to a query vector. Amazon Bedrock Knowledge Bases supports several (OpenSearch Serverless, OpenSearch managed clusters, Amazon Aurora, Amazon Neptune Analytics, Amazon S3 Vectors, Pinecone, Redis Enterprise Cloud, MongoDB Atlas), and it offers a quick-create flow in which Bedrock creates the vector index and configures the required vector, text and metadata fields for you. For a team with no vector database experience that is the intended path (option B).
- A is wrong because plain S3 objects have no vector index. The application would have to download and compare every embedding on every question, which does not scale and adds latency the knowledge base is meant to remove. - C is wrong because DynamoDB looks up items by key. It has no nearest-neighbour search, so it cannot answer "which chunks are semantically closest to this query". - D is wrong because Redshift is a data warehouse for analytical SQL over structured data. A join returns exact matches on a column, not the most similar vectors.
Reference: Prerequisites for using a vector store you created for a knowledge base