DP-200 Exam QuestionsBrowse all questions from this exam

DP-200 Exam - Question 178


HOTSPOT -

A company is planning to use Microsoft Azure Cosmos DB as the data store for an application. You have the following Azure CLI command: az cosmosdb create -`"name "cosmosdbdev1" `"-resource-group "rgdev"

You need to minimize latency and expose the SQL API. How should you complete the command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Exam DP-200 Question 178
Show Answer
Correct Answer:
Exam DP-200 Question 178

Box 1: Eventual -

With Azure Cosmos DB, developers can choose from five well-defined consistency models on the consistency spectrum. From strongest to more relaxed, the models include strong, bounded staleness, session, consistent prefix, and eventual consistency.

The following image shows the different consistency levels as a spectrum.

Exam DP-200 Question 178

Box 2: GlobalDocumentDB -

Select Core(SQL) to create a document database and query by using SQL syntax.

Note: The API determines the type of account to create. Azure Cosmos DB provides five APIs: Core(SQL) and MongoDB for document databases, Gremlin for graph databases, Azure Table, and Cassandra.

References:

https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels https://docs.microsoft.com/en-us/azure/cosmos-db/create-sql-api-dotnet

Discussion

2 comments
Sign in to comment
elimey
Jul 26, 2021

I didn't understand why it should be Global DocumentDB?

AzureInTheCloudLand
Aug 28, 2021

because of SQL API

div12345
Aug 17, 2021

default consistency level - session