DP-420 · Question #137
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…
The correct answer is B. No. Creating an Azure Function to copy data to another Cosmos DB container does not directly make the data available as reference data for an Azure Stream Analytics job, as Stream Analytics expects specific input types.
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 have a container named container1 in an Azure Cosmos DB for NoSQL 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 to copy data to another Azure Cosmos DB for NoSQL container. Does this meet the goal?
Options
- AYes
- BNo
How the community answered
(29 responses)- A24% (7)
- B76% (22)
Why each option
Creating an Azure Function to copy data to another Cosmos DB container does not directly make the data available as reference data for an Azure Stream Analytics job, as Stream Analytics expects specific input types.
This solution does not meet the goal because Azure Stream Analytics expects reference data from specific sources like Azure Blob Storage, not directly from an Azure Cosmos DB container.
Azure Stream Analytics jobs typically consume reference data from Azure Blob storage or Azure Data Lake Storage Gen2, not directly from another Azure Cosmos DB container. While the function could copy data, placing it in another Cosmos DB container does not satisfy the Stream Analytics reference data input requirement.
Concept tested: Stream Analytics reference data sources
Source: https://learn.microsoft.com/azure/stream-analytics/stream-analytics-add-reference-data-blob-storage
Topics
Community Discussion
No community discussion yet for this question.