AWS Certified AI Practitioner AIF-C01 Practice Question
A bank is piloting a large language model to answer employee questions about internal policies. The project lead is concerned about hallucinations, where the model invents facts. Which action is most likely to reduce this risk before production deployment?
Attach a retrieval step that feeds the model only the relevant policy documents for each user question.
Place the existing model behind an API gateway that requires user authentication.
Increase the model's temperature parameter to make outputs more varied.
Fine-tune the model using synthetic questions and answers it created itself.
Hallucinations occur when a generative model produces confident but unfounded statements. Supplying the model with policy passages retrieved from a vector store (a retrieval-augmented generation workflow) grounds each answer in verified source text, lowering the chance of fabricated content. Raising temperature increases randomness, synthetic self-generated data can propagate errors, and an API gateway only controls access-it does not influence the model's factual accuracy.
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 causes hallucinations in large language models?
Open an interactive chat with Bash
What is a vector store and how is it used in retrieval-augmented generation?
Open an interactive chat with Bash
How does the temperature parameter affect a model's outputs?
Open an interactive chat with Bash
AWS Certified AI Practitioner AIF-C01
Fundamentals of Generative AI
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 .