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

A company has developed a microservices application. It uses a client-facing API with Amazon API Gateway and multiple internal services hosted on Amazon
EC2 instances to process user requests. The API is designed to support unpredictable surges in traffic, but internal services may become overwhelmed and unresponsive for a period of time during surges. A solutions architect needs to design a more reliable solution that reduces errors when internal services become unresponsive or unavailable.
Which solution meets these requirements?

  • A. Use AWS Auto Scaling to scale up internal services when there is a surge in traffic.
  • B. Use different Availability Zones to host internal services. Send a notification to a system administrator when an internal service becomes unresponsive.
  • C. Use an Elastic Load Balancer to distribute the traffic between internal services. Configure Amazon CloudWatch metrics to monitor traffic to internal services.
  • D. Use Amazon Simple Queue Service (Amazon SQS) to store user requests as they arrive. Change the internal services to retrieve the requests from the queue for processing.
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
algreat
Highly Voted 3 years, 8 months ago
D, because "reduces errors when internal services become unresponsive or unavailable." means it's ok when they are unavailable, just need not to loose requests
upvoted 56 times
AK003
3 years, 8 months ago
Exactly, they don't want to miss the requests when there is a period of unavailability. Ans::D
upvoted 6 times
...
...
1naccurate
Highly Voted 3 years, 8 months ago
my take is D: SQS -> API Gateway as the single point of entry -> multiple internal services
upvoted 15 times
...
chxzqw
Most Recent 3 years, 7 months ago
don't understand here regarding AutoScaling, so what is scale out and scale in ?
upvoted 1 times
naveenagurjara
2 years, 11 months ago
ECS Tasks....
upvoted 1 times
...
...
gmsaiaws
3 years, 7 months ago
My Take will be B. since they are asking how to reduce errors when the systems are unresponsive. which means they know the instances are getting unresponsive and want to minimize them.
upvoted 1 times
...
zek
3 years, 7 months ago
Answer is A
upvoted 1 times
letmein2
3 years, 7 months ago
A is incorrect because it is to scale up, not scale out.
upvoted 5 times
...
banjojoe
3 years, 7 months ago
A is also incorrect because you have to "reduce errors when internal services become unresponsive or unavailable" not fix the internal services so they scale better
upvoted 2 times
...
...
Abdullah777
3 years, 7 months ago
spike , unpredictable surge or any thing like this, autoscaling doesn't work with it. only ques work here. D
upvoted 5 times
letmein2
3 years, 7 months ago
A with target tracking scaling policy doesn't work?
upvoted 1 times
letmein2
3 years, 7 months ago
A is incorrect because it is to scale up, not scale out.
upvoted 1 times
...
...
...
syu31svc
3 years, 8 months ago
https://aws.amazon.com/sqs/: "Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications" The surges in traffic can be due to the microservice being too large for the ec2 instances to handle when requests come in Auto Scaling to scale OUT not IN so A is wrong B and C are wrong for sure Just my thoughts
upvoted 6 times
syu31svc
3 years, 7 months ago
Answer is D to conclude
upvoted 3 times
...
...
Ni_yot
3 years, 8 months ago
Classic decoupling question to me. So Ans = D
upvoted 4 times
...
Atanu_M
3 years, 8 months ago
D. As it decouples the API gateway from any underlying computing. ASG on it's own can't resolve it has to be combined with a ALB and even after that D is better answer as it can deal with the scenario when all EC2 is down for fraction of sec/min.
upvoted 8 times
...
CCNPWILL
3 years, 8 months ago
Answer is D
upvoted 5 times
...
ahmedzeddini
3 years, 8 months ago
D when internal services become unresponsive or unavailable. So we can use Decoupling with SQS to fix the problem
upvoted 6 times
...
DrCloud
3 years, 8 months ago
A. AWS Auto Scaling This is a performance problem: unpredictable surges in traffic, but internal services may become overwhelmed and unresponsive for a period of time during surges. Reference: https://aws.amazon.com/autoscaling/
upvoted 6 times
pizo1993
3 years, 8 months ago
AWS AutoScaling is used to scale out not to scale up. So the correct answer is D.
upvoted 3 times
...
...
ganj
3 years, 8 months ago
Ans: A
upvoted 3 times
...
ganj
3 years, 8 months ago
Ans: C
upvoted 1 times
...
CountryGent
3 years, 8 months ago
Loadbalancer may help only if there are underutilized instances available. SQS acts as a buffer for request surges.
upvoted 3 times
...
toto059
3 years, 8 months ago
maybe C
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 ...