Soru

Zorluk: OrtaHigh-Performing Database Solutions

A gaming company is launching a multiplayer game and expects highly unpredictable traffic spikes during promotional events. The application requires microsecond read latency for player profiles and must scale dynamically to handle sudden write surges. A solutions architect chooses to use Amazon DynamoDB to store the profile data. Which database configurations should the solutions architect implement to meet these requirements? (Select TWO.)

  1. Configure the DynamoDB table to use on-demand capacity mode.Cevap
  2. Deploy Amazon DynamoDB Accelerator (DAX) to cache read requests.Cevap
  3. C
    Configure the DynamoDB table to use provisioned capacity mode and enable auto scaling.
  4. D
    Design the table's partition key using a monotonically increasing timestamp.
  5. E
    Migrate the data to Amazon RDS for MySQL and configure read replicas as the primary automatic failover target.

Cevap

Configure the DynamoDB table to use on-demand capacity mode and deploy Amazon DynamoDB Accelerator (DAX) to cache read requests.
Configuring the DynamoDB table to use on-demand capacity mode ensures that DynamoDB scales instantly to handle sudden, unpredictable write spikes without throttling. Deploying Amazon DynamoDB Accelerator (DAX) provides an in-memory cache that reduces read response times from milliseconds to microseconds, meeting the low-latency read requirements.

Adım Adım Çözüm

1
Analyze the read latency requirement.
The application requires microsecond read latency.
Standard DynamoDB read response times are in single-digit milliseconds. Implementing Amazon DynamoDB Accelerator (DAX) is required to reduce read response times to microseconds.
2
Analyze the write scaling and traffic pattern requirements.
The workload is highly unpredictable with sudden spikes.
DynamoDB on-demand capacity mode is designed for workloads with unpredictable traffic spikes, providing instant capacity scaling without the delay associated with provisioned capacity auto scaling.

Anahtar Kavram

To achieve microsecond read latency and handle highly unpredictable traffic spikes with Amazon DynamoDB, solutions architects should combine DynamoDB Accelerator (DAX) for caching and on-demand capacity mode for instant scaling.
Bu soruyu puanla