AI0-001 AI Infrastructure and Technologies Practice Question
A team is building a retrieval-augmented generation (RAG) pipeline. They need to store embeddings of company documents and perform fast similarity searches. Which data store is BEST suited for this task?
⚠ Common exam trap
It's easy for candidates to confuse general-purpose storage (like S3 or Snowflake) with specialized vector databases, assuming any database can handle embeddings efficiently, but CompTIA AI tests the understanding that only purpose-built vector stores provide the required ANN search performance for RAG.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Pinecone
Pinecone is a purpose-built vector database designed for storing and querying high-dimensional embeddings with fast approximate nearest neighbor (ANN) search. In a RAG pipeline, embeddings of company documents must be retrieved quickly to feed relevant context to the LLM, and Pinecone’s optimized indexing (e.g., HNSW or IVF) and serverless scaling make it the ideal choice for this task.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Snowflake
Why it's wrong here
Snowflake is a columnar analytics warehouse; it lacks native vector indexing and approximate nearest-neighbour search, so similarity queries run as full scans. It tempts because it already stores the source documents and structured data, and would be right for analytical aggregation over embeddings rather than retrieval.
- ✓
Pinecone
Why this is correct
Pinecone is a purpose-built vector database supporting approximate nearest-neighbour indexes over high-dimensional embeddings, delivering the fast similarity search the RAG pipeline requires. Relational stores lack native vector indexing, so they cannot meet the low-latency retrieval constraint for document embeddings.
- ✗
Apache Kafka
Why it's wrong here
Apache Kafka is a distributed event-streaming log, not a queryable store; it cannot perform nearest-neighbour lookups over stored embeddings. It tempts because it handles high-throughput ingestion, and would be correct for streaming document updates into the vector store rather than serving retrieval queries.
- ✗
Amazon S3
Why it's wrong here
Amazon S3 is object storage without a query engine, so similarity search requires downloading and scanning every embedding. It tempts because it cheaply holds the source documents and embedding files, and would be correct as the durable backing store feeding a dedicated vector index.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
About these practice questions
Courseiva writes every AI0-001 question from scratch — 962 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI0-001 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI0-001 exam.