AI0-001 AI Security Practice Question
A company deploys a chatbot that frequently gives outdated information. They want to implement a defense against prompt injection that also ensures responses are based on verified knowledge. Which approach is best?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Output filtering with a curated knowledge base
Output filtering combined with a knowledge base ensures that the chatbot's responses are checked against verified facts, mitigating both prompt injection and hallucination of outdated info.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Input sanitization only
Why it's wrong here
Input sanitization helps prevent injection but does not verify the correctness of outputs.
- ✗
Rate limiting
Why it's wrong here
Rate limiting prevents abuse but does not address outdated or injected information.
- ✗
Robust training on adversarial examples
Why it's wrong here
Robust training improves model robustness but does not guarantee output correctness for dynamic knowledge.
- ✓
Output filtering with a curated knowledge base
Why this is correct
Output filtering checks responses against a trusted knowledge base, ensuring accuracy and preventing injection.
About these practice questions
Courseiva writes every AI0-001 question from scratch — 754 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI0-001 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI0-001 exam.