Medium1 markMultiple Choice
Domain 2.5: PerformancePerformanceElastiCacheAurora

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

A read-heavy news website uses Amazon Aurora MySQL. During breaking news events, the database CPU spikes to 100% due to millions of identical read queries, causing the site to crash. How can the architect improve performance with minimal code changes?

Answer options:

A.

Migrate the database to DynamoDB.

B.

Implement Amazon ElastiCache for Redis in front of the database to cache query results.

C.

Enable Aurora Serverless v2.

D.

Use Amazon SQS to queue the read requests.

How to approach this question

Identify the best solution for identical, read-heavy database queries.

Full Answer

B.Implement Amazon ElastiCache for Redis in front of the database to cache query results.✓ Correct
Implement Amazon ElastiCache for Redis in front of the database to cache query results.
Amazon ElastiCache provides an in-memory caching layer. By caching the results of common queries, you drastically reduce the load on the Aurora database during traffic spikes.

Common mistakes

Choosing Aurora Serverless, which might not scale fast enough for sudden 'breaking news' spikes compared to a cache.

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

75 questions · hints · full answers · grading

More questions from this exam