- A
Encrypting the model weights
Why wrong: Encryption protects the model at rest, not during inference.
- B
Continuous model monitoring
Why wrong: Monitoring detects attacks but does not prevent them.
- C
Input sanitization and validation
Sanitization removes or normalizes inputs that may contain adversarial perturbations.
- D
Adversarial training
Adversarial training improves model robustness by exposing it to adversarial examples.
- E
Rate limiting API access
Why wrong: Rate limiting reduces abuse but does not defend against crafted inputs.
Quick Answer
The correct answer is adversarial training and input sanitization and validation. Adversarial training strengthens the model itself by exposing it to perturbed examples during the training phase, forcing the decision boundary to become more robust against evasion attacks. Input sanitization and validation, on the other hand, acts as a defensive filter at the application layer, stripping or rejecting malicious payloads—such as crafted perturbations or injection strings—before they ever reach the inference pipeline. On the CompTIA AI+ AI0-001 exam, this pairing tests your understanding of defense-in-depth: one technique hardens the model internally, while the other secures the data entry point. A common trap is to choose only one defensive measure, but the exam expects both a proactive (training) and a reactive (sanitization) layer. Memory tip: think “Train tough, filter first”—adversarial training builds toughness inside the model, while input sanitization guards the front door.
AI0-001 AI Security, Ethics and Governance Practice Question
This AI0-001 practice question tests your understanding of ai security, ethics and governance. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Which TWO practices are most effective for ensuring the security of an AI model against adversarial attacks?
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
Input sanitization and validation
Input sanitization and validation (C) is correct because it prevents adversarial inputs—such as specially crafted perturbations or injection strings—from reaching the model's inference pipeline. By filtering, encoding, or rejecting malicious data at the application layer, the model's decision boundary is protected from manipulation. This is a fundamental defense-in-depth measure against evasion and poisoning attacks.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Encrypting the model weights
Why it's wrong here
Encryption protects the model at rest, not during inference.
- ✗
Continuous model monitoring
Why it's wrong here
Monitoring detects attacks but does not prevent them.
- ✓
Input sanitization and validation
Why this is correct
Sanitization removes or normalizes inputs that may contain adversarial perturbations.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Adversarial training
Why this is correct
Adversarial training improves model robustness by exposing it to adversarial examples.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Rate limiting API access
Why it's wrong here
Rate limiting reduces abuse but does not defend against crafted inputs.
Common exam traps
Common exam trap: answer the scenario, not the keyword
CompTIA often tests the distinction between reactive monitoring (B) and proactive defenses (C and D), and candidates mistakenly choose rate limiting (E) thinking it blocks all attacks, but it only throttles frequency, not content.
Detailed technical explanation
How to think about this question
Adversarial training (D) works by augmenting the training dataset with perturbed examples (e.g., using FGSM or PGD) so the model learns robust decision boundaries. Input sanitization (C) complements this by applying techniques like feature squeezing (e.g., reducing bit depth, smoothing) or using a separate detector (e.g., Local Intrinsic Dimensionality) to filter out anomalous inputs before inference. In production, a common real-world scenario is an image classifier receiving a slightly altered stop sign that the model misclassifies as a speed limit sign—sanitization can detect the perturbation, while adversarial training makes the model inherently more resistant.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A practitioner preparing for the AI0-001 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
AI Security, Ethics and Governance — study guide chapter
Learn the concepts, then practise the questions
- →
AI Security, Ethics and Governance practice questions
Targeted practice on this topic area only
- →
All AI0-001 questions
500 questions across all exam domains
- →
CompTIA AI+ AI0-001 study guide
Full concept coverage aligned to exam objectives
- →
AI0-001 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AI0-001 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
AI Concepts and Foundations practice questions
Practise AI0-001 questions linked to AI Concepts and Foundations.
Machine Learning and Deep Learning practice questions
Practise AI0-001 questions linked to Machine Learning and Deep Learning.
AI Models and Data Engineering practice questions
Practise AI0-001 questions linked to AI Models and Data Engineering.
AI Implementation and Operations practice questions
Practise AI0-001 questions linked to AI Implementation and Operations.
AI Security, Ethics and Governance practice questions
Practise AI0-001 questions linked to AI Security, Ethics and Governance.
CompTIA A+ hardware practice questions
Practise AI0-001 questions linked to CompTIA A+ hardware.
CompTIA A+ mobile devices practice questions
Practise AI0-001 questions linked to CompTIA A+ mobile devices.
CompTIA A+ networking practice questions
Practise AI0-001 questions linked to CompTIA A+ networking.
CompTIA A+ operating systems practice questions
Practise AI0-001 questions linked to CompTIA A+ operating systems.
CompTIA A+ security practice questions
Practise AI0-001 questions linked to CompTIA A+ security.
CompTIA A+ software troubleshooting questions
Practise AI0-001 questions linked to CompTIA A+ software troubleshooting questions.
CompTIA A+ operational procedures questions
Practise AI0-001 questions linked to CompTIA A+ operational procedures questions.
Practice this exam
Start a free AI0-001 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AI0-001 question test?
AI Security, Ethics and Governance — This question tests AI Security, Ethics and Governance — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Input sanitization and validation — Input sanitization and validation (C) is correct because it prevents adversarial inputs—such as specially crafted perturbations or injection strings—from reaching the model's inference pipeline. By filtering, encoding, or rejecting malicious data at the application layer, the model's decision boundary is protected from manipulation. This is a fundamental defense-in-depth measure against evasion and poisoning attacks.
What should I do if I get this AI0-001 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more ways this is tested on AI0-001
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A national security agency uses AI to analyze surveillance data for threat detection. The system is deployed in a high-stakes environment where false negatives could lead to missed threats, and false positives waste analyst time. Recently, a known hacker group attempted to evade detection by subtly modifying their communication patterns over time, a form of adversarial evasion. The agency wants to harden the system while maintaining performance. The system uses a deep neural network. Which mitigation strategy is most appropriate?
hard- A.Switch to an unsupervised learning approach to detect anomalies
- B.Simplify the model to a logistic regression to reduce the attack surface
- ✓ C.Perform adversarial training using the hacker group's known evasion patterns
- D.Add random noise to all input data to confuse evasion attempts
Why C: Option C is correct because adversarial training exposes the model to known evasion patterns during training, improving robustness without changing the model type. Option A is wrong because reducing model complexity may decrease accuracy. Option B is wrong because unsupervised learning may not capture the specific adversarial patterns. Option D is wrong because random input perturbations do not represent realistic evasion.
Last reviewed: Jun 30, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.