AI0-001 AI Security Practice Question
An organization is deploying an LLM-based customer support agent. They want to protect against prompt injection attacks. Which THREE measures should they implement? (Select THREE.)
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
✓
Rate limiting
Input sanitization removes malicious content from user input. Output filtering blocks harmful responses. Rate limiting reduces the ability to conduct automated attacks.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Increasing model temperature
Why it's wrong here
Increasing temperature makes outputs more random, but does not prevent injection.
- ✓
Rate limiting
Why this is correct
Rate limiting restricts the number of attempts, slowing down injection attempts.
- ✗
Disabling system prompts
Why it's wrong here
Disabling system prompts is not practical; they are essential for guiding the model.
- ✓
Input sanitization
Why this is correct
Sanitizing user input removes characters or patterns used in prompt injection.
- ✓
Output filtering
Why this is correct
Filtering outputs can detect and block injected instructions that the model might follow.
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.