Microsoft Azure Data FundamentalsDescribe how to work with non-relational data on AzureMedium

A gaming company is developing a new multiplayer online game that needs to store player profiles, game statistics, and leaderboards. The data requires extremely low latency reads and writes, global distribution to serve players worldwide, and the ability to scale elastically to handle millions of concurrent users. Which Azure non-relational database service is best suited for these requirements?

  1. AAzure SQL Database
  2. BAzure Table Storage
  3. CAzure Database for PostgreSQL
  4. DAzure Cosmos DB
Show answer & explanation

Correct answer: D. Azure Cosmos DB

Azure Cosmos DB is designed for globally distributed, highly scalable, and low-latency applications, making it ideal for gaming scenarios with millions of concurrent users requiring fast access to player data. Its multi-model capabilities can also accommodate diverse data types like profiles and leaderboards.

Why the other options are wrong

  • A. Azure SQL Database is a relational database service, not optimized for the flexible schema, global distribution, and extreme low-latency requirements of this non-relational gaming scenario.
  • B. Azure Table Storage offers a simple key-value store but lacks the global distribution, advanced query capabilities, and guaranteed low latency of Cosmos DB for demanding gaming scenarios.
  • C. Azure Database for PostgreSQL is a relational database service and is not designed for the global distribution, flexible schema, and ultra-low latency demands of this non-relational gaming use case.

Azure Cosmos DB Core Capabilities

Azure Cosmos DB is a globally distributed, multi-model database service that offers guaranteed low latency, high throughput, and elastic scalability for mission-critical applications worldwide.

  • Globally distributed with multi-region write capabilities.
  • Guaranteed single-digit millisecond latency for reads and writes.
  • Elastic scalability of throughput and storage.
  • Supports multiple APIs (SQL, MongoDB, Cassandra, Gremlin, Table).

Memory trick: Think 'Cosmos DB: Global, Fast, Elastic' for ultimate game power.

More Describe how to work with non-relational data on Azure questions