Skip to main content

AI-200 practice question · Develop AI Solutions by Using Azure Data Management Services

A team is building a prototype AI app on Azure Cosmos DB for NoSQL in a single Azure region.

A team is building a prototype AI app on Azure Cosmos DB for NoSQL in a single Azure region. The app sits idle most hours, its traffic is intermittent and unpredictable, the average-to-peak traffic ratio is low, and its total monthly request volume is small. The team wants no throughput charges for hours when the app receives no requests (storage charges aside). Which capacity configuration should they choose?

  • AA serverless account with no RU/s configured on its containers
  • BAutoscale provisioned throughput with a maximum of 1,000 RU/s per container
  • CStandard (manual) provisioned throughput set to the expected peak RU/s
  • DStandard (manual) provisioned throughput set to the average RU/s
Show the answer and explanation

Correct answer: A) A serverless account with no RU/s configured on its containers

Serverless bills only for the RUs consumed, so idle hours have no throughput charge. It is recommended for intermittent, unpredictable, low-volume, single-region workloads. Standard provisioned throughput and autoscale (minimum 10% of Tmax) both bill every hour for provisioned RU/s.

Why each option is right or wrong

  • A) Correct. Serverless accounts bill per hour for the RUs that database operations consume, with no capacity configured in advance. An idle hour therefore has no throughput charge. Microsoft recommends serverless for intermittent or unpredictable traffic with a low average-to-peak ratio. Serverless accounts run in a single region, which fits this scenario.
  • B) Incorrect. Autoscale scales between 10% of Tmax and Tmax and bills each hour for the highest RU/s it reached. With a 1,000 RU/s maximum, each container is billed for at least 100 RU/s even in idle hours, so the requirement isn't met.
  • C) Incorrect. Provisioned throughput bills per hour for the RU/s provisioned, however many RUs are consumed. Provisioning for the peak means paying for peak capacity in every idle hour. This mode suits sustained, predictable traffic.
  • D) Incorrect. The provisioned RU/s are still billed every hour, including idle hours. Traffic bursts above the provisioned amount can also be rate-limited with 429 errors, which makes this a poor fit for a low average-to-peak ratio.
Question type
Multiple choice (one answer)

Practise the full AI-200 exam

This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.