exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 3 question 7 discussion

Actual exam question from Microsoft's DP-420
Question #: 7
Topic #: 3
[All DP-420 Questions]

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 have a container named container1 in an Azure Cosmos DB Core (SQL) API account.
You need to make the contents of container1 available as reference data for an Azure Stream Analytics job.
Solution: You create an Azure function that uses Azure Cosmos DB Core (SQL) API change feed as a trigger and Azure event hub as the output.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
The Azure Cosmos DB change feed is a mechanism to get a continuous and incremental feed of records from an Azure Cosmos container as those records are being created or modified. Change feed support works by listening to container for any changes. It then outputs the sorted list of documents that were changed in the order in which they were modified.
The following diagram represents the data flow and components involved in the solution:

Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/changefeed-ecommerce-solution

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Flammkuchen
Highly Voted 2 years ago
I don't thing that Y is correct. While event hub would be a great input source for Stream Analytics *Streaming* Data, it is not supported as input for Stream Analytics *Reference* Data. https://learn.microsoft.com/en-us/azure/stream-analytics/stream-analytics-add-inputs. Using Data Factory is the recommended solution for reference data in the Microsoft docs: https://learn.microsoft.com/en-us/azure/stream-analytics/stream-analytics-use-reference-data
upvoted 8 times
XiangRongChang
1 year, 3 months ago
So, why question #6 is no? The question before this one.
upvoted 1 times
xRiot007
9 months, 2 weeks ago
Question #6 is wrong. For real-time data, you use an Event Hub. For reference data, you use Data Factory
upvoted 2 times
...
...
...
WimTS
Most Recent 4 days, 19 hours ago
Selected Answer: B
For reference data, only Blob, Data Lake Storage Gen2 and SQL are supported For streaming data only Event Hubs, IoT Hub, Blob Storage and Data Lake Storage Gen2
upvoted 1 times
...
azuredemo2022three
1 year, 3 months ago
Selected Answer: B
Answer
upvoted 1 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago