exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 879 discussion

A company runs an ecommerce application on AWS. Amazon EC2 instances process purchases and store the purchase details in an Amazon Aurora PostgreSQL DB cluster.

Customers are experiencing application timeouts during times of peak usage. A solutions architect needs to rearchitect the application so that the application can scale to meet peak usage demands.

Which combination of actions will meet these requirements MOST cost-effectively? (Choose two.)

  • A. Configure an Auto Scaling group of new EC2 instances to retry the purchases until the processing is complete. Update the applications to connect to the DB cluster by using Amazon RDS Proxy.
  • B. Configure the application to use an Amazon ElastiCache cluster in front of the Aurora PostgreSQL DB cluster.
  • C. Update the application to send the purchase requests to an Amazon Simple Queue Service (Amazon SQS) queue. Configure an Auto Scaling group of new EC2 instances that read from the SQS queue.
  • D. Configure an AWS Lambda function to retry the ticket purchases until the processing is complete.
  • E. Configure an Amazon AP! Gateway REST API with a usage plan.
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
sandordini
Highly Voted 11 months ago
Selected Answer: AC
A) uses RDS Proxy which is mainly for connection pooling and availability issues. Proxy is for too many connections(, not for performance: read replicas, caching) B is caching which is designed for solving read-issues. (Here we have timeouts, and connection issues.) C: SQS is good method for decoupling.
upvoted 8 times
...
Abdullah_Cloud
Highly Voted 11 months ago
Selected Answer: BC
i think it's BC
upvoted 5 times
...
tch
Most Recent 2 days, 20 hours ago
Selected Answer: BC
application timeouts... not database connection timeout
upvoted 1 times
...
nadeerm
2 weeks, 4 days ago
Selected Answer: BC
Amazon ElastiCache (Option B): ElastiCache can cache frequently accessed data, reducing the load on the Aurora PostgreSQL database. This improves read performance and reduces latency, which helps handle peak traffic more efficiently. Amazon SQS with Auto Scaling (Option C): By sending purchase requests to an SQS queue, the application can decouple the front-end from the back-end processing. An Auto Scaling group of EC2 instances can process messages from the queue, ensuring that the system scales dynamically based on demand. This approach ensures that purchase requests are processed asynchronously, reducing the likelihood of timeouts during peak usage.
upvoted 1 times
...
ieffiong
3 weeks, 4 days ago
Selected Answer: BC
Combining A&C just leads to redundant auto scaling groups especially when you have SQS configured already. The question talks about combination of actions.
upvoted 1 times
...
LeonSauveterre
2 months, 3 weeks ago
Selected Answer: AC
A - RDS Proxy improves scalability and database connection pooling. B - Only helpful for read-heavy workloads. This question indicates "purchase transactions" (writes), so the main bottleneck is still there. C - SQS allows for better handling of bursts in traffic by queueing requests (which is also true for so many questions before #879). D - Cost-prohibitive at scale due to high invocation rates. And lambda is not suitable for long-running operations like database transactions. E - Irrelevant.
upvoted 2 times
GOTJ
1 month, 1 week ago
Even though your RDS proxy approach is correct, by choosing "AC" you are configuring two ASGs: one to process the purchase (option C) and one for... Retry the purchase (?) (option A) This is not cost effective In my opinion, designing architectures specifically to "retry" transactions (options AD), specially with timeout issues, is something that everyone should avoid, as it can easily degeneres into the "snowball" effect
upvoted 1 times
...
...
EllenLiu
3 months ago
Selected Answer: AB
why not choose B? C is wired design.
upvoted 1 times
...
Cpso
3 months, 3 weeks ago
Selected Answer: AB
As a developer choose both A&C is wired? while we use SQS solution to buffer request before handle by EC2 fleet. why we need EC2 in front of SQS from A.? what of thier propose.
upvoted 2 times
...
XXXXXlNN
5 months, 1 week ago
BC. Not idea why retry helps in this scenario besides it adds more complexity into the current design and also doesn't resolve the avalibility issue...
upvoted 3 times
...
b3b5fdd
5 months, 2 weeks ago
Selected Answer: BC
B and C!
upvoted 1 times
...
MatAlves
6 months, 1 week ago
Selected Answer: BC
A - simply pointless. B- You're already using SQS (C), so why using ec2 to "retry the purchase"? They will stay in the queue until the purchase is processed. Otherwise, they will simply return to the queue. C - This decouples the application from direct database calls, allowing the processing of purchase requests to scale independently and manage load more effectively.
upvoted 1 times
...
pujithacg8
7 months, 2 weeks ago
when we have SQS in option C why do you have to retry it again I think the answer is B and C
upvoted 4 times
...
EdricHoang
9 months, 2 weeks ago
Selected Answer: AC
Combine SQS and auto-scaling EC2: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html
upvoted 3 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