AWS Certified AI Practitioner AIF-C01 Practice Question
Which risk of prompt engineering occurs when attackers insert malicious instructions into a model's context, such as data retrieved by RAG, so future prompts are influenced to produce incorrect or harmful answers?
The described scenario is prompt poisoning. In a prompt-poisoning attack, adversaries inject harmful or misleading instructions into the data a foundation model later consumes (for example, documents indexed for RAG). When the model retrieves this tainted content, the malicious instructions become part of the prompt, leading the model to generate compromised outputs. Prompt hijacking instead refers to an attacker taking over an in-progress conversation, while jailbreaking tries to bypass a model's safety filters. Model drift is an unrelated performance change that happens gradually as data or requirements evolve, not from deliberate malicious instructions.
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 RAG in the context of prompt poisoning?
Open an interactive chat with Bash
How does prompt poisoning differ from prompt hijacking?
Open an interactive chat with Bash
What safeguards can mitigate the risk of prompt poisoning?
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 .