Courseiva
Event Driven IntegrationhardMultiple ChoiceObjective-mapped

AI-200 Event Driven Integration Practice Question

You are designing an IoT data ingestion architecture using Azure Event Hubs. Devices occasionally send malformed JSON payloads that cause stream processing jobs to crash. You need to route these invalid messages to a separate error container without stopping the main ingestion stream. What should you implement?

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 Azure Stream Analytics with an error output data stream configured for malformed events.

Event Hubs does not have a native bad-record-routing queue per se, but stream processing engines like Azure Stream Analytics or custom consumers can implement try-catch error handling patterns and output invalid records to an error sink.

Answer analysis

Option-by-option breakdown

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

  • Enable Event Hubs Capture with the JSON validation flag set to strict.

    Why it's wrong here

    Event Hubs Capture archives all raw bytes without validating or parsing JSON syntax.

  • Set up an Event Grid system topic filter for 'MalformedEvent'.

    Why it's wrong here

    Producers send raw streams to Event Hubs; Event Grid is not parsing the payload contents in real-time stream ingestion.

  • Configure the Service Bus dead-letter queue on the Event Hub producer client.

    Why it's wrong here

    Event Hubs does not have native dead-letter queues like Service Bus.

  • Use Azure Stream Analytics with an error output data stream configured for malformed events.

    Why this is correct

    Azure Stream Analytics supports error handling configurations on data outputs, allowing streaming errors to be redirected to a separate blob storage sink.

About these practice questions

One of 507 original AI-200 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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Microsoft exam blueprint

This AI-200 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 AI-200 exam.