
Ultimate access to all questions.
A global company requires a mobile app for displaying ticket barcodes used at live events. The app's backend API validates barcode data against a database upon scanning. The company aims to deploy this app on AWS with the DNS name api.example.com and host the database across three AWS regions worldwide. What is the most efficient solution to achieve the lowest latency for this setup?
A
Utilize Amazon Aurora global database clusters for the database, and deploy the backend on three Amazon Elastic Container Service (Amazon ECS) clusters in the same regions. Use AWS Global Accelerator to direct requests to the nearest ECS cluster, and set up an Amazon Route 53 record to link api.example.com to the accelerator endpoint.
B
Employ Amazon Aurora global database clusters for the database, and set up the backend on three Amazon Elastic Kubernetes Service (Amazon EKS) clusters in the same regions. Configure an Amazon CloudFront distribution with these clusters as origins, directing requests to the nearest EKS cluster, and create an Amazon Route 53 record to associate api.example.com with the CloudFront distribution.
C
Implement Amazon DynamoDB global tables for the database, and establish an Amazon CloudFront distribution. Integrate the CloudFront distribution with a CloudFront function containing the backend logic for barcode validation. Map api.example.com to the CloudFront distribution via an Amazon Route 53 record.
D
Adopt Amazon DynamoDB global tables for the database, and create an Amazon CloudFront distribution. Incorporate the CloudFront distribution with a Lambda@Edge function that includes the backend logic for barcode validation. Establish an Amazon Route 53 record to connect api.example.com with the CloudFront distribution.