Courseiva
Event Driven IntegrationhardMultiple ChoiceObjective-mapped

AI-200 Event Driven Integration Practice Question

You are designing an asynchronous AI transaction pipeline using Azure Service Bus. You need to implement the Competing Consumers pattern where multiple worker instances process messages from a single queue without duplicating work. How does Azure Service Bus natively support this pattern?

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

Service Bus automatically locks and distributes messages across competing workers using PeekLock mode.

Azure Service Bus queues inherently implement the Competing Consumers pattern. When multiple workers pull from the same queue, Service Bus locks each message to a single worker so no other worker receives it.

Answer analysis

Option-by-option breakdown

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

  • Configure Event Hubs consumer groups with exclusive read locks.

    Why it's wrong here

    Event Hubs consumer groups allow multiple readers per consumer group only if assigned to separate partitions, whereas Service Bus queues distribute messages across competing consumers on a single queue.

  • You must write custom distributed locking logic using Azure Blob Leases in front of the queue.

    Why it's wrong here

    Service Bus handles competing consumer locking natively at the broker level; blob leases are unnecessary.

  • Service Bus automatically locks and distributes messages across competing workers using PeekLock mode.

    Why this is correct

    PeekLock ensures that when worker A grabs a message, it is locked and hidden from worker B until settled.

  • You must deploy an Event Grid topic with a round-robin webhook load balancer.

    Why it's wrong here

    Event Grid webhooks deliver events to endpoints, whereas queues are designed for competing consumer worker pools.

About these practice questions

This AI-200 question is part of Courseiva's 503-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 →

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.