AIF-C01 Applications of Foundation Models Practice Question
A developer is using Amazon Bedrock to build a chatbot that answers customer queries. The chatbot must only respond based on the provided company documentation. Which approach best meets this requirement?
⚠ Common exam trap
The AIF-C01 exam often tests the distinction between prompt engineering and RAG, where candidates mistakenly believe a well-crafted prompt can fully control model behavior without a retrieval mechanism, overlooking the fact that foundation models inherently generate responses from their training data unless explicitly grounded via external knowledge retrieval.
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 a RAG architecture with the company documentation as the knowledge base.
Retrieval-Augmented Generation (RAG) architecture retrieves relevant chunks from the company documentation at query time and injects them into the prompt, ensuring the model's response is grounded solely in the provided documents. This approach prevents the model from relying on its internal training data or generating information outside the documentation, which is critical for a closed-domain chatbot.
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 prompt engineering to instruct the model to only use documentation.
Why it's wrong here
Prompt instructions are not sufficient to guarantee adherence.
- ✓
Use a RAG architecture with the company documentation as the knowledge base.
Why this is correct
RAG ensures responses are based on retrieved documents.
- ✗
Fine-tune a foundation model on the company documentation.
Why it's wrong here
Fine-tuning may cause the model to internalize information but can still hallucinate.
- ✗
Use a text classification model to filter responses.
Why it's wrong here
Classification does not generate responses; it only categorizes them.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AIF-C01 question from scratch — 619 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 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.