Microsoft Certified: Azure Developer Associate (AZ-204)Develop for Azure storageMedium
A global e-commerce platform uses Azure Cosmos DB to store product catalog information. The platform experiences peak traffic during seasonal sales events, requiring the database to scale throughput dynamically. It also needs to minimize operational overhead for capacity management. Which Cosmos DB feature should be configured to meet these requirements?
- AAutoscale Throughput
- BManual Throughput
- CServerless
- DProvisioned IOPS
Show answer & explanationAnswer & explanation
Correct answer: A. Autoscale Throughput
Autoscale throughput in Azure Cosmos DB allows the database to automatically scale its Request Units per second (RU/s) based on usage, ensuring dynamic scaling for peak loads and reducing manual overhead.
Why the other options are wrong
- B. Manual throughput requires fixed RU/s, which won't dynamically scale with varying traffic.
- C. Serverless is for infrequent, unpredictable workloads and charges per operation, not for consistent high-traffic applications needing guaranteed throughput.
- D. Provisioned IOPS is a concept related to traditional disk storage, not directly applicable to Cosmos DB's RU/s model.
Cosmos DB Autoscale Throughput
Azure Cosmos DB autoscale throughput allows a database or container to automatically and instantly scale its Request Units per second (RU/s) based on usage, providing cost-effective and dynamic performance management.
- Automatically scales RU/s up and down.
- Ideal for variable and unpredictable workloads.
- Minimizes manual capacity management.
- Billed for the highest RU/s provisioned in an hour, with a minimum.
Memory trick: Auto-scaling is like a smart thermostat for your database, adjusting as needed.