Question 395 of 500
AI Models and Data EngineeringhardMultiple SelectObjective-mapped

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?

Question 1hardmulti select
Full question →

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.

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.

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 →

How Courseiva writes practice questions · Editorial policy

Keep practising

More AI0-001 practice questions

Last reviewed: Jun 30, 2026

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.

Loading comments…

Sign in to join the discussion.

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.