You have an Azure Cosmos DB Core (SQL) API account. The change feed is enabled on a container named invoice. You create an Azure function that has a trigger on the change feed. What is received by the Azure function?
A.
only the changed properties and the system-defined properties of the updated items
B.
only the partition key and the changed properties of the updated items
C.
all the properties of the original items and the updated items
When you create an Azure function with a trigger on the change feed of an Azure Cosmos DB Core (SQL) API container, the Azure function receives the following:
B. only the partition key and the changed properties of the updated items.
The change feed provides information about changes made to the items in the container. Specifically, it includes the partition key and the properties of the updated items. This allows the Azure function to process the changes, including the partition key and the specific properties that were modified, without needing to retrieve all properties of the original items.
This selective information is beneficial for efficiently processing changes and reacting to updates in real-time without the need to access the entire original item, which can help minimize processing overhead and improve performance.
Answer is D - all properties are retrieved using the change feed
Change feed in Azure Cosmos DB is a persistent record of changes to a container in the order they occur. Change feed support in Azure Cosmos DB works by listening to an Azure Cosmos DB container for any changes. It then outputs the sorted list of documents that were changed in the order in which they were modified.
https://learn.microsoft.com/en-us/azure/cosmos-db/change-feed
This section is not available anymore. Please use the main Exam Page.DP-420 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
DudeWheresMyCar
Highly Voted 2 years, 4 months agoGaryn
Most Recent 1 year, 4 months agoxRiot007
1 year agoFeanorich
1 year, 5 months agoakash211
1 year, 6 months agoarnabdt
1 year, 10 months agoroxsauromech
2 years, 1 month agokhushbu123
2 years, 4 months agoTimSss
2 years, 4 months ago