Architecture Design and Implementation Built for the Cloud

A purchasing application requires database-enforced foreign keys, atomic updates across related tables, and interactive joins whose predicates change frequently. Demand varies sharply, and the team wants database compute to scale automatically without application-managed sharding. Which design best meets these requirements?

Show the answer

Correct answerA. Amazon Aurora PostgreSQL-Compatible with serverless compute

AWhy this is right: Aurora supports enforced foreign keys, multi-table transactions, and joins; serverless compute adjusts capacity with demand.

BWhy not this: On-demand capacity scales requests, but DynamoDB does not provide native relational joins or database-enforced foreign keys.

CWhy not this: Athena queries lake data but does not provide the relational constraint enforcement required by the transactional application.

DWhy not this: Redshift supports analytical SQL, but it does not enforce foreign key constraints and is not designed for this transactional workload.

Aurora PostgreSQL-Compatible provides enforced relational constraints, transactional updates, and flexible joins, while serverless compute adjusts capacity. Redshift Serverless scales analytical processing, but foreign key constraints are informational rather than enforced.