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 81 discussion

A company is building an electronic document management system in which users upload their documents. The application stack is entirely serverless and runs on AWS in the eu-central-1 Region. The system includes a web application that uses an Amazon CloudFront distribution for delivery with Amazon S3 as the origin. The web application communicates with Amazon API Gateway Regional endpoints. The API Gateway APIs call AWS Lambda functions that store metadata in an Amazon Aurora Serverless database and put the documents into an S3 bucket.
The company is growing steadily and has completed a proof of concept with its largest customer. The company must improve latency outside of Europe.

Which combination of actions will meet these requirements? (Choose two.)

  • A. Enable S3 Transfer Acceleration on the S3 bucket. Ensure that the web application uses the Transfer Acceleration signed URLs.
  • B. Create an accelerator in AWS Global Accelerator. Attach the accelerator to the CloudFront distribution.
  • C. Change the API Gateway Regional endpoints to edge-optimized endpoints.
  • D. Provision the entire stack in two other locations that are spread across the world. Use global databases on the Aurora Serverless cluster.
  • E. Add an Amazon RDS proxy between the Lambda functions and the Aurora Serverless database.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
masetromain
Highly Voted 2 years, 3 months ago
Selected Answer: AC
A and C are correct answers. A. Enable S3 Transfer Acceleration on the S3 bucket and ensure that the web application uses the Transfer Acceleration signed URLs will accelerate the uploads of documents to S3 bucket, this will help to reduce the latency for users outside of Europe. C. Change the API Gateway Regional endpoints to edge-optimized endpoints will help the company to improve the latency by caching the responses of the API Gateway closer to the users.
upvoted 23 times
e4bc18e
1 year ago
A is wrong because why would you enable transfer acceleration when transfer acceleration uses the cloudfront distribution system. it makes no sense
upvoted 1 times
zolthar_z
9 months, 2 weeks ago
S3 Global acceleration is used to upload files, so, the users can upload faster the documents in any part of the world
upvoted 1 times
...
...
bcx
1 year, 10 months ago
A is wrong because the users of S3 are the lambda functions, not the end user. "The API Gateway APIs call AWS Lambda functions that store metadata in an Amazon Aurora Serverless database and put the documents into an S3 bucket."
upvoted 3 times
Sab
1 year, 7 months ago
Users of S3 are not lambda, lambda is used only for writing to serverless database. Also, Aurora serverless global database only writes in one cluster and the other region cluster are used only for reads. So no matter from which location you upload, the metadata will be written to cluster in Central Europe . If it was Global DynnamoDB table then it could have helped to reduce latency.
upvoted 2 times
ninomfr64
1 year, 3 months ago
"web app uses CloudFront distribution for delivery with Amazon S3 as the origin" and "Lambda functions that store metadata in an Amazon Aurora Serverless database and put the documents into an S3 bucket" these 2 sentences let me think that users are not uploading via CluodFront into the S3 bucket at its origin, rather docs are uploaded from the Lambda
upvoted 2 times
...
...
...
masetromain
2 years, 3 months ago
B. Creating an accelerator in AWS Global Accelerator and attaching it to the CloudFront distribution will not help in this scenario as it only helps to route the traffic to the optimal endpoint based on the location of the user. D. Provisioning the entire stack in two other locations that are spread across the world and using global databases on the Aurora Serverless cluster will help to reduce the latency but it would be more complex to implement and manage. E. Adding an Amazon RDS proxy between the Lambda functions and the Aurora Serverless database will not help in this scenario because it is only used to improve connection management and load balancing for Amazon RDS databases, but not for Aurora Serverless databases.
upvoted 5 times
masetromain
2 years, 3 months ago
https://www.examtopics.com/discussions/amazon/view/69470-exam-aws-certified-solutions-architect-professional-topic-1/
upvoted 2 times
...
Japanese1
1 year, 5 months ago
Complexity is not evidence against option D. Furthermore, option D is correct because the question statement also suggests that costs can be incurred. On the other hand, A is not a method to eliminate geographical factors.
upvoted 1 times
hussainbaloch1002
4 months ago
D does not mention how to route traffic
upvoted 1 times
...
...
...
...
caputmundi666
Most Recent 1 month ago
Selected Answer: CD
CD - for me. I don't understand why S3 Transfer Acceleration is better than D sincethe transfer from lambda is already on AWS's backbone.
upvoted 1 times
...
ParamD
1 month, 2 weeks ago
Selected Answer: AC
A is correct because it is with signed url option, lambda will facilitate signed url generation and file will be uploaded directly to S3 with transfer acceleration
upvoted 1 times
...
zolthar_z
9 months, 2 weeks ago
Selected Answer: AC
AC will improve latency using AWS edge locations worldwide, adding 2 locations will only benefit those 2 locations
upvoted 1 times
...
gfhbox0083
10 months ago
A, C for sure. B is wrong; AWS Global Accelerator and Amazon CloudFront are separate services that use the AWS global network and its edge locations around the world. CloudFront improves performance for both cacheable content (such as images and videos) and dynamic content (such as API acceleration and dynamic site delivery). Global Accelerator improves performance for a wide range of applications over TCP or UDP by proxying packets at the edge to applications running in one or more AWS Regions. Global Accelerator is a good fit for non-HTTP use cases, such as gaming (UDP), IoT (MQTT), or Voice over IP, as well as for HTTP use cases that specifically require static IP addresses or deterministic, fast regional failover. Both services integrate with AWS Shield for DDoS protection.
upvoted 2 times
...
red_panda
1 year ago
Selected Answer: AC
A and C for me are the correct answers. D is not so usefull as we are recreating the entire stack and increase a lot the costs. As first approach, A and C are the most appropriate
upvoted 2 times
...
failexamonly
1 year, 1 month ago
Selected Answer: AC
Aurora serverless does not support global database. search DB instance class requirements in https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-getting-started.html
upvoted 3 times
bacharbhouri
11 months, 2 weeks ago
it does in V2. [] https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html#aurora-serverless-v2.advantages : Using Aurora Serverless v2 - Advantages of Aurora Serverless v2
upvoted 1 times
...
...
Dgix
1 year, 1 month ago
Selected Answer: AC
By elimination: B is pointless, as CF already does geo proximity. D is impossible as global DBs aren't supported by Aurora Serverless. E doesn't really help. Remaining: A and C, which are sensible and will do the trick.
upvoted 2 times
...
gofavad926
1 year, 1 month ago
Selected Answer: AC
AC, s3 transfer acceleration + edge-optimised api gateway
upvoted 2 times
...
ninomfr64
1 year, 3 months ago
Selected Answer: CD
This is tricky. Here is my take having in mind that the question is "The company must improve latency outside of Europe",. A = Transfer Acceleration improves upload/downlad time, but we have already CloudFront that can also be used to speedup upload. This will not further improve. Also I don't know how to combine TA with CF B = This will not help and also I don't know how to combine GA with CF C = correct D = correct E = RDS Proxy do not improve latency
upvoted 2 times
djeong95
1 year, 2 months ago
Looks like D is wrong because you don't use global databases on the Aurora Serverless cluster. That is just not a feature given by Aurora Serverless (even v2). However, it does support using Aurora Serverless in global databases. "The secondary clusters" in the link below is a reference to Aurora Global Database. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.how-it-works.html#aurora-serverless.ha:~:text=You%20can%20use%20Aurora%20Serverless%20v2%20capacity%20in%20the%20secondary%20clusters%20so%20they%27re%20ready%20to%20take%20over%20during%20disaster%20recovery.
upvoted 1 times
grumpysloth
4 months, 2 weeks ago
"Aurora Serverless v2 supports all manner of database workloads. Examples include development and test environments, websites, and applications that have infrequent, intermittent, or unpredictable workloads to the most demanding, business critical applications that require high scale and high availability. It supports the full breadth of Aurora features, including global database, Multi-AZ deployments, and read replicas. Aurora Serverless v2 is available for the Amazon Aurora MySQL-Compatible Edition and PostgreSQL-Compatible Edition."
upvoted 1 times
...
djeong95
1 year, 2 months ago
In addition, we are more likely to get latency from Lambda functions loading documents into S3 from API Gateway calls than we are from Lambda functions loading metadata into Aurora Serverless DB. https://aws.amazon.com/blogs/compute/uploading-large-objects-to-amazon-s3-using-multipart-upload-and-transfer-acceleration/
upvoted 1 times
...
...
...
JMAN1
1 year, 4 months ago
Selected Answer: CD
Tricky Tricky. A. Enable S3 Transfer Acceleration on the S3 bucket. Ensure that the web application uses the Transfer Acceleration signed URLs. -> Wrong. No such thing like TA signed URLs. B. Create an accelerator in AWS Global Accelerator. Attach the accelerator to the CloudFront distribution. -> Wrong GA does not support CF. C. Change the API Gateway Regional endpoints to edge-optimized endpoints. D. Provision the entire stack in two other locations that are spread across the world. Use global databases on the Aurora Serverless cluster. E. Add an Amazon RDS proxy between the Lambda functions and the Aurora Serverless database. -> Wrong. It is not related with latency.
upvoted 3 times
jpa8300
1 year, 4 months ago
Yes there is, https://stackoverflow.com/questions/37437782/aws-transfer-acceleration-with-pre-signed-urls-using-javascript-sdk
upvoted 1 times
JMAN1
1 year, 3 months ago
Sorry. I was wrong. Answer is A C. serverless does not support global database and RDS proxy.
upvoted 1 times
JMAN1
1 year, 3 months ago
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations
upvoted 1 times
bacharbhouri
11 months, 2 weeks ago
it does in V2. [] https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html#aurora-serverless-v2.advantages : Using Aurora Serverless v2 - Advantages of Aurora Serverless v2
upvoted 1 times
...
...
...
...
...
[Removed]
1 year, 4 months ago
Selected Answer: AC
A and C makes sense. A is clear as what masetromain has explained. C, An edge-optimized API endpoint typically routes requests to the nearest CloudFront Point of Presence (POP). It certaintly improve the latency of traffic originating from Europe as the traffic will now be directed to the nearest POP instead of the origin API Gateway.
upvoted 2 times
...
severlight
1 year, 5 months ago
Selected Answer: AC
see Sab answer
upvoted 1 times
...
wookchan
1 year, 6 months ago
"The company must improve latency outside of Europe." Then in where are you going to provision an additional stack? It only says "outside of Europe." USA? Asia? Where? You have to consider an overall latency. I'll go for AC
upvoted 1 times
...
AMohanty
1 year, 7 months ago
AD Issue is minimize latency for "users uploading documents" Its NOT an issue with the latency of website being delivered to the users. Global Accelerator - Is used to decrease latency in having the user request delivered using AWS backbone network to the point of Origin But it doesnt accelerate delivery of uploaded files into S3 .... so A is a better option. RDS Proxy is used to decrease the time in establishing the DB connectivity ... It keeps few DB connections on warm-by condition. Option D doesn't help in reducing cross-Region latency API Gateway edge point will reduce the latency in serving the website closer to ur location. But here question is about uploading document. Aurora Serverless Global - can be used for uploading meta-data reducing latency time.
upvoted 1 times
...
uC6rW1aB
1 year, 8 months ago
Selected Answer: AC
On a global scale, and particularly for users outside of Europe, the API Gateway and S3 access operations are the most likely components to introduce significant latency. For the API Gateway, changing from regional endpoints to edge-optimized endpoints would bring API calls closer to global users. For S3, enabling Transfer Acceleration would speed up the uploading and downloading of files. Therefore, based on the provided system overview, these two components are the most likely areas needing optimization to reduce latency.
upvoted 2 times
...
Gabehcoud
1 year, 8 months ago
Selected Answer: CD
even though option D is complex, it would decrease the latency outside eu region.
upvoted 2 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