Courseiva
Develop data processingeasyMultiple ChoiceObjective-mapped

DP-203 Develop data processing Practice Question

You need to process streaming data from Azure Event Hubs and store the results in Azure Cosmos DB for a real-time dashboard. The solution must handle duplicate events and ensure exactly-once processing. Which Azure service should you use?

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

Azure Stream Analytics

(Azure Stream Analytics) is correct because it provides exactly-once processing when configured with Event Hubs and Cosmos DB output. Option A (Azure Data Factory) is batch-oriented. Option B (Azure Functions) may have at-least-once guarantees. Option D (Azure Databricks) can achieve exactly-once but requires more configuration.

Answer analysis

Option-by-option breakdown

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

  • Azure Data Factory

    Why it's wrong here

    Not designed for streaming.

  • Azure Functions with Event Hubs trigger

    Why it's wrong here

    Typically at-least-once.

  • Azure Stream Analytics

    Why this is correct

    Supports exactly-once semantics with Event Hubs.

  • Azure Databricks Structured Streaming

    Why it's wrong here

    While Databricks Structured Streaming provides exactly-once semantics through checkpointing and write-ahead logs, it requires manual implementation of idempotent logic to handle duplicates when writing to Cosmos DB. It is tempting because Spark's micro-batch architecture excels at complex transformations on high-volume streams; however, Azure Stream Analytics manages stateful de-duplication natively via built-in functions, satisfying the specific requirement for exactly-once processing without additional custom code.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

Go deeper

Related to this question

About these practice questions

Courseiva writes every DP-203 question from scratch — 760 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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 DP-203 practice question is part of Courseiva's free Microsoft 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 DP-203 exam.