exam questions

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

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

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 522 discussion

A company is hosting a three-tier ecommerce application in the AWS Cloud. The company hosts the website on Amazon S3 and integrates the website with an
API that handles sales requests. The company hosts the API on three Amazon EC2 instances behind an Application Load Balancer (ALB). The API consists of static and dynamic front-end content along with backend workers that process sales requests asynchronously.
The company is expecting a significant and sudden increase in the number of sales requests during events for the launch of new products.
What should a solutions architect recommend to ensure that all the requests are processed successfully?

  • A. Add an Amazon CloudFront distribution for the dynamic content. Increase the number of EC2 instances to handle the increase in traffic.
  • B. Add an Amazon CloudFront distribution for the static content. Place the EC2 instances in an Auto Scaling group to launch new instances based on network traffic.
  • C. Add an Amazon CloudFront distribution for the dynamic content. Add an Amazon ElastiCache instance in front of the ALB to reduce traffic for the API to handle.
  • D. Add an Amazon CloudFront distribution for the static content. Add an Amazon Simple Queue Service (Amazon SQS) queue to receive requests from the website for later processing by the EC2 instances.
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
Robert_B
Highly Voted 3 years, 4 months ago
D - CORRECT; although B could work, it does say "abrupt change in sales" so more unpredictable and scaling the EC2 instances in ASG does not help as not only takes time but might also lose the unprocessed data. B would work if they prepare in advance with more instances "pre-warmed" before the sale day but still D is going to solve the unpredictability better.
upvoted 13 times
uos204
3 years, 3 months ago
totally agree, I think you hit in the nail when you say: abrupt change in sales so more unpredictable and scaling the EC2 instances in ASG does not help as not only takes time but might also lose the unprocessed data. Nobody wants to lose a sale request so if you set up to get more EC2, they will take time to be prepared to analyze the request and the customer wants to get a reply of the request asap.
upvoted 5 times
...
...
RidzV
Highly Voted 3 years, 5 months ago
Selected Answer: D
decoupling might help in the effective processing of all requests.
upvoted 7 times
...
lbertolini
Most Recent 2 years, 10 months ago
Selected Answer: D
Asynchronous => d, with SQS
upvoted 4 times
...
TecoCloud
2 years, 10 months ago
Ans is D Asynchronous - no real-time update required so sales can be queued and processed later that's work for SQS
upvoted 1 times
...
tburner
2 years, 11 months ago
Agreed with the person that said keyword 'asynchronous' leads me to believe SQS, so D
upvoted 2 times
bora4motion
2 years, 10 months ago
I still believe you need the right hardware to deal with that. That's what you do when you have a spike in the traffic. You scale to be able to deal with it, you don't queue it and deal...when you can.
upvoted 1 times
...
...
frizzino
3 years, 2 months ago
Selected Answer: B
D would work and it's cheaper but it's less efficient, you would still have only 3 vms for all the traffic. An autoscale group with the appropriate settings would work better.
upvoted 4 times
...
kitkwok
3 years, 3 months ago
I go for B, you can't use only three ec2 to handle abrupt surge requests, even with SQS, so what? you still only have three ec2. you use 10000 days to process all the requests?
upvoted 7 times
...
waiwaiyan
3 years, 3 months ago
D: Since S3 is good for static, a big and abrupt surge in sales requests >> SQS
upvoted 2 times
...
Lotzy
3 years, 3 months ago
Selected Answer: D
Hesitating between B and D, but because there is the "asynchronously" keyword, I would go for D as SQS is a good choice for such processing and smoothing out spikes.
upvoted 4 times
...
SmartDude
3 years, 3 months ago
Selected Answer: B
Sale request should be real-time. Adding a queue may delay the process.
upvoted 3 times
...
Indy2021
3 years, 5 months ago
Is the purpose of autoscaling for workload increase? You can even set number of requests as the metric to launch new instances. I choose B.
upvoted 3 times
...
FF11
3 years, 5 months ago
Selected Answer: D
D is correct. Please disregard my previous vote for B.
upvoted 4 times
...
FF11
3 years, 5 months ago
Selected Answer: B
B is the answer.
upvoted 1 times
...
BlassArun
3 years, 5 months ago
Ans is B
upvoted 4 times
...
Natew
3 years, 5 months ago
D sounds like a bad option if they are going to queue purchase requests. I am guessing they have a finite amount of items to sell so that could have the potential of overselling or over committing.
upvoted 1 times
...
Spacer
3 years, 5 months ago
D is better. Auto scaling may still lose some requests. SQS can persist unhandled request.
upvoted 2 times
...
MikeDuB
3 years, 5 months ago
I went D because it came down to asking for the efficient "processing of requests" does anyone disagree?
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 ...