nerdexam
Microsoft

DP-420 · Question #84

You have a database named db1 in an Azure Cosmos DB for NoSQL account named account1. You need to write JSON data to db1 by using Azure Stream Analytics. The solution must minimize costs. Which…

The correct answer is B. In db1, create containers that have a custom indexing policy and analytical store disabled. Stream Analytics doesn't create containers in your database. Instead, it requires you to create them beforehand. You can then control the billing costs of Azure Cosmos DB containers. You can also tune the performance, consistency, and capacity of your containers directly by…

Optimize an Azure Cosmos DB solution

Question

You have a database named db1 in an Azure Cosmos DB for NoSQL account named account1. You need to write JSON data to db1 by using Azure Stream Analytics. The solution must minimize costs. Which should you do before you can use db1 as an output of Stream Analytics?

Options

  • AIn account1, add a private endpoint
  • BIn db1, create containers that have a custom indexing policy and analytical store disabled
  • CIn db1, create containers that have an automatic indexing policy and analytical store enabled
  • DIn account1, enable a dedicated gateway

How the community answered

(41 responses)
  • A
    15% (6)
  • B
    71% (29)
  • C
    10% (4)
  • D
    5% (2)

Explanation

Stream Analytics doesn't create containers in your database. Instead, it requires you to create them beforehand. You can then control the billing costs of Azure Cosmos DB containers. You can also tune the performance, consistency, and capacity of your containers directly by using the Azure Cosmos DB APIs. https://learn.microsoft.com/en-us/azure/stream-analytics/stream-analytics-documentdb- output#basics-of-azure-cosmos-db-as-an-output-target

Topics

#Cosmos DB Cost Optimization#Stream Analytics Integration#Indexing Policy#Analytical Store

Community Discussion

No community discussion yet for this question.

Full DP-420 Practice