AI0-001 AI Models and Data Engineering Practice Question
A healthcare company is developing a predictive model to identify patients at risk of readmission within 30 days. The data engineering team has built a pipeline that collects data from multiple sources, including electronic health records (EHR), lab results, and wearable device data. During initial testing, the model's performance is poor, with high false positives. Upon investigation, the team discovers that the data contains significant temporal misalignment: lab results are timestamped when ordered, not when collected; wearable data is aggregated hourly; and EHR data has inconsistent update frequencies. The data pipeline currently joins all features on the patient ID without aligning timestamps. The data volume is large, and processing time is a concern. Which action should the data engineering team take to most effectively address the issue and improve model performance?
⚠ Common exam trap
AI0-001 often tests data preprocessing pitfalls; candidates might choose threshold adjustment or imputation as quick fixes, but the core issue is temporal alignment, which requires a systematic approach like windowing.
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
✓
Implement a window-based feature aggregation (e.g., 6-hour windows) and align all features to the same time windows before joining.
Temporal misalignment causes features to be joined at incorrect times, leading to data leakage or irrelevant features that degrade model performance. Implementing window-based aggregation aligns all features to consistent time windows (e.g., 6-hour) before joining, ensuring that features reflect the patient's state at the same point in time. This addresses the root cause and improves model accuracy.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Discard all records where timestamps do not match exactly across sources, and only use records with perfect alignment.
Why it's wrong here
Exact timestamp matching discards nearly all records, since lab, wearable and EHR sources update at different cadences, leaving too little data and biasing the sample. It is tempting because it guarantees alignment, and would suit sources genuinely sampled on a shared clock.
- ✓
Implement a window-based feature aggregation (e.g., 6-hour windows) and align all features to the same time windows before joining.
Why this is correct
Window-based aggregation aligns lab, wearable and EHR features onto shared 6-hour timestamps, removing the temporal misalignment that causes spurious correlations and false positives. It satisfies the processing-time constraint by aggregating incrementally rather than joining raw event-level records.
- ✗
Leave the pipeline unchanged and instead adjust the model's classification threshold to reduce false positives.
Why it's wrong here
Threshold tuning only shifts the decision boundary on already-misaligned features, so the underlying leakage and incorrect temporal associations persist. It is tempting because it is cheap and directly targets false positives, and would suit a well-aligned dataset with a poorly calibrated operating point.
- ✗
Use a data imputation algorithm to fill in missing timestamps and then join on the nearest timestamp.
Why it's wrong here
Imputing timestamps fabricates temporal relationships that were never recorded, and nearest-timestamp joins still pair clinically unrelated events. It is tempting because it preserves record volume cheaply, and would suit sparse but genuinely aligned data with random gaps.
About these practice questions
One of 962 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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official CompTIA exam blueprint
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.