What are two possible ways to achieve this goal?

You are developing a solution that will use a multi-partitioned Azure Cosmos DB database.

You plan to use the latest Azure Cosmos DB SDK for development.

The solution must meet the following requirements:

✑ Send insert and update operations to an Azure Blob storage account.

✑ Process changes to all partitions immediately.

✑ Allow parallelization of change processing.

You need to process the Azure Cosmos DB operations.

What are two possible ways to achieve this goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
A . Create an Azure App Service API and implement the change feed estimator of the SD
B . Scale the API by using multiple Azure App Service instances.
C . Create a background job in an Azure Kubernetes Service and implement the change feed feature of the SD
E . Create an Azure Function to use a trigger for Azure Cosmos D
F . Configure the trigger to connect to the container.
G . Create an Azure Function that uses a Feedlterator object that processes the change feed by using the pull model on the container. Use a FeedRange objext to parallelize the processing of the change feed across multiple functions.

Answer: C,D

Explanation:

Azure Functions is the simplest option if you are just getting started using the change feed. Due to its simplicity, it is also the recommended option for most change feed use cases. When you create an Azure Functions trigger for Azure Cosmos DB, you select the container to connect, and the Azure Function gets triggered whenever there is a change in the container. Because Azure Functions uses the change feed processor behind the scenes, it automatically parallelizes change processing across your container’s partitions.

Note: You can work with change feed using the following options:

✑ Using change feed with Azure Functions

✑ Using change feed with change feed processor

Reference:

https://docs.microsoft.com/en-us/azure/cosmos-db/read-change-feed

https://docs.microsoft.com/en-us/azure/cosmos-db/change-feed-pull-model

https://docs.microsoft.com/en-us/azure/cosmos-db/read-change-feed#azure-functions

https://docs.microsoft.com/en-us/azure/cosmos-db/change-feed-pull-model#using-feedrange-for-parallelization

Latest AZ-204 Dumps Valid Version with 254 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments