Microsoft Azure Developer Associate AZ-204 Practice Question
You have an event hub named telemetry in a Standard tier namespace that uses four partitions. Two independent microservices must each read the complete event stream and manage their own checkpoints without interfering with each other's offsets or requiring changes on the producer side. Which change should you make to the event hub configuration to satisfy the requirement?
Increase the number of partitions from four to eight.
Enable Event Hubs Capture and have each microservice read the generated files.
Add an additional throughput unit to the namespace.
Create a dedicated consumer group for each microservice.
Consumer groups provide independent views of an event hub's partition stream. Each consumer group maintains its own set of offsets and checkpoints, allowing multiple applications to read the same events at their own pace without affecting one another. Adding partitions or throughput units addresses scale, not separate offsets. Event Hubs Capture writes the stream to storage for batch processing but does not give live, offset-aware reads per application. Therefore, creating a separate consumer group for each microservice is the correct solution.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a consumer group in Azure Event Hub?
Open an interactive chat with Bash
How do partitions work in Azure Event Hub?
Open an interactive chat with Bash
What is Event Hubs Capture and how is it different from live streaming?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Connect to and consume Azure services and third-party services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .