DP-420 practice question 16 of 25

You configure multi-region writes for account1. You need to ensure that App1 supports the new configuration for account1. The solution must meet the business requirements and the product catalog requirements. What should you do?

Full set: 144 questions
Answer options
A: Set the default consistency level of accountl to bounded staleness.
B: Create a private endpoint connection.
C: Modify the connection policy of App1.
D: Increase the number of request units per second (RU/s) allocated to the con-product and con- productVendor containers. Correct answer
Correct Answer:
D. Increase the number of request units per second (RU/s) allocated to the con-product and con- productVendor containers.
Explanation

Enabling multi-region writes increases the Request Unit (RU) cost for every write operation (create, update, delete). This is because each write must be replicated and durably committed in all configured regions, consuming resources in each region. If the provisioned RU/s is not increased, the existing workload, which now costs more per write, is likely to exceed the limit and experience throttling (HTTP 429 errors). Therefore, to ensure the application continues to function and meet its performance requirements after the change, increasing the provisioned RU/s is a necessary step to support the new configuration.

Why Incorrect

A. While changing consistency is relevant for multi-region accounts, it doesn't address the fundamental increase in RU cost per write, which can cause throttling and application failure.
B. Creating a private endpoint connection is a network security measure to restrict access. It is unrelated to handling the performance implications of enabling multi-region writes.
C. Modifying the connection policy is important to leverage multi-region writes for low latency, but the application will be throttled if the RU capacity is insufficient, regardless of the policy.

References

1. Microsoft Docs

"Configure multi-region writes in your applications that use Azure Cosmos DB". This document states

"The RU/s cost for any write operation... increases because it has to be replicated and committed durably in all the configured regions."

2. Microsoft Docs

"Request Units in Azure Cosmos DB". This page explains that the RU charge for an operation depends on factors including data replication. Enabling more regions for replication directly increases the RU cost of writes.

Scroll to Top