AZ-204 Exam QuestionsBrowse all questions from this exam

AZ-204 Exam - Question 367


HOTSPOT -

You develop several Azure Functions app functions to process JSON documents from a third-party system. The third-party system publishes events to Azure Event Grid to include hundreds of event types, such as billing, inventory, and shipping updates.

Events must be sent to a single endpoint for the Azure Functions app to process. The events must be filtered by event type before processing. You must have authorization and authentication control to partition your tenants to receive the event data.

You need to configure Azure Event Grid.

Which configuration should you use? To answer, select the appropriate values in the answer area.

NOTE: Each correct selection is worth one point.

Exam AZ-204 Question 367
Show Answer
Correct Answer:
Exam AZ-204 Question 367

Discussion

24 comments
Sign in to comment
MatejB
Mar 21, 2023

Check this from official trainig material: https://learn.microsoft.com/en-us/training/modules/azure-event-grid/2-event-grid-overview 1. custom topic Because according to link: "Topics. The event grid topic provides an endpoint where the source sends events(...)Custom topics are application and third-party topics" 2. event subscription Because according to link: "Event subscriptions. A subscription tells Event Grid which events on a topic you're interested in receiving. When creating the subscription, you provide an endpoint for handling the event"

Chris2349
Jun 15, 2023

Received the same question today on the exam, 15th of June 2023. Scored 887. Answered the same.

mmdex
Feb 22, 2023

I don't know, but from the description of the event domain, I'd say the correct answer is: 1. event domain 2. event subscription https://learn.microsoft.com/en-us/azure/event-grid/event-domains 1. event domain: Using event domain, the third party system does not send data directly to topics. Event domain provides a single endpoint for the system to publish events. 2. event subscription: Azure functions are event handlers. They use subscriptions. It is true that the event domain also provides a single subscription endpoint, but the handler would then receive all events, not just a filtered set as required: "Event domains also allow for domain-scope subscriptions. An event subscription on an event domain will receive all events sent to the domain regardless of the topic the events are sent to." https://learn.microsoft.com/en-us/azure/event-grid/event-domains#domain-scope-subscriptions

warchoon
Mar 11, 2023

So. It must be 1. event domain 2. event domain You can see the endpoint is the same https://learn.microsoft.com/en-us/azure/event-grid/includes/media/event-grid-domain-example-use-case/contoso-construction-example.png

warchoon
Mar 11, 2023

https://learn.microsoft.com/en-us/azure/event-grid/how-to-event-domains?tabs=azurecli#create-topics-and-subscriptions:~:text=topics/demotopic1%22%20%5C-,%2D%2Dendpoint,-https%3A//contoso.azurewebsites

overhill
Nov 17, 2024

Incorrect, the endpoint is for the third party. the subscription is for the az function

warchoon
Mar 11, 2023

https://learn.microsoft.com/en-us/azure/event-grid/how-to-event-domains?tabs=azurecli#create-topics-and-subscriptions:~:text=topics/demotopic1%22%20%5C-,%2D%2Dendpoint,-https%3A//contoso.azurewebsites

overhill
Nov 17, 2024

Incorrect, the endpoint is for the third party. the subscription is for the az function

Luza93
Jan 14, 2023

1. I'd say that the first one is custom topic because: "Custom topics are application and third-party topics" - and we know from the question requirements that there is a third-party app that is sending the events reference: https://learn.microsoft.com/en-us/azure/event-grid/custom-topics Additionally : "Only Azure services can publish events to system topics. Therefore, you don't get an endpoint or access keys that you can use to publish events like you do for custom topics or event domains." - but we need an endpoint for the third-party app reference: https://learn.microsoft.com/en-us/azure/event-grid/system-topics 2. As ManuKuns wrote the event domain is right because of requirement for "authorization and authentication control ..." reference: https://learn.microsoft.com/en-us/azure/event-grid/event-domains

surprise0011
Apr 17, 2023

i received this one on 2023-04-17, I did not know what to do I selected custom topic twice. I passed with 926. This definitely need more reasarch because it is still there

adilkhan
Apr 21, 2023

were all the questions from exam topics? please reply

kvtborad
Aug 8, 2023

I got this question on 6th August 2023. I was confused so chose a custom topic for the both boxs passed with 904. I got a Case study: city and Lights. All questions are from ExamTopics.

ManuKuns
Jan 9, 2023

1. Why system topic? "A system topic in Event Grid represents one or more events published by Azure services..." Is is not said how the third party system publishes the events. https://learn.microsoft.com/en-us/azure/event-grid/system-topics 2. event domain is right: "You must have authorization and authentication control ..." https://learn.microsoft.com/en-us/azure/event-grid/event-domains

CarlosTheBoldest
Dec 11, 2023

I got this question on my exam, 2023Dec, go with what I remember was the most voted answer. Score 902, most of the questions were here, slightly different on wording because the Azure Ad <-> Entra Id change. Case was City Power & Light. Good luck! Important tip, you have access to microsoft learn during the exam!

red0400
Mar 1, 2023

Third party system endpoint to send events= custom topic Azure functions app endpoint to handle filtered events= event subscription

nekkilodeon
Apr 25, 2023

1.Custom topic 2.Event domain

dy0917
May 18, 2023

1.Custom topic 2.Event subscriptions

devex
Sep 8, 2023

1. event domain 2. event subscription Regarding 1.... Requirement: "You must have authorization and authentication control to partition your tenants to receive the event data." From: https://learn.microsoft.com/en-us/azure/event-grid/event-domains "Domains also give you authentication and authorization control over each topic so you can partition your tenants"

130nk3r5
Dec 20, 2023

Third Party system to send events? Event Domain or Custom Topic (Both should be right) https://learn.microsoft.com/en-us/azure/event-grid/event-domains https://learn.microsoft.com/en-us/training/modules/azure-event-grid/2-event-grid-overview Azure functions app endpoint to handle filtered events? Event Subscription Explanation: Event Domains are a management and authentication scope for event topics. They provide an endpoint where publishers can send events to, and they are useful when you want to provide multi-tenant isolation. Event Subscription is a mechanism to deliver events from event handlers such as Azure Functions, Logic Apps, or your own custom HTTP listener. You can filter the events that a subscription receives by specifying filter criteria.

8ac3742
Aug 12, 2024

the answer to "Third-party system endpoint to send events" is (3) event domain because (1) event domain can offer authentication over each topic on different tenants, the question mentioned "ou must have authorization and authentication control to partition your tenants to receive the event data" (2) the third-party system can send the events with topic being defined in the payload or header to one single endpoint . The answer to "Azure Functions app endpoint to handle filtered events" is Event Subscription because event subscription can filter event by type.

Asten
Feb 27, 2023

the first one should be custom topic

Asten
Feb 28, 2023

custom topic for third-party topics

warchoon
Mar 11, 2023

1. event domain 2. event domain => "You must have authorization and authentication control ..."

adilkhan
Mar 13, 2023

Custom topic for both ChatGPT. You should use a custom topic to configure the third-party system to send events to Azure Event Grid. A custom topic allows you to specify the endpoint that the events should be sent to, and it provides you with control over authentication and authorization for the topic. A custom topic allows you to define your own schema and can be used to filter events based on event type, subject, and other criteria. You can also control access to the custom topic by configuring authorization and authentication.

AndySmith
Oct 26, 2023

According to below link / Figure: 1) 3rd party publishes to Domain EP of Event Grid service 2) Azure Functions and others subscribe to Event Subscription. https://learn.microsoft.com/en-us/azure/event-grid/event-domains?tabs=event-grid-event-schema#example-use-case The excerpt from that page, which supports the Q's requirements (for event domain): "Use event domains to: 1) Manage multitenant eventing architectures at scale. 2) Manage your authentication and authorization. 3) Partition your topics without managing each individually. 4) Avoid individually publishing to each of your topic endpoints. " So, I would go with: 1) event domain 2) event subscription

FeriAZ
Feb 2, 2024

1. event domain management tool within Azure Event Grid that provides a layer for routing and security. It is designed for scenarios with multiple publishers and subscribers, making it ideal for situations where events are coming from a third-party system intended for multiple tenants. 2. event subscription sed to subscribe to events from an Event Grid topic, system topic, or domain. It directs specific events to a handler based on filter criteria, which in this case would be the Azure Functions app.

Vichu_1607
Oct 1, 2024

Third Party system endpoint to send events b. Custom Topic: A custom topic is a user-defined endpoint that your application sends events to. In this case, the third-party system would send events to this custom topic. Azure Function app endpoint to handle filtered events d. Event Subscription: An event subscription is a mechanism that defines the destination (the Azure Function app in this case) where the events of a certain type should be sent. You can filter the events that the subscription receives by event type.

overhill
Nov 17, 2024

3rd parties cannot call a system topic endpoint, it has to be the domain. for function they subscribe to subscriptions

overhill
Nov 17, 2024

Hence Event Domain Event Subscription

overhill
Nov 17, 2024

Domains also give you authentication and authorization control over each topic so you can partition your tenants.

overhill
Nov 17, 2024

Functions can subscribe to Domains and receive all the topics from that domain

overhill
Nov 17, 2024

I'm Adjusting my answer to: Event Domain Event Domain

overhill
Nov 17, 2024

Functions can subscribe to Domains and receive all the topics from that domain

overhill
Nov 17, 2024

Domains also give you authentication and authorization control over each topic so you can partition your tenants.

overhill
Nov 17, 2024

Functions can subscribe to Domains and receive all the topics from that domain

overhill
Nov 17, 2024

I'm Adjusting my answer to: Event Domain Event Domain

overhill
Nov 17, 2024

Functions can subscribe to Domains and receive all the topics from that domain

BrownieP
Feb 7, 2025

1. Custom Topic 2. Event Subscription

Iaminall
Mar 20, 2025

HOPE NEVER SEE YOU AGAIN.

Thameur01
Apr 16, 2025

1. custom topic 2. event subscription