AI-200 Event Driven Integration Practice Question
You are integrating Azure Event Hubs with Apache Spark on Azure Databricks for real-time AI model scoring. You need to configure the Spark connector to read from all partitions of the Event Hub efficiently without missing records or creating duplicate processing bottlenecks. Which consumer property is critical to configure correctly?
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
✓
A dedicated Consumer Group and correct starting offset configuration (e.g., startingPosition).
When using the Azure Event Hubs Spark connector, you must configure the Consumer Group and ensure offset management (starting position like `earliest` or `latest`) is correctly set.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Setting the Event Grid webhook handshake timeout to 120 seconds.
Why it's wrong here
Event Grid and webhooks are not used when connecting Spark directly to Event Hubs.
- ✓
A dedicated Consumer Group and correct starting offset configuration (e.g., startingPosition).
Why this is correct
A dedicated consumer group ensures Spark maintains its own independent read offsets without conflicting with other consumers.
- ✗
Enabling AMQP 1.0 web socket transport mode across all Spark worker nodes.
Why it's wrong here
Web socket transport is only needed if outbound port 5671 is blocked; it is not a core streaming configuration requirement for performance.
- ✗
The Service Bus shared access policy connection string with Manage rights.
Why it's wrong here
Event Hubs uses Event Hub connection strings, and consumers only require Listen permissions, not Manage.
About these practice questions
This AI-200 question is part of Courseiva's 507-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
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.