AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A global e-commerce company uses an Amazon RDS for PostgreSQL Single-AZ database to manage its product catalog and user data. During peak traffic, the application experiences significant performance degradation due to high read load on the database. The development team has identified that most of the read operations, such as browsing products, do not require real-time data and can tolerate a few seconds of replication lag. However, a critical requirement is that when users update their profile information, subsequent reads of their own profile must reflect the changes immediately to avoid a poor user experience.

A solutions architect needs to design a solution that improves read performance while ensuring read-after-write consistency for user-specific updates. Which approach should the architect recommend?

  • Deploy multiple RDS Read Replicas in different Availability Zones. Configure the application to route general read queries, like product catalog browsing, to the read replica fleet. For user-specific data, modify the application to direct all read queries for a user to the primary database instance for a set duration immediately following a write operation by that same user.

  • Implement Amazon ElastiCache for Redis as a caching layer in front of the RDS database. Configure the application to read from the cache first and only query the database on a cache miss. Use a write-through caching strategy to keep the cache and database synchronized.

  • Create a cross-region read replica in a different AWS Region. Use an Amazon Route 53 latency-based routing policy to direct read queries from global users to the replica with the lowest latency and send all write traffic to the primary database.

  • Migrate the database to an Amazon Aurora PostgreSQL cluster. Use the reader endpoint for all read traffic and the cluster endpoint for all write traffic. Rely on Aurora's shared storage architecture to ensure all reads are consistent.

AWS Certified Solutions Architect Professional SAP-C02
Design for New Solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot