Exam AZ-204 All QuestionsBrowse all questions from this exam
Question 331

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are implementing an application by using Azure Event Grid to push near-real-time information to customers.

You have the following requirements:

• You must send events to thousands of customers that include hundreds of various event types.

• The events must be filtered by event type before processing.

• Authentication and authorization must be handled by using Microsoft Entra ID.

• The events must be published to a single endpoint.

You need to implement Azure Event Grid.

Solution: Publish events to an event domain. Create a custom topic for each customer.

Does the solution meet the goal?

    Correct Answer: A

    Yes, the solution meets the goal. Using an event domain in Azure Event Grid allows you to manage a large number of topics, each of which can represent a customer. This approach simplifies the management by providing a single publishing endpoint for all topics within the domain. The event domain also supports filtering events by event type before processing them and handles authentication and authorization using Microsoft Entra ID at the domain level. Therefore, the described solution is appropriate for the given requirements.

Discussion
RDTAusOption: A

https://learn.microsoft.com/en-us/azure/event-grid/event-domains?tabs=event-grid-event-schema An event domain is a management tool for large number of Event Grid topics related to the same application. You can think of it as a meta-topic that can have thousands of individual topics. It provides one publishing endpoint for all the topics in the domain. When publishing an event, the publisher must specify the target topic in the domain to which it wants to publish. The publisher can send an array or a batch of events where events are sent to different topics in the domain. See the Publishing events to an event domain section for details. Domains also give you authentication and authorization control over each topic so you can partition your tenants. This article describes how to use event domains to manage the flow of custom events to your various business organizations, customers, or applications.

FeriAZOption: B

Creating a custom topic for each customer would be unnecessarily complex and not scalable for thousands of customers. It could also complicate the management and the goal of publishing events to a single endpoint.

FeriAZ

I was wrong. The solution suggests publishing events to an event domain, which is a logical grouping mechanism. This aligns well with the requirement of handling events for thousands of customers with various event types. Creating a custom topic for each customer ensures that events can be filtered by event type before processing, as each customer's topic can be subscribed to only the relevant event types. It's not explicitly mentioned in the solution, but handling authentication and authorization via Microsoft Entra ID can be achieved at the event domain level, ensuring secure access to all topics within the domain. The events being published to a single endpoint can be interpreted as all events being managed within the context of the event domain, providing a centralized location for event management.

JunakOption: A

Probably the answer is Yes. https://learn.microsoft.com/en-us/azure/event-grid/event-domains?tabs=event-grid-event-schema#example-use-case

Jobalos009Option: A

The answer is A. An event domain provides an endpoint for thousands of individual topics related to the same application. You can think of it as a meta-topic that can have thousands of individual topics. It provides one publishing endpoint for all the topics in the domain. Ref: https://learn.microsoft.com/en-us/azure/event-grid/event-domains?tabs=cloud-event-schema

ProtossOR89144Option: A

https://learn.microsoft.com/en-us/azure/event-grid/quotas-limits - "When the limit is reached, you can consider a different region or consider using domains, which can support 100,000 topics.", so the domain is a way to handle thousands of topics

dom271219Option: B

No. It sould be custom topic.