- A
Use batch processing to transform data in fixed intervals
Why wrong: Batch processing introduces latency, unsuitable for real-time streaming.
- B
Store all raw data indefinitely for future analysis
Why wrong: Storing all data indefinitely is costly and may not be needed; data retention policies should be defined.
- C
Use a sliding window for feature computation
Sliding windows allow the model to use the most recent data for accurate anomaly detection.
- D
Implement data validation checks at the ingestion point
Validating data early prevents corrupted data from entering the pipeline.
- E
Retrain the model on a fixed schedule every 24 hours
Why wrong: Daily retraining may not capture rapid changes; adaptive retraining is better.
Quick Answer
The answer is implementing data validation checks at the ingestion point and using a sliding window for real-time feature computation. These two practices are correct because streaming data pipeline practices for anomaly detection demand that incoming data be validated immediately to prevent garbage-in, garbage-out scenarios, while a sliding window ensures the model only processes the most recent, relevant data points, maintaining low latency and adapting to concept drift. On the CompTIA AI+ AI0-001 exam, this question tests your understanding of how to balance data quality with model reliability in continuous streams, a common trap being the mistaken choice of batch processing or static feature sets. Remember the mnemonic "Validate then Slide": first catch bad data at the door, then keep your window moving to stay current.
AI0-001 AI Models and Data Engineering Practice Question
This AI0-001 practice question tests your understanding of ai models and data engineering. 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.
A data engineer is designing a pipeline for a streaming data application that uses a machine learning model to detect anomalies in real time. Which TWO practices should the engineer implement to ensure data quality and model reliability?
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
Use a sliding window for feature computation
Option C is correct because streaming anomaly detection requires real-time feature computation over recent data, and a sliding window ensures that only the most relevant data points are used for model inference, maintaining low latency and adapting to concept drift. This approach avoids the staleness of batch processing and aligns with the continuous nature of streaming pipelines.
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 batch processing to transform data in fixed intervals
Why it's wrong here
Batch processing introduces latency, unsuitable for real-time streaming.
- ✗
Store all raw data indefinitely for future analysis
Why it's wrong here
Storing all data indefinitely is costly and may not be needed; data retention policies should be defined.
- ✓
Use a sliding window for feature computation
Why this is correct
Sliding windows allow the model to use the most recent data for accurate anomaly detection.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Implement data validation checks at the ingestion point
Why this is correct
Validating data early prevents corrupted data from entering the pipeline.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Retrain the model on a fixed schedule every 24 hours
Why it's wrong here
Daily retraining may not capture rapid changes; adaptive retraining is better.
Common exam traps
Common exam trap: answer the scenario, not the keyword
CompTIA often tests the misconception that batch processing or fixed retraining schedules are sufficient for real-time streaming applications, when in fact sliding windows and continuous validation are required to maintain low latency and model accuracy.
Detailed technical explanation
How to think about this question
In streaming anomaly detection, sliding windows (e.g., tumbling or hopping windows) allow the model to compute statistical features like moving averages or z-scores over the most recent N events or time interval, which is critical for detecting transient anomalies. Under the hood, frameworks like Apache Flink or Kafka Streams manage window state in memory or state backends, and the window size directly impacts sensitivity to anomalies—too large a window may smooth out genuine anomalies, while too small a window may cause false positives. A real-world scenario is detecting credit card fraud, where a sliding window of recent transactions (e.g., 5 minutes) is used to flag unusual spending patterns without waiting for batch processing.
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 Models and Data Engineering — study guide chapter
Learn the concepts, then practise the questions
- →
AI Models and Data Engineering 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 Models and Data Engineering — This question tests AI Models and Data Engineering — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Use a sliding window for feature computation — Option C is correct because streaming anomaly detection requires real-time feature computation over recent data, and a sliding window ensures that only the most relevant data points are used for model inference, maintaining low latency and adapting to concept drift. This approach avoids the staleness of batch processing and aligns with the continuous nature of streaming pipelines.
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 →
Keep practising
More AI0-001 practice questions
- A machine learning engineer is building a spam filter. The dataset contains 10,000 emails, of which 1,000 are spam. The…
- Which THREE are common data preprocessing steps in a machine learning pipeline? (Choose 3)
- An e-commerce company uses an AI system to set dynamic prices for products. A customer complains that the price they see…
- An AI system used for autonomous driving is found to have a lower accuracy in detecting pedestrians with darker skin ton…
- In the AI lifecycle, which phase involves splitting data into training, validation, and test sets?
- A startup is building a chatbot for customer service. They have 500 recorded conversations and want to use a pre-trained…
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.