Question

Difficulty: EasyAWS Database Services

A gaming startup is designing a mobile application and needs a database to store and retrieve player profiles, game states, and leaderboard scores using simple key-value lookups. The database must automatically scale to support millions of active players while maintaining single-digit millisecond latency. Which AWS database service is best suited for this requirement?

  1. Amazon DynamoDBAnswer
  2. B
    Amazon RDS for PostgreSQL
  3. C
    Amazon Redshift
  4. D
    Amazon S3

Answer

Amazon DynamoDB
Amazon DynamoDB is the correct choice because it is a fully managed, serverless NoSQL database service that supports both document and key-value store models. It automatically scales to meet demand while maintaining consistent, single-digit millisecond latency, which fits the requirements of storing player profiles and leaderboard scores for millions of users.

Step-by-Step Solution

1
Analyze the application requirements.
The application requires key-value storage, automatic scaling for millions of players, and single-digit millisecond latency.
This helps determine whether a relational, non-relational, or analytical storage model is required.
2
Evaluate the database options against the requirements.
Amazon DynamoDB is a managed NoSQL database designed specifically for low-latency, key-value access at any scale.
Relational options (like Amazon RDS) are built for structured SQL operations, and analytical options (like Amazon Redshift) are built for reporting, leaving DynamoDB as the optimal match.

Key Concept

Selecting the appropriate AWS database service based on data structure and performance requirements.
Estimated Time:45s
Rate this question