- A
Use a boosting ensemble instead of bagging
Why wrong: Boosting may improve accuracy but still depends on features; it does not resolve the issue of overfitting to specific families.
- B
Collect more malware samples from the same families
Why wrong: More samples from existing families will not help generalize to new variants; overfitting may worsen.
- C
Replace the random forest with a deep neural network
Why wrong: Deep learning may still overfit to specific patterns without proper regularization; it does not address the root cause.
- D
Engineer features that capture generic behavioral patterns
Generic features (e.g., process creation frequency, registry changes) help the model learn behaviors common to malware, improving detection of new variants.
Quick Answer
The correct first step is to engineer features that capture generic behavioral patterns. This directly addresses the root cause of overfitting detection and solutions in machine learning: the model has learned family-specific signatures from the 1,000 malware samples, so it fails to generalize to novel zero-day variants. By shifting from signature-based features to broader behavioral indicators—like API call sequences or network anomalies—the model learns the underlying malicious behaviors rather than memorizing training data. On the CompTIA AI+ AI0-001 exam, this scenario tests your understanding that overfitting is often a feature engineering problem, not a model complexity issue; a common trap is to immediately reach for regularization or more data, but here the core flaw is the feature set itself. Remember the mnemonic “Behave, Don’t Memorize”—when detection drops on new variants, first ask whether your features capture general behaviors, not just training-set fingerprints.
AI0-001 AI Concepts and Foundations Practice Question
This AI0-001 practice question tests your understanding of ai concepts and foundations. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
A cybersecurity firm is developing an AI system to detect zero-day malware using behavior analysis. The team collects a dataset of 1,000 malware samples and 10,000 benign files from corporate endpoints. The model is a random forest classifier. After deployment, the false positive rate is 5%, which is acceptable, but the detection rate for new malware variants drops to 30%. The security analyst suspects the model is overfitting to the specific malware families in the training set. Which improvement should the team implement first?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"first"Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
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
Engineer features that capture generic behavioral patterns
The core issue is that the model has overfitted to the specific malware families in the training set, causing poor generalization to unseen zero-day variants. Engineering features that capture generic behavioral patterns (e.g., API call sequences, file system interactions, network connection anomalies) reduces reliance on family-specific signatures, improving detection of novel malware. This directly addresses the root cause of the 30% detection rate drop without introducing new model complexity or data imbalance issues.
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.
- ✗
Use a boosting ensemble instead of bagging
Why it's wrong here
Boosting may improve accuracy but still depends on features; it does not resolve the issue of overfitting to specific families.
- ✗
Collect more malware samples from the same families
Why it's wrong here
More samples from existing families will not help generalize to new variants; overfitting may worsen.
- ✗
Replace the random forest with a deep neural network
Why it's wrong here
Deep learning may still overfit to specific patterns without proper regularization; it does not address the root cause.
- ✓
Engineer features that capture generic behavioral patterns
Why this is correct
Generic features (e.g., process creation frequency, registry changes) help the model learn behaviors common to malware, improving detection of new variants.
Clue confirmation
The clue word "first" 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
CompTIA often tests the misconception that more complex models (boosting, DNNs) automatically improve performance, when in reality, feature engineering to address the specific failure mode (overfitting to training families) is the most effective first step.
Detailed technical explanation
How to think about this question
Behavioral features such as n-gram sequences of system calls or temporal patterns in registry access are invariant across malware families, unlike static features (e.g., file hashes, byte sequences) that change with each variant. In practice, feature engineering for zero-day detection often involves extracting 'behavioral fingerprints' from sandbox execution logs, which capture actions like process injection or persistence mechanisms that are common across malware types. This approach aligns with the MITRE ATT&CK framework, where tactics and techniques are more stable than specific indicators of compromise.
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 small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
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 Concepts and Foundations — study guide chapter
Learn the concepts, then practise the questions
- →
AI Concepts and Foundations 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 Concepts and Foundations — This question tests AI Concepts and Foundations — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Engineer features that capture generic behavioral patterns — The core issue is that the model has overfitted to the specific malware families in the training set, causing poor generalization to unseen zero-day variants. Engineering features that capture generic behavioral patterns (e.g., API call sequences, file system interactions, network connection anomalies) reduces reliance on family-specific signatures, improving detection of novel malware. This directly addresses the root cause of the 30% detection rate drop without introducing new model complexity or data imbalance issues.
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: "first". Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
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. Refer to the exhibit. A data scientist observes the training output. Which issue is most likely?
medium- A.Underfitting
- B.Data augmentation failure
- ✓ C.Overfitting
- D.Model compression
Why C: The exhibit shows training loss decreasing while validation loss increases after a certain epoch, which is the classic signature of overfitting. The model is memorizing the training data rather than learning generalizable patterns, leading to poor performance on unseen data.
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.