exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

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

Exam AWS Certified Solutions Architect - Professional topic 1 question 432 discussion

An organization has a write-intensive mobile application that uses Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. The application has scaled well, however, costs have increased exponentially because of higher than anticipated Lambda costs. The application's use is unpredictable, but there has been a steady 20% increase in utilization every month.
While monitoring the current Lambda functions, the Solutions Architect notices that the execution-time averages 4.5 minutes. Most of the wait time is the result of a high-latency network call to a 3-TB MySQL database server that is on-premises. A VPN is used to connect to the VPC, so the Lambda functions have been configured with a five-minute timeout.
How can the Solutions Architect reduce the cost of the current architecture?
A.
✑ Replace the VPN with AWS Direct Connect to reduce the network latency to the on-premises MySQL database.
✑ Enable local caching in the mobile application to reduce the Lambda function invocation calls.
✑ Monitor the Lambda function performance; gradually adjust the timeout and memory properties to lower values while maintaining an acceptable execution time.
✑ Offload the frequently accessed records from DynamoDB to Amazon ElastiCache.
B.
✑ Replace the VPN with AWS Direct Connect to reduce the network latency to the on-premises MySQL database.
✑ Cache the API Gateway results to Amazon CloudFront.
✑ Use Amazon EC2 Reserved Instances instead of Lambda.
✑ Enable Auto Scaling on EC2, and use Spot Instances during peak times.
✑ Enable DynamoDB Auto Scaling to manage target utilization.
C.
✑ Migrate the MySQL database server into a Multi-AZ Amazon RDS for MySQL.
✑ Enable caching of the Amazon API Gateway results in Amazon CloudFront to reduce the number of Lambda function invocations.
✑ Monitor the Lambda function performance; gradually adjust the timeout and memory properties to lower values while maintaining an acceptable execution time.
✑ Enable DynamoDB Accelerator for frequently accessed records, and enable the DynamoDB Auto Scaling feature.
D.
✑ Migrate the MySQL database server into a Multi-AZ Amazon RDS for MySQL.
✑ Enable API caching on API Gateway to reduce the number of Lambda function invocations.
✑ Continue to monitor the AWS Lambda function performance; gradually adjust the timeout and memory properties to lower values while maintaining an acceptable execution time.
✑ Enable Auto Scaling in DynamoDB.

Show Suggested Answer Hide Answer
Suggested Answer: A

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
Bulti
Highly Voted 3 years, 7 months ago
Answer is D. Because this is a write-intensive application, it makes sense to cache post, put calls in API Gateway. if it was a read intensive application then using CloudFront or even the client-side cache would have helped. So the answer is D.
upvoted 21 times
NickGR
3 years, 7 months ago
I would agree with D but my only concern is the "The application has scaled well" and in C-D solutions, we are enabling again the Autoscale of DynamoDB. It doesn't make any sense. I believe is A because it's also the most cost-effective answer.
upvoted 2 times
student2020
3 years, 7 months ago
I dont see how implementing a DX solution is cost effective. I think D is more cost effective. There is no mention of which part of the application has scaled well, so implementing auto-scaling on dynamodb is an acceptable answer
upvoted 3 times
...
...
...
Ebi
Highly Voted 3 years, 7 months ago
D is my answer
upvoted 13 times
...
BKhan
Most Recent 1 year, 5 months ago
D is good Answer
upvoted 1 times
...
TravelKo
1 year, 9 months ago
I would go with D.
upvoted 1 times
...
SkyZeroZx
1 year, 11 months ago
I will go with D.
upvoted 1 times
...
fanq10
2 years, 8 months ago
The answer is A. Here the key word is "reduce the cost of the current architecture". If you migrate 3TB MySQL to RDS, the Database Storage for Multi-AZ cost will cost $700 per month, which will result in a cost increase.
upvoted 1 times
fanq10
2 years, 8 months ago
continue the previous post..... If using instance type db.t3.medium costs about $100 per month, plus the Database Storage cost, it can increase the cost by $800 per month, which does not count Data Transfer cost yet. So the Answer is A.
upvoted 1 times
...
examaws
2 years, 7 months ago
Using rds reduce the tco cost of your datacenter for database. It's true that it will add rds cost, but reducing server tco plus dx solution is not cheap.
upvoted 1 times
...
...
Sizuma
2 years, 9 months ago
Correct Answer: D
upvoted 2 times
...
user0001
3 years ago
A is wrong because write-intensive and this option use elastic cache
upvoted 2 times
...
Kuang
3 years, 2 months ago
D is my answer
upvoted 1 times
...
cldy
3 years, 5 months ago
D. ✑ Migrate the MySQL database server to Amazon RDS for MySQL Multi-AZ. ✑ Enable API caching on the API Gateway to minimize Lambda function calls. ✑ Continue to monitor the performance of the AWS Lambda function; progressively reduce the timeout and memory attributes while keeping an acceptable execution time. ✑ Enable DynamoDB's auto scaling.
upvoted 1 times
...
AzureDP900
3 years, 5 months ago
D is more cost effective for sure
upvoted 2 times
...
andylogan
3 years, 6 months ago
It's D
upvoted 1 times
...
nodogoshi
3 years, 6 months ago
D. A make cost higher by direct connect.
upvoted 1 times
...
student22
3 years, 7 months ago
Answer is D. My main reason for selecting D over C is because C uses DynamoDB Accelerator which adds to the cost but might not be that effective because this is a 'write-intensive' app.
upvoted 2 times
...
tgv
3 years, 7 months ago
DDD ---
upvoted 1 times
...
AWS_Noob
3 years, 7 months ago
D seems the best. Using DX is going to take a while to implement and may not be cheaper than the VPN. Caching at API Gateway is preferred. This is a tough question, it gave me a headache reading it lol
upvoted 2 times
...
Akhil254
3 years, 7 months ago
D Correct
upvoted 1 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 ...