Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-420 Exam - Topic 15 Question 54 Discussion

You have an Azure Cosmos DB for NoSQL 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?
D) only the changed properties and the system-defined properties of the updated items
A) all the 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

Microsoft DP-420 Exam - Topic 15 Question 54 Discussion

Actual exam question for Microsoft's DP-420 exam
Question #: 54
Topic #: 15
[All DP-420 Questions]

You have an Azure Cosmos DB for NoSQL 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?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Leonida
8 months ago
I thought it was D at first, but B makes more sense.
upvoted 0 times
...
Minna
9 months ago
Definitely not C, that's too much info for the change feed.
upvoted 0 times
...
Ira
9 months ago
Wait, I thought we got all properties? This is confusing.
upvoted 0 times
...
Kristeen
9 months ago
Totally agree, B is the right answer!
upvoted 0 times
...
Emilio
9 months ago
It's B, you only get the partition key and changed properties.
upvoted 0 times
...
Maynard
10 months ago
I thought it was all properties of both the original and updated items, but now I'm second-guessing myself. Maybe I need to review that section again.
upvoted 0 times
...
Shannon
10 months ago
I have a feeling it might only include the partition key and changed properties. That sounds familiar from my notes.
upvoted 0 times
...
Erasmo
10 months ago
I practiced a similar question, and I think the function receives all properties of the updated items. That seems like the most comprehensive option.
upvoted 0 times
...
Miesha
10 months ago
I remember studying the change feed, but I'm not entirely sure what it returns. I think it might be just the changed properties?
upvoted 0 times
...
Samuel
10 months ago
I'm a little confused by this question. Does the change feed send the original and updated items, or just the changes? I'll have to think this through carefully before selecting an answer.
upvoted 0 times
...
Ronnie
10 months ago
Okay, I've got a good feeling about this. The change feed is designed to only send the changes, not the full documents, so I'm pretty sure the answer is option B.
upvoted 0 times
...
Laurene
10 months ago
Hmm, I'm a bit unsure about this one. The question mentions that the change feed is enabled, but it doesn't explicitly say what the function will receive. I might need to review the change feed documentation to be more confident in my answer.
upvoted 0 times
...
Taryn
10 months ago
I think the key here is understanding what the change feed in Cosmos DB does. It should only send the changes, not the full documents, so I'm going to go with option B.
upvoted 0 times
...
Alexis
2 years ago
I'm just going to go with D and hope the exam doesn't change the feed on me.
upvoted 0 times
Lacresha
2 years ago
User1: Fingers crossed that the exam doesn't throw us off.
upvoted 0 times
...
Lashaunda
2 years ago
User3: I agree, let's go with D.
upvoted 0 times
...
Pilar
2 years ago
User2: Yeah, D seems like the best choice.
upvoted 0 times
...
Jutta
2 years ago
User1: I think D is the correct answer.
upvoted 0 times
...
...
Lavonda
2 years ago
Wait, does the change feed come with a free bowl of soup? I'm asking for a friend.
upvoted 0 times
Mitsue
2 years ago
B) only the partition key and the changed properties of the updated items
upvoted 0 times
...
Geoffrey
2 years ago
A) all the properties of the updated items
upvoted 0 times
...
...
Erasmo
2 years ago
D is the correct answer. The change feed only sends the changed properties and system-defined properties, not the entire document.
upvoted 0 times
...
Rolande
2 years ago
C seems like the right answer to me. The function should receive both the original and updated items.
upvoted 0 times
Hildegarde
2 years ago
Definitely, C seems like the most comprehensive choice for what the Azure function should receive.
upvoted 0 times
...
Oren
2 years ago
I agree, having access to all properties of both the original and updated items would be useful for the function.
upvoted 0 times
...
Stefany
2 years ago
Yeah, C sounds like the most logical option. It would be helpful to have access to both sets of properties.
upvoted 0 times
...
Sommer
2 years ago
I think C is the correct answer too. It makes sense to receive both original and updated items.
upvoted 0 times
...
...
Shaunna
2 years ago
I think the answer is B. The change feed only sends the partition key and the changed properties, not the entire document.
upvoted 0 times
Ming
2 years ago
Exactly, it's a more efficient way to handle the updates.
upvoted 0 times
...
Arlette
2 years ago
That makes sense, it helps optimize the performance of the function.
upvoted 0 times
...
Mari
2 years ago
So, the Azure function will receive only the necessary information.
upvoted 0 times
...
Tammy
2 years ago
I agree, the change feed only sends the partition key and the changed properties.
upvoted 0 times
...
...
Ma
2 years ago
I agree with Curtis, it makes sense for the Azure function to only receive the necessary information.
upvoted 0 times
...
Curtis
2 years ago
I believe it's only the partition key and the changed properties of the updated items.
upvoted 0 times
...
Ma
2 years ago
I think the Azure function receives all the properties of the updated items.
upvoted 0 times
...

Save Cancel