AZ-204 Exam QuestionsBrowse all questions from this exam

AZ-204 Exam - Question 363


You are developing a road tollway tracking application that sends tracking events by using Azure Event Hubs using premium tier.

Each road must have a throttling policy uniquely assigned.

You need to configure the event hub to allow for per-road throttling.

What should you do?

Show Answer
Correct Answer: D

To configure per-road throttling in Azure Event Hubs when using the premium tier, you should use a unique application group for each road. Application groups allow you to define resource access policies such as throttling policies, which can be applied to client applications within the group. This enables per-road throttling by controlling event streaming between client applications and Event Hubs on a group level. Using consumer groups, partitions, or unique connection strings do not directly relate to implementing throttling policies as required in this scenario.

Discussion

15 comments
Sign in to comment
le129Option: D
Sep 1, 2022

https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-features. Application groups An application group is a collection of client applications that connect to an Event Hubs namespace sharing a unique identifying condition such as the security context - shared access policy or Azure Active Directory (Azure AD) application ID. Azure Event Hubs enables you to define resource access policies such as throttling policies for a given application group and controls event streaming (publishing or consuming) between client applications and Event Hubs. For more information, see Resource governance for client applications with application groups.

gmishra88Option: D
Oct 6, 2022

Definitely D. Never heard of before and wondering how many things to remember

finnishrOption: D
Sep 7, 2022

D is correct.

Junius
Sep 1, 2022

Answer is correct

Nhiendo
Dec 29, 2022

Selected Answer: B

Osip21Option: A
Jan 28, 2023

ChatGPT: A. Use a unique consumer group for each road. In order to configure the Event Hub to allow for per-road throttling, you can use a unique consumer group for each road. This way, you can assign a unique throttling policy to each consumer group, which in turn controls the number of events that can be sent and received by the corresponding road. Option B and C are not correct solutions to this problem, because partitioning and unique connection strings are not related to throttling policies. Option D is not correct solution too, application groups are not related to throttling policies and they are used to group related Event Hubs together.

adilkhan
Mar 7, 2023

In many questions ChatGPT is wrong. For this one as well D is a correct answer!

adilkhan
Mar 7, 2023

Application groups An application group is a collection of client applications that connect to an Event Hubs namespace sharing a unique identifying condition such as the security context - shared access policy or Azure Active Directory (Azure AD) application ID. Azure Event Hubs enables you to define resource access policies such as throttling policies for a given application group and controls event streaming (publishing or consuming) between client applications and Event Hubs.

MoroMind
Apr 25, 2023

Seriously? Do we, software developers, want to use chatGPT as the oracle? Just familiarize yourself with the basic working principles of chatGPT to know that this is not a good idea in case of this kind of test. I recommend asking chatGPT why D is the correct answer, and you'll get a "credible" explanation too ;).

Ciupaz
Oct 31, 2023

In my case, ChatGPT choose B.

Ciupaz
Nov 18, 2023

Bard choose D instead.

Ciupaz
Nov 18, 2023

Bard choose D instead.

Saurabh0074321Option: B
Dec 29, 2022

B is the correct answer

David_123
Dec 30, 2022

Can you share the resource you used to claim this answer ?

Sulzirsha
Feb 5, 2023

Looks like option D Refer: https://learn.microsoft.com/en-us/azure/event-hubs/resource-governance-overview Azure Event Hubs enables you to govern event streaming workloads of client applications that connect to Event Hubs. You can create logical groups known as application groups where each group is a collection of client applications, and then apply quota and access management policies for an application group (group of client applications). Application groups are available only in premium and dedicated tiers Each application group can contain zero or more policies that control the data plane access of the client applications that are part of the application group. Application groups currently support throttling policies.

Dats1987Option: D
Apr 18, 2023

Correct ans: D

TusharChandakOption: A
Sep 4, 2023

A is the correct option

dddddd111Option: D
Oct 18, 2023

D?????

wkosten
Nov 18, 2023

A: (bing chat) o allow for per-road throttling, you should use a unique consumer group for each road. Consumer groups are used to read the events from an event hub and can be used to apply different policies to different groups of consumers 1. By using a unique consumer group for each road, you can apply a unique throttling policy to each road 1. Option B is incorrect because partitioning is used to distribute the load across multiple nodes and is not related to throttling 1. Option C is incorrect because connection strings are used to authenticate and authorize access to an event hub and are not related to throttling 1. Option D is incorrect because application groups are used to manage the lifecycle of an event processor host and are not related to throttling 1.

CarlosTheBoldestOption: D
Nov 20, 2023

Here it show you how to define a throttling policy for an application group https://learn.microsoft.com/en-us/azure/event-hubs/resource-governance-with-app-groups?tabs=portal#apply-throttling-policies

Vichu_1607Option: D
Nov 16, 2024

D. Use a unique application group for each road.

IaminallOption: A
Apr 20, 2025

Correct Answer: A. Use a unique consumer group for each road. Explanation: Consumer Groups: In Azure Event Hubs, consumer groups allow different applications or consumers to have their own view of the event stream. Each consumer group can have its own throttling policy in the premium tier, enabling you to apply per-road throttling by assigning a unique consumer group to each road.