AIF-C01 Fundamentals of Generative AI Practice Question
A startup is building a customer support chatbot using Amazon Bedrock with the Claude foundation model. The chatbot needs to answer questions based on a knowledge base of frequently asked questions (FAQs) stored in an Amazon S3 bucket. The team wants to implement Retrieval Augmented Generation (RAG) to provide accurate and context-aware responses. They are evaluating different approaches to integrate the knowledge base. What is the most efficient way to implement RAG with Bedrock?
⚠ Common exam trap
AIF-C01 often tests the misconception that fine-tuning is the way to inject factual knowledge into a model, when in fact RAG (via Bedrock Knowledge Bases) is the correct pattern for dynamic, grounded question answering.
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
✓
Use Amazon Bedrock Knowledge Bases to directly connect the S3 bucket and retrieve relevant documents for the prompt.
Amazon Bedrock Knowledge Bases is a fully managed RAG capability that natively connects to Amazon S3 (and other data sources), automatically chunks and embeds documents into a vector store, and retrieves the most relevant passages at query time to augment the prompt. This eliminates the need to build custom retrieval pipelines, manage embeddings, or manually inject documents. It is the most efficient, purpose-built approach for RAG on Bedrock.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use AWS Lambda to fetch documents from S3 and inject them into the prompt.
Why it's wrong here
Lambda fetching whole documents and injecting them skips embedding and similarity search, so irrelevant text floods the prompt. It suits simple deterministic lookups; a Bedrock knowledge base performs chunking, vector storage and semantic retrieval for RAG.
- ✗
Manually extract all FAQs and include them in the prompt each time the chatbot responds.
Why it's wrong here
Pasting every FAQ into each prompt consumes the context window, scales poorly and cannot retrieve by relevance. It suits tiny, static prompt sets; RAG instead embeds the S3 corpus and retrieves only the top matching passages per query.
- ✗
Fine-tune the Claude model on the FAQs so the model memorizes the knowledge base.
Why it's wrong here
Fine-tuning bakes FAQ content into model weights, so updates require retraining and retrieval over S3 is bypassed entirely. It suits adapting tone or domain style; RAG instead retrieves current documents at inference time via a Bedrock knowledge base.
- ✓
Use Amazon Bedrock Knowledge Bases to directly connect the S3 bucket and retrieve relevant documents for the prompt.
Why this is correct
Bedrock Knowledge Bases handles the full RAG pipeline natively: it ingests the S3 bucket, chunks and embeds documents, stores vectors, and retrieves relevant passages into the prompt. This removes the need to build custom chunking, embedding, and vector-store orchestration, making it the most efficient route.
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
Courseiva writes every AIF-C01 question from scratch — 862 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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint
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.