QuestionQ172

Optimize an Azure Cosmos DB solution

You have an Azure Cosmos DB for NoSQL container named Contained with provisioned throughput of 1,000 request units per second (RU/s). An app named App1 queries Contained.

App1 users report receiving the following error several times each day: “HTTP error code 429”.

You need to improve App1 reliability without affecting the app's performance.

Which two actions can improve reliability? Each correct answer provides a complete solution.

NOTE: Each correct selection is worth one point.

Choose two
  • A Add a trigger to Container1.
  • B Update App1 to split large requests into several smaller requests.
  • C Update App1 to reduce the size of each request to less than 1 MB.
  • D Increase the provisioned throughout of Container1.
  • E Add retry logic to App1.
Explanation

An HTTP 429 response means Azure Cosmos DB has rate-limited a request because the workload exceeded the provisioned RU/s. Raising provisioned throughput supplies additional capacity, and retry logic resubmits throttled requests after the server-specified retry interval.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!