AWS Certified AI Practitioner AIF-C01 Practice Question
Within Amazon Bedrock, which statement best describes how Retrieval Augmented Generation (RAG) works when building a knowledge-base chatbot?
The application retrains all model parameters on company documents before every inference request to guarantee domain knowledge.
The application retrieves relevant text fragments from a vector store, adds them to the user's prompt, and sends the expanded prompt to a foundation model for response generation.
After the model answers, the response is saved to Amazon S3 and later indexed by Amazon OpenSearch Service for future searches.
The application only adjusts temperature and top-p settings to influence creativity, without consulting any external data sources.
RAG first gathers context that a model was not originally trained on. The application searches a vector database (for example, Amazon OpenSearch Service storing embeddings) to retrieve passages that match the user's query, appends those passages to the user prompt, and then submits the augmented prompt to the foundation model. This lets the model ground its answer in up-to-date, domain-specific data without the cost of full fine-tuning. Fully retraining a model, simply storing generated text, or only adjusting sampling parameters do not involve the retrieval-and-augmentation step, so those options are incorrect.
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 a vector store in the context of RAG?
Open an interactive chat with Bash
Why is Retrieval Augmented Generation (RAG) better than fully retraining a model?
Open an interactive chat with Bash
How do embeddings work in a vector database?
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 .