Courseiva
AI SecurityhardMultiple SelectObjective-mapped

AI0-001 AI Security Practice Question

A security engineer is hardening an LLM application against indirect prompt injection attacks. Which TWO controls are MOST effective? (Select two.)

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

Input validation and sanitization can filter malicious content in retrieved data, and output filtering can prevent the model from executing injected instructions. Both are key defenses.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Output filtering

    Why this is correct

    Filtering outputs can block actions that arise from injected instructions.

  • Input validation and sanitization

    Why this is correct

    Sanitizing retrieved data removes injected instructions.

  • Rate limiting

    Why it's wrong here

    Rate limiting reduces attack volume but does not prevent injection.

  • Differential privacy

    Why it's wrong here

    Differential privacy does not address injection.

  • Federated learning

    Why it's wrong here

    Federated learning is a training paradigm, not a runtime defense.

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 →

How Courseiva writes practice questions · Editorial policy

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.