AI0-001 AI Models and Data Engineering Practice Question
A real-time recommendation system requires low latency. Which data storage strategy is best for serving user profiles and item embeddings?
⚠ Common exam trap
CompTIA often tests the misconception that any database with 'fast' in its name (like InfluxDB) is suitable for real-time serving, but the trap is that time-series databases prioritize write throughput and range queries over low-latency point lookups, which is the actual requirement here.
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
✓
In-memory key-value store (e.g., Redis)
An in-memory key-value store like Redis is ideal for serving user profiles and item embeddings in a real-time recommendation system because it provides sub-millisecond read/write latency by keeping data in RAM. This directly meets the low-latency requirement for fetching embeddings and profiles on each request, without the overhead of disk I/O or complex query processing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Time-series database (e.g., InfluxDB)
Why it's wrong here
Time-series databases are optimized for timestamped data, not low-latency key lookups.
- ✓
In-memory key-value store (e.g., Redis)
Why this is correct
In-memory key-value stores offer sub-millisecond reads, suitable for real-time serving.
- ✗
Relational database with joins
Why it's wrong here
Joins in relational databases add latency that may be too high for real-time systems.
- ✗
Data lake in object storage (e.g., Amazon S3)
Why it's wrong here
Object storage has higher latency and is optimized for batch rather than real-time access.
About these practice questions
This AI0-001 question is part of Courseiva's 754-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.