AWS Certified AI Practitioner AIF-C01 Practice Question
A startup needs to incorporate its private FAQ documents into responses from a foundation model. Budget is tight and the team cannot run any training jobs on GPUs. Which customization approach will result in the lowest upfront cost for the company?
Use Retrieval-Augmented Generation to fetch relevant FAQ content at runtime and pass it in the prompt.
Pre-train a smaller language model from scratch on the FAQ corpus.
Fully fine-tune the existing foundation model on the FAQ data.
Apply parameter-efficient fine-tuning (such as LoRA adapters) to the foundation model.
Retrieval-Augmented Generation (RAG) keeps the foundation model frozen and augments each prompt with relevant passages retrieved from an external knowledge base or vector index. Because no model parameters are updated, there is no need to allocate GPU time for training, making the upfront cost very low.
Pre-training a model from scratch is the most expensive option because it requires large datasets, lengthy compute time, and extensive engineering effort. Fully fine-tuning the base model is also costly due to the need for GPU resources and storage of a new model copy. Parameter-efficient fine-tuning (for example, using adapters or LoRA) reduces the amount of trainable parameters but still involves a training phase, so it incurs more upfront cost than a RAG workflow.
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
How does RAG compare to fine-tuning a model?
Open an interactive chat with Bash
What is LoRA and parameter-efficient fine-tuning?
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 .