Developing Solutions for Microsoft Azure - Exam AZ-204 | Question 2

Using Azure Event Grid with Azure Function App - Solution Evaluation

Question

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 developing an application that processes Azure Blob storage events.

Your application has the following requirements: Process transaction logs asynchronously for changes that occur to the blobs and the blob metadata.

Process changes in the order in which they occurred.

Retain changes for compliance reasons.

Solution: You use Azure Event Grid with a subscriber Azure Function app.

Does the solution meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

A.

https://docs.microsoft.com/en-us/azure/event-grid/overview https://docs.microsoft.com/en-us/azure/event-grid/event-handlers#azure-functions

Yes, the solution meets the given requirements.

Azure Event Grid is a service that enables developers to build reactive, event-driven applications that take action in response to events generated by Azure services or third-party sources. It simplifies the development of event-driven architectures and enables developers to easily integrate with Azure services or custom events.

In this solution, Azure Event Grid is used to detect and route events generated by Blob storage. The Azure Function app is configured as a subscriber to the events and processes them asynchronously. Since the events are processed asynchronously, the Function app can scale easily and handle high volumes of events without impacting the application's performance.

To ensure that changes are processed in the order in which they occurred, Azure Event Grid supports event ordering for some scenarios, including Blob storage events. Event ordering ensures that events are processed in the order they are received, and it is supported for a single event grid subscription.

To retain changes for compliance reasons, the Azure Function app can write the changes to a durable store such as Azure Blob storage, Azure Cosmos DB, or Azure SQL Database.

Therefore, the proposed solution using Azure Event Grid with a subscriber Azure Function app satisfies all of the given requirements.