nerdexam
Microsoft

DP-420 · Question #134

You have an Azure Cosmos DB database that contains a container named container1. The container1 container is configured with a maximum of 20,000 RU/s and currently contains 240 GB of data. You need…

The correct answer is C. 20,000. Azure Cosmos DB charges for the amount of throughput provisioned, not the actual consumed throughput or storage amount.

Optimize an Azure Cosmos DB solution

Question

You have an Azure Cosmos DB database that contains a container named container1. The container1 container is configured with a maximum of 20,000 RU/s and currently contains 240 GB of data. You need to estimate the costs of container1 based on the current usage. How many RU/s will be charged?

Options

  • A240
  • B4,000
  • C20,000
  • D24,000

How the community answered

(30 responses)
  • B
    3% (1)
  • C
    90% (27)
  • D
    7% (2)

Why each option

Azure Cosmos DB charges for the amount of throughput provisioned, not the actual consumed throughput or storage amount.

A240

240 RU/s is related to the data size (240 GB) and does not represent the provisioned throughput.

B4,000

4,000 RU/s is the minimum throughput for a shared database and not relevant to a container configured with a specific maximum.

C20,000Correct

When using provisioned throughput, you are charged for the maximum RU/s you have configured, regardless of actual usage or current data size. In this scenario, container1 is configured with 20,000 RU/s, so that is the amount for which it will be charged.

D24,000

24,000 RU/s is not explicitly mentioned as the configured throughput or a calculated value based on the given information.

Concept tested: Cosmos DB provisioned throughput billing

Source: https://learn.microsoft.com/azure/cosmos-db/set-throughput#how-provisioned-throughput-works

Topics

#Cosmos DB Pricing#Request Units#Provisioned Throughput#Cost Estimation

Community Discussion

No community discussion yet for this question.

Full DP-420 Practice