Microsoft Azure Developer Associate AZ-204 Practice Question
You have an Azure Event Hubs instance that receives high-frequency IoT telemetry. A Stream Analytics job already reads from the event hub by using the $Default consumer group. You want to add an Azure Function that will process the same telemetry stream without affecting the checkpointing and offset management of the Stream Analytics job. What should you configure so that both services can consume the events independently?
Enable Event Hubs Capture to write the events to Azure Blob storage and have the Azure Function read from the blobs.
Configure a partition key on incoming events so each service reads a different partition.
Increase the number of throughput units allocated to the event hub.
Create a new consumer group in the event hub and configure the Azure Function to use it.
Event Hubs tracks the read position of each client at the consumer-group level. If two independent applications share the same consumer group, they will overwrite each other's checkpoints and interfere with each other's processing. Creating a separate consumer group provides each application with an isolated view of the stream, allowing the Stream Analytics job and the Azure Function to read the same events at their own pace without conflict. Partition keys, throughput units, and Event Hubs Capture do not isolate checkpoints and therefore do not meet the requirement.
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 Hubs?
Open an interactive chat with Bash
How does checkpointing work in Azure Event Hubs?
Open an interactive chat with Bash
Why can't Event Hubs Capture be used to isolate processing in this scenario?
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 .