AWS Certified Solutions Architect – Professional (SAP-C02) — Question 420

A global company has a mobile app that displays ticket barcodes. Customers use the tickets on the mobile app to attend live events. Event scanners read the ticket barcodes and call a backend API to validate the barcode data against data in a database. After the barcode is scanned, the backend logic writes to the database's single table to mark the barcode as used.

The company needs to deploy the app on AWS with a DNS name of api.example.com. The company will host the database in three AWS Regions around the world.

Which solution will meet these requirements with the LOWEST latency?

Answer options

Correct answer: D

Explanation

Amazon DynamoDB global tables provide fully managed, multi-region, active-active replication, making them ideal for low-latency read and write operations on a single table. Lambda@Edge allows backend validation logic to run at edge locations closest to the users and can connect directly to DynamoDB, whereas CloudFront Functions cannot perform external network calls. Amazon Aurora global databases rely on a single primary writer region, which introduces significant latency for write operations originating from other regions.