Courseiva
Event Driven IntegrationhardMultiple ChoiceObjective-mapped

AI-200 Event Driven Integration Practice Question

Your distributed AI system uses Azure Event Hubs with multiple partitions. A downstream machine learning model worker needs to guarantee that all inference requests originating from the same client session are processed by the exact same worker instance and partition in order to maintain conversation context. How should you ensure this?

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

Include a consistent PartitionKey when publishing events to the Event Hub.

When publishing events to Event Hubs, you must supply a PartitionKey (such as the client session ID). Event Hubs hashes this key to route the event to the same partition consistently.

Answer analysis

Option-by-option breakdown

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

  • Set the Event Hub consumer group owner to exclusive mode.

    Why it's wrong here

    Exclusive receiver mode ensures only one reader per partition, but does not guarantee client-to-partition sticky routing during publishing.

  • Enable Event Hubs Capture with automatic partition balancing.

    Why it's wrong here

    Event Hubs Capture archives stream data to storage; it does not control publisher routing.

  • Configure a Service Bus session on the Event Hub consumer group.

    Why it's wrong here

    Service Bus sessions are a Service Bus feature and do not apply to Event Hubs consumer groups.

  • Include a consistent PartitionKey when publishing events to the Event Hub.

    Why this is correct

    Providing a PartitionKey ensures all events with that key are routed to the same partition and processed by the same worker.

About these practice questions

Courseiva writes every AI-200 question from scratch — 503 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 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.