AWS Certified AI Practitioner AIF-C01 Practice Question
An organization needs its chatbot to answer questions by referencing 50,000 internal FAQ documents. The team has a limited budget and wants to avoid expensive model-training jobs. Which customization approach offers the lowest upfront compute cost while still allowing the bot to use those documents for accurate answers?
Use Retrieval Augmented Generation (RAG) with an existing foundation model.
Pre-train a new large language model on the FAQ data.
Apply parameter-efficient fine-tuning (such as LoRA) on the foundation model using the FAQ data.
Fine-tune the entire parameters of an existing foundation model with the FAQ data.
Retrieval Augmented Generation (RAG) lets a solution store document embeddings in a vector database and retrieve the most relevant passages at inference time, then pass them to an existing foundation model in the prompt. Because the model itself is not re-trained, the only additional cost is generating and storing embeddings, which is far lower than pre-training a new model or running any kind of fine-tuning, whether full or parameter-efficient. Pre-training from scratch and full fine-tuning both require large GPU clusters and many training epochs, while parameter-efficient fine-tuning (for example, LoRA) is cheaper than full fine-tuning but still entails running training jobs and storing new model weights. Therefore, RAG provides the smallest upfront compute expense for incorporating the company's documents.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Retrieval Augmented Generation (RAG)?
Open an interactive chat with Bash
What are document embeddings, and why are they important in RAG?
Open an interactive chat with Bash
How does RAG compare to fine-tuning in terms of cost and flexibility?
Open an interactive chat with Bash
What is Retrieval Augmented Generation (RAG)?
Open an interactive chat with Bash
What are document embeddings, and how are they used in RAG?
Open an interactive chat with Bash
Why is RAG preferred over fine-tuning or pre-training for low-budget solutions?
Open an interactive chat with Bash
AWS Certified AI Practitioner AIF-C01
Applications of Foundation Models
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .