Microsoft

DP-420 practice question 2

Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB · free question 2 of 20

Question

You have an Azure Cosmos DB for NoSQL account that has a single write region in West Europe. You run the Azure CLI script shown in the exhibit. For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
Azure CLI: cosmosdb update adds West Europe (priority 0) and North Europe (priority 1), then failover-priority-change swaps them

Explanation

Statement 1 (Yes): The first command adds North Europe as a second region with failover priority 1, and the failover-priority-change command then gives North Europe priority 0. In a single-write-region account the region with priority 0 is the write region, so North Europe becomes writable. Statement 2 (No): After the priority change, West Europe has failover priority 1 and becomes a read region. Multi-region writes are not enabled, so only North Europe accepts writes. Statement 3 (No): Provisioned throughput is reserved in every region of the account and data is stored in every region, so adding North Europe roughly doubles the RU/s and storage billed (T x N RU/s for N regions). Only the failover priority change by itself is cost neutral; the region addition is not.

Need the theory? Learn it free in the DP-420 course on Godlike Academy

Practice the whole free set

Answer all 20 free DP-420 questions with instant feedback, or unlock all 211 questions with Learn and Exam modes.