Easy1 markMultiple Choice
Domain 2.5: PerformancePerformanceDynamoDBDAX

AWS SAP-C02 · Question 08 · Domain 2.5: Performance

An e-commerce platform uses Amazon DynamoDB as its primary database. During flash sales, read traffic spikes unpredictably, causing read throttling and degraded performance. The architecture team wants to improve read performance with microsecond latency while minimizing changes to the application code. Which solution is MOST appropriate?

Answer options:

A.

Implement Amazon DynamoDB Accelerator (DAX) and update the application to use the DAX client.

B.

Deploy Amazon ElastiCache for Redis and rewrite the application data access layer to check the cache before querying DynamoDB.

C.

Enable DynamoDB auto-scaling for read capacity units (RCUs) and set the maximum capacity to 100,000.

D.

Migrate the database to Amazon Aurora PostgreSQL and use Aurora Read Replicas to handle the read traffic.

How to approach this question

Identify the caching solution specifically designed for DynamoDB that requires minimal code changes.

Full Answer

A.Implement Amazon DynamoDB Accelerator (DAX) and update the application to use the DAX client.✓ Correct
Implement Amazon DynamoDB Accelerator (DAX) and update the application to use the DAX client.
DynamoDB Accelerator (DAX) is an in-memory cache specifically for DynamoDB. Because it is API-compatible with DynamoDB, you only need to change the endpoint your application connects to, requiring minimal code refactoring compared to implementing a custom caching layer with Redis or Memcached.

Common mistakes

Choosing ElastiCache, which requires heavy application refactoring.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 5

75 questions · hints · full answers · grading

More questions from this exam