Detecting Adversarial Inputs in Logs — CompTIA AI+ Explained
This AI0-001 practice question tests your understanding of ai security, ethics and governance. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. 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.
Exhibit
Refer to the exhibit.
```
[ERROR] 2025-04-01 15:12:33 - InferenceEngine-7: Input tensor contains NaN values for feature 'age'. Model 'loan_model_v3' returning error code -1.
[WARN] 2025-04-01 15:12:34 - SecurityFilter: Input flagged as potentially adversarial (score: 0.89). Action: blocked.
[INFO] 2025-04-01 15:12:35 - API Gateway: Request from 192.168.1.10 blocked due to security filter alert.
```
Refer to the exhibit. A system administrator sees these logs from an AI inference pipeline. What is the most likely sequence of events?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "most likely"
Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
Exhibit
Refer to the exhibit.
```
[ERROR] 2025-04-01 15:12:33 - InferenceEngine-7: Input tensor contains NaN values for feature 'age'. Model 'loan_model_v3' returning error code -1.
[WARN] 2025-04-01 15:12:34 - SecurityFilter: Input flagged as potentially adversarial (score: 0.89). Action: blocked.
[INFO] 2025-04-01 15:12:35 - API Gateway: Request from 192.168.1.10 blocked due to security filter alert.
```
A
Data poisoning corrupted the model, causing NaN outputs
Why wrong: The error is at inference, not model corruption.
B
The security filter failed to detect an attack and the model returned an error
Why wrong: The filter detected and blocked the attack.
C
A non-adversarial input caused a NaN error due to missing data
Why wrong: The filter considered it adversarial, overriding the NaN possibility.
D
An adversarial input was blocked by the security filter
The security filter flagged the input as adversarial and blocked it.
The correct answer is that an adversarial input was blocked by the security filter. This is the most likely sequence of events because the logs show a clear trigger of the security filter immediately following the anomalous input, with no evidence of NaN propagation or model failure, indicating the filter performed its intended function of detecting and halting adversarial inputs before they could reach the inference pipeline. On the CompTIA AI+ AI0-001 exam, this scenario tests your ability to distinguish between a successful security control and a system failure, a common trap where test-takers mistake a blocked request for a filter malfunction or data poisoning. Remember the mnemonic “Filter First” — if a security filter logs a block, assume it worked unless logs explicitly show a bypass or crash.
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
✓
An adversarial input was blocked by the security filter
Option D is correct because the logs show the security filter actively blocking an input (e.g., 'Blocked by security filter: input contains adversarial pattern') and then the pipeline continuing normally. This indicates the filter detected and stopped an adversarial input before it reached the model, preventing any error or corruption. The absence of NaN or model errors confirms the filter functioned as designed.
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.
✗
Data poisoning corrupted the model, causing NaN outputs
Why it's wrong here
The error is at inference, not model corruption.
✗
The security filter failed to detect an attack and the model returned an error
Why it's wrong here
The filter detected and blocked the attack.
✗
A non-adversarial input caused a NaN error due to missing data
Why it's wrong here
The filter considered it adversarial, overriding the NaN possibility.
✓
An adversarial input was blocked by the security filter
Why this is correct
The security filter flagged the input as adversarial and blocked it.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Cisco often tests the distinction between a security filter successfully blocking an attack versus the filter failing or the model producing an error, leading candidates to confuse a blocked adversarial input with a model error or data poisoning.
Detailed technical explanation
How to think about this question
Adversarial inputs are crafted perturbations that exploit model vulnerabilities, often detected by statistical anomaly detection or pattern-matching filters (e.g., using L1/L2 norm thresholds or gradient-based saliency maps). In production pipelines, security filters are placed before the model to reject such inputs, logging the event with a unique identifier (e.g., 'adversarial pattern: 0x7f3a') to enable forensic analysis. A real-world scenario is a facial recognition system where a tiny sticker on a stop sign causes misclassification; a robust filter would block the image before inference.
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 — 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: An adversarial input was blocked by the security filter — Option D is correct because the logs show the security filter actively blocking an input (e.g., 'Blocked by security filter: input contains adversarial pattern') and then the pipeline continuing normally. This indicates the filter detected and stopped an adversarial input before it reached the model, preventing any error or corruption. The absence of NaN or model errors confirms the filter functioned as designed.
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.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
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 →
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.
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.