ScenarioCert
SAP-C03 ยท Architecture Design and Implementation Built for the Cloud (25-25%)

Design data, storage, and database architectures

Practice questions and explanations for the "Design data, storage, and database architectures" objective of the AWS Certified Solutions Architect - Professional exam. Skills measured as of 2026-10-29.

Skills in this objective

  • Design data lake and lakehouse architectures
  • Design real-time and batch analytics pipelines
  • Select appropriate database services based on workload requirements such as access patterns, consistency needs, and scalability
  • Design database scaling solutions to provide high availability
  • Design storage architectures based on access patterns and performance requirements
  • Design data caching strategies to optimize performance
  • Design data cataloging and cross-account data sharing patterns

Test yourself on this domain

Take the free 15-question test, or unlock all 150 questions and practice this domain on its own.

Sample questions

4 of the 8 questions we have for this objective, shown with the answer and the reasoning.

Design data, storage, and database architectures

Quillford Agritech collects soil readings from 2 million sensors every minute into an Amazon DynamoDB table. The prototype uses the reading date as the partition key, and writes are being throttled even though the table has ample total capacity. The application must retrieve the latest readings for a given sensor and must also list, for a given farm, the small number of sensors currently in an alarm state, without scanning the table.

Which table design should the solutions architect recommend?

  1. AUse farmId as the partition key and the reading timestamp as the sort key, and scan the table with a filter expression on the alarm status when listing a farm's sensors in alarm.Large farms would create hot partition keys, and scans read the entire table, which the requirement explicitly rules out.
  2. BUse sensorId as the partition key and timestamp as the sort key, with a sparse GSI keyed on farmId and alarmStatus, where alarmStatus is set only while a sensor is in alarm.sensorId spreads writes evenly across many partition keys, and a timestamp sort key lets a query return the latest readings for a sensor. Because alarmStatus is written only while a sensor is in alarm and removed when it clears, the GSI is sparse, and a query by farmId returns only the sensors currently in alarm.
  3. CKeep the date as the partition key and increase the table's provisioned write capacity.All writes for a day land on the same partition key, which creates a hot partition. Adding table capacity does not raise the per-partition throughput limit.
  4. DMove the readings to Amazon Aurora PostgreSQL with Aurora Serverless v2 and add B-tree indexes on the farm and alarm columns.A relational database can index these columns, but sustaining tens of thousands of writes per second requires significant scaling work that DynamoDB handles natively with a correct key design.
Why: DynamoDB performance at scale depends on choosing a partition key with high cardinality so that traffic spreads evenly, and on modeling each access pattern explicitly. A sensor ID partition key with a timestamp sort key supports the latest-readings query, while a sparse global secondary index efficiently answers the alarm query because only items with the indexed attribute appear in the index. A date partition key concentrates all current writes on one value, which causes throttling regardless of table capacity. The deciding requirements are the two access patterns and the no-scan constraint.
Design data, storage, and database architectures

Pellham Learning runs its course platform on an Amazon Aurora MySQL cluster with a single db.r6g.4xlarge writer in ap-southeast-2. Performance Insights shows that 85% of the load is read queries from student dashboards, which spike to five times normal at the start of each semester and then fall back. Writes are steady and well within the writer's capacity. The company has already scaled the writer up twice and wants a solution that handles future spikes cost-effectively.

What should the solutions architect recommend?

  1. AShard the database across three Aurora clusters by student ID.Sharding addresses write scaling, which is not the bottleneck, and requires significant application changes.
  2. BScale the writer up to db.r6g.16xlarge so that it can absorb the semester peaks.Scaling up pays for peak capacity all year, has an upper limit, and causes a brief interruption on each resize. It does not use the read-heavy pattern to advantage.
  3. CAdd Aurora Replicas, send dashboard reads to the reader endpoint, and use Aurora Auto Scaling on reader CPU utilization.Aurora Replicas share the cluster storage, so they scale reads out quickly, and Aurora Auto Scaling adds replicas based on reader CPU during semester peaks and removes them afterward, paying only for the capacity needed.
  4. DCreate an Aurora global database secondary cluster in ap-southeast-1 and send dashboard reads to its reader endpoint, scaling its replicas at semester start.A secondary Region adds cross-Region latency, replication and instance cost for a problem that is local to one Region.
Why: Choosing between scaling up and scaling out starts with identifying the bottleneck. When the load is mostly reads and the writer has spare write capacity, horizontal read scaling with replicas is cheaper and more elastic than repeatedly enlarging one instance. Aurora Replicas read from the shared cluster volume with typically low replica lag, and the reader endpoint spreads connections across them. Aurora Auto Scaling matches the replica count to demand, which suits a seasonal pattern.
Design data, storage, and database architectures

Thistledown Marketplace serves product detail pages from an API backed by Amazon RDS for PostgreSQL with five read replicas, which are all above 80 percent CPU during sales. Product data changes a few times a day, and pages may show data up to 5 minutes old. The product team wants sub-millisecond reads for product lookups and wants to reduce database cost rather than add more replicas.

Which solution should the solutions architect recommend?

  1. AAdd five more read replicas, distribute reads across all ten with Amazon RDS Proxy, and enable Performance Insights to tune the slowest product queries.More replicas raise cost, and relational reads remain in the millisecond range even after tuning, so neither the cost nor the latency goal is met.
  2. BPlace DynamoDB Accelerator (DAX) in front of the RDS read replicas.DAX is a cache for DynamoDB only and cannot cache queries against RDS for PostgreSQL.
  3. CMove the product tables to an Amazon Redshift cluster and query it from the API.Redshift is designed for analytical queries over large datasets, not for high-concurrency, low-latency key lookups from a web API.
  4. DDeploy an Amazon ElastiCache for Valkey cluster across Availability Zones with a cache-aside pattern and a 5-minute TTL for product lookups.An in-memory cache with replicas across Availability Zones returns hot product data in sub-millisecond time and absorbs most reads, which allows replicas to be removed. Lazy loading populates the cache on misses, and a 5-minute TTL keeps staleness within the stated limit.
Why: Read-heavy workloads whose data changes infrequently and can tolerate brief staleness are ideal for an in-memory cache in front of the database. Amazon ElastiCache returns results in sub-millisecond time, and a cache-aside pattern with a TTL bounds how old cached data can become. Offloading reads to the cache reduces the number of read replicas required, which lowers cost. The 5-minute staleness tolerance is the deciding constraint that makes caching safe here.
Design data, storage, and database architectures

Penhallow Retail runs its order database on Amazon Aurora PostgreSQL-Compatible Edition in eu-west-1. It is opening a fulfillment center in eu-central-1 whose local application reads product data heavily and occasionally updates order status. The architecture board requires replication lag to eu-central-1 of about one second, a recovery Region that can be promoted in minutes if eu-west-1 fails, and no application changes to route the occasional writes to a different endpoint.

Which solution meets these requirements?

  1. ASchedule AWS Backup to copy cluster snapshots to eu-central-1 every 15 minutes and restore a read-only cluster from the latest copy each day.Snapshot copies give an RPO of at least 15 minutes and a daily-refreshed read copy cannot accept writes, so neither the lag nor the write requirement is met.
  2. BUse AWS Database Migration Service with ongoing replication from eu-west-1 to a separate Aurora cluster in eu-central-1 and configure bidirectional replication for the order status updates.DMS bidirectional replication can create conflicts and loops, is not a managed failover mechanism, and requires ongoing task management for a requirement that Aurora handles natively.
  3. CConvert the cluster to an Aurora global database with a secondary cluster in eu-central-1, and enable write forwarding on the secondary cluster.Aurora Global Database replicates at the storage layer with typical lag under one second and supports promoting the secondary Region by switchover or failover. Write forwarding, enabled on the secondary cluster and supported on Aurora PostgreSQL 16 and later and on 15.4 and later 15 minor versions (with equivalent minimums for 14 and 13), lets the application in eu-central-1 send its occasional writes to the local secondary endpoint, which forwards them to the primary writer.
  4. DCreate a cross-Region read replica of the Aurora cluster in eu-central-1 using logical replication and have the fulfillment application send writes directly to the eu-west-1 writer endpoint.Self-managed logical replication adds operational effort and gives no managed cross-Region failover, and sending writes to a different endpoint is the application change the board wants to avoid.
Why: Aurora Global Database uses dedicated storage-level replication to secondary Regions, typically with less than one second of lag, and supports a managed switchover for planned events and a failover for unplanned Regional outages. Its write forwarding feature allows applications in a secondary Region to issue occasional writes against the local cluster endpoint while the primary performs them, which removes the need to change connection logic. The combination of low lag, fast Regional promotion and local writes is the deciding factor. Snapshot copies and DMS replication either miss the lag target or add significant operational burden.

Written from the public documentation. Not affiliated with AWS. Official study guide.