AIF-C01 Applications of Foundation Models Practice Question
A company is building a customer support chatbot using Amazon Bedrock. They need to store conversation history for context across sessions. Which AWS service is best suited for this purpose?
⚠ Common exam trap
It's easy for candidates to confuse durability with performance, picking Amazon S3 for its low cost or Amazon ElastiCache for its speed, without recognizing that DynamoDB uniquely combines low latency, persistence, and flexible schema for session state management.
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
✓
Amazon DynamoDB
Amazon DynamoDB is the best choice for storing conversation history because it is a fully managed NoSQL key-value and document database that provides single-digit millisecond latency at any scale. It supports flexible schema, which is ideal for storing variable-length chat sessions, and its Time to Live (TTL) feature can automatically expire old conversations to manage storage costs. DynamoDB also integrates natively with AWS Lambda and Amazon Bedrock for real-time retrieval and update of context across sessions.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Amazon S3
Why it's wrong here
S3 is object storage for files, not optimized for rapid read/write of session data.
- ✓
Amazon DynamoDB
Why this is correct
DynamoDB provides fast, scalable storage for session state and conversation history.
- ✗
Amazon RDS
Why it's wrong here
RDS is relational, but overkill and slower for simple session storage.
- ✗
Amazon ElastiCache
Why it's wrong here
ElastiCache is an in-memory cache, but DynamoDB is more durable and commonly used for sessions.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This AIF-C01 question is part of Courseiva's 619-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 AIF-C01 practice question is part of Courseiva's free Amazon Web Services 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 AIF-C01 exam.