AI0-001 AI Models and Data Engineering Practice Question
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?
⚠ Common exam trap
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.
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
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.
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.
- ✓
Implement data validation checks at the ingestion point
Why this is correct
Validating data early prevents corrupted data from entering the pipeline.
- ✗
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.
About these practice questions
One of 754 original AI0-001 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.