exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 426 discussion

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?

  • A. Host the database on Amazon Aurora global database clusters. Host the backend on three Amazon Elastic Container Service (Amazon ECS) clusters that are in the same Regions as the database. Create an accelerator in AWS Global Accelerator to route requests to the nearest ECS cluster. Create an Amazon Route 53 record that maps api.example.com to the accelerator endpoint
  • B. Host the database on Amazon Aurora global database clusters. Host the backend on three Amazon Elastic Kubernetes Service (Amazon EKS) clusters that are in the same Regions as the database. Create an Amazon CloudFront distribution with the three clusters as origins. Route requests to the nearest EKS cluster. Create an Amazon Route 53 record that maps api.example.com to the CloudFront distribution.
  • C. Host the database on Amazon DynamoDB global tables. Create an Amazon CloudFront distribution. Associate the CloudFront distribution with a CloudFront function that contains the backend logic to validate the barcodes. Create an Amazon Route 53 record that maps api.example.com to the CloudFront distribution.
  • D. Host the database on Amazon DynamoDB global tables. Create an Amazon CloudFront distribution. Associate the CloudFront distribution with a Lambda@Edge function that contains the backend logic to validate the barcodes. Create an Amazon Route 53 record that maps api.example.com to the CloudFront distribution.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
HunkyBunky
Highly Voted 1 year, 2 months ago
Selected Answer: D
D is the proper answer CloudFront Functions - can be used only for manipulation with requests data CloudFront Lambda@Edge functions - can be used for anything, because this is a regular lambda function
upvoted 6 times
...
alexis123456
Highly Voted 1 year, 2 months ago
Correct Answer is A
upvoted 6 times
...
sergza888
Most Recent 3 weeks, 1 day ago
Selected Answer: A
I do not think it is Lambda@Edge use case which are mostly addressing routing or content management type of things or A/B testing. It is write intensive so i would choose Aurora and Global Accelerator and this is not about content cache (Cloud front)
upvoted 1 times
...
LeoSantos121212121212121
3 weeks, 6 days ago
Selected Answer: A
Aurora Global Database provides low-latency read access from multiple Regions and allows writes in a primary Region. Since the system only marks the ticket as used once, it's safe to centralize writes. ECS clusters deployed regionally offer scalable, containerized API backends. AWS Global Accelerator routes users to the closest backend ECS cluster using the AWS edge network, minimizing latency and maximizing performance. Route 53 maps the DNS (api.example.com) to the Global Accelerator endpoint.
upvoted 1 times
...
AzureDP900
5 months, 3 weeks ago
Option D is correct DynamoDB global tables: By hosting your database in multiple Regions, you can reduce latency for users located in different parts of the world. CloudFront: You can use CloudFront as a CDN to cache static assets and route dynamic requests to the nearest origin. In this case, it will direct users to the Lambda@Edge function closest to them. Lambda@Edge functions: These allow you to execute code at the edge of the network, which reduces latency and improves performance. Using Lambda@Edge functions in conjunction with DynamoDB global tables provides a great combination for reducing latency and improving performance.
upvoted 1 times
...
9f02c8d
11 months ago
Option: D
upvoted 1 times
...
red_panda
11 months, 3 weeks ago
Selected Answer: D
D withoud any doubt. For this simple data, a DynamoDB Table is enought; so global table is perfect. For check logic, cloudfront function is not enought because it is only for manipulate HTTP header or something very very light (code, metadata etc.). So for calling some backend layer (querying DynamoDB in this case) we need a Lambda@Edge function, which is much complete.
upvoted 5 times
...
career360guru
1 year, 1 month ago
Selected Answer: D
Option D
upvoted 1 times
...
TheCloudGuruu
1 year, 2 months ago
Selected Answer: D
D. Lambda@Edge
upvoted 4 times
...
kejam
1 year, 2 months ago
Selected Answer: D
https://aws.amazon.com/blogs/networking-and-content-delivery/leveraging-external-data-in-lambdaedge/ https://aws.amazon.com/blogs/networking-and-content-delivery/lambdaedge-design-best-practices/
upvoted 5 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago