Courseiva
AI Models and Data EngineeringeasyMultiple ChoiceObjective-mapped

AI0-001 AI Models and Data Engineering Practice Question

A company streams sensor data from IoT devices. The data arrives as JSON messages at high velocity. Which data pipeline architecture is BEST suited to handle this streaming data for near-real-time analytics?

⚠ Common exam trap

CompTIA often tests the distinction between batch and stream processing by presenting batch options that seem 'reliable' or 'traditional,' trapping candidates who overlook the explicit 'near-real-time' requirement in the 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

Stream processing using Apache Kafka and Spark Streaming.

Apache Kafka acts as a distributed, fault-tolerant ingestion layer that can handle high-velocity JSON messages, while Spark Streaming processes the data in micro-batches for near-real-time analytics. This combination provides the low-latency, scalable pipeline required for streaming IoT sensor data, unlike batch or single-node approaches.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Batch processing using Hadoop MapReduce every 24 hours.

    Why it's wrong here

    Batch processing introduces high latency, not suitable for near-real-time.

  • Batch processing using nightly ETL jobs.

    Why it's wrong here

    Nightly ETL adds at least 24 hours delay.

  • Single-node database with periodic inserts.

    Why it's wrong here

    Cannot handle high velocity and lacks scalability.

  • Stream processing using Apache Kafka and Spark Streaming.

    Why this is correct

    Kafka ingests streaming data, Spark Streaming processes it with low latency.

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 →

How Courseiva writes practice questions · Editorial policy

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.