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

A company is experiencing growth as demand for its product has increased. The company's existing purchasing application is slow when traffic spikes. The application is a monolithic three-tier application that uses synchronous transactions and sometimes sees bottlenecks in the application tier. A solutions architect needs to design a solution that can meet required application response times while accounting for traffic volume spikes.
Which solution will meet these requirements?

  • A. Vertically scale the application instance using a larger Amazon EC2 instance size.
  • B. Scale the application's persistence layer horizontally by introducing Oracle RAC on AWS.
  • C. Scale the web and application tiers horizontally using Auto Scaling groups and an Application Load Balancer.
  • D. Decouple the application and data tiers using Amazon Simple Queue Service (Amazon SQS) with asynchronous AWS Lambda calls.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
sctmp
Highly Voted 3 years, 9 months ago
If I'm not mistaken it's C, since for D, it's using asynchronous AWS Lambda calls and the application uses synchronous transactions.
upvoted 53 times
CloudK
3 years, 9 months ago
I'm not sure either. However I understand that lambda functions can be used both synchronously and asynchronously. I'm not sure if the D is to be discarded https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html
upvoted 1 times
DarthYoda
3 years, 9 months ago
Also not sure but would go with D as it seems as if the solution is to decouple the environment. And using Lambda asynchronously will reduce the bottlenecks as everything will be handled by Lambda in order to process the events.
upvoted 2 times
sctmp
3 years, 9 months ago
https://www.stackery.io/blog/aws-lambda-sync-or-async/ It's C.
upvoted 1 times
...
...
sctmp
3 years, 9 months ago
I agree, but the transaction are synchronous and it's a three-tier app. And it's also mentioning traffic volume spikes which we can use the Auto Balancer. If maybe option D had an API gateway for this volume spikes, we could make it work.
upvoted 2 times
...
...
FeatheredandDeadly
3 years, 9 months ago
C is correct. Best practice to scale out horizontally.
upvoted 6 times
...
sacheth
3 years, 9 months ago
True, the Application uses synchronous transactions each operation is dependent on the previous one. Using asynchronous lambda calls may not work here.
upvoted 6 times
...
vsipf
3 years, 8 months ago
How can you horizontally scale monolitic web application without rewriting whole application ? Only solution for monolitic applications here is A.
upvoted 15 times
lehoang15tuoi
3 years, 8 months ago
It's a really bad question. If they specify how much rework is possible then it'd be easier to decide. Yes you have to rewrite the whole application if you want it to be horizontally-scalable. And if you rewrite the application layer into Lambda, that'd be a whole lot more works too
upvoted 2 times
...
...
...
Bob111
Highly Voted 3 years, 9 months ago
monolithic three-tier application --> LOL its either monolithic or three tier how both????????? if Monolithic D if three tier C
upvoted 17 times
nimorris
3 years, 8 months ago
Assuming its a Monolith by definition the answer should be A?
upvoted 6 times
...
andwill1001
3 years, 8 months ago
How many tiers you have has nothing to do with it being monolithic. You can have 2 tier or 3 tier monolithic. The comparison is monolithic of microservices. All this is saying its that it's 3 tier monolithic (not microservices.)
upvoted 2 times
andwill1001
3 years, 8 months ago
monolithic or microservices*
upvoted 3 times
...
...
...
fro13
Most Recent 1 year, 11 months ago
Selected Answer: A
Monolithic seems to exclude C.
upvoted 2 times
...
BECAUSE
2 years, 1 month ago
Selected Answer: C
C is the answer
upvoted 1 times
...
alexsanteeno
2 years, 5 months ago
Selected Answer: C
synchronous means C
upvoted 1 times
...
future77
3 years ago
Keyword: Monolothic ==> it is not microservices, it is traditional 3-tier web + app + db, so nothing else. But tightly coupled. Keyword: Synchronous ==> again tightly coupled. So it is clear sky now, we have an ordinary web and app layer to be scaled. Only C will help. A will only solve app side upto some point, it cannot be. Look for monolithic keyword in the AWS Well Architected Framework Whitepaper: "Choose how to segment your workload: Monolithic architecture should be avoided. Instead, you should choose between SOA and microservices. When making each choice, balance the benefits against the complexities—what is right for a new product racing to first launch is different than what a workload built to scale from the start needs. The benefits of using smaller segments include greater agility, organizational flexibility, and scalability. Complexities include possible increased latency, more complex debugging, and increased operational burden"
upvoted 3 times
...
examhamster
3 years, 1 month ago
D https://aws.amazon.com/tw/blogs/architecture/architecting-for-reliable-scalability/
upvoted 1 times
...
Javatar
3 years, 5 months ago
I think it's C because question says that satisfies application response time so it should be synchronous solution.
upvoted 1 times
...
Rob_q
3 years, 5 months ago
Selected Answer: C
Ans=C A -> traffic spikes would make infra inefficient B -> I will just ignore this C -> Seems OK. With Web and App scaling and ALB performance should be better, unless the problem is a lot of reads in the DB. Nothing points to the DB, but the question brings up Traffic, so reinforces the answer. D -> IMO, the monolith part just clarifies that there is no microservices, so forget about Lambda, as it would require a complete redesign
upvoted 3 times
...
Edgarrt
3 years, 6 months ago
Selected Answer: A
answer A. key: thre-tier monolithic (web, app and database) C is worng. cuz if u scale out web, app and db you could have data problems D is wrong this is a synchronous process so you need a response to web tier, this option states a asynchronous lambda call so no response.
upvoted 3 times
...
FF11
3 years, 6 months ago
Selected Answer: C
C is the correct answer because question's main focus on traffic flow and application response time. ALB will handle traffic flow and autoscaling will launch more instances to respond to customer requests so that application is not sluggish. More instances means faster response.
upvoted 2 times
...
rav009
3 years, 6 months ago
Since it's monolithic, how can you divide it into different layers unless you rewrite the whole application. So B, C and D ruled out. I choose A.
upvoted 2 times
...
laski
3 years, 7 months ago
The question asks "A solutions architect needs to design a solution that can meet required application response times while accounting for traffic volume spikes" For me, that means the monolithic design is a fail and hence a redesign is being looked at. and hence I think the answer is D
upvoted 1 times
...
banjojoe
3 years, 8 months ago
i would guess (a) since the application is monolithic and they're asking for an aws architects solition that presumably doesn't require rewriting substantial parts of the application. all i can do to fix the problem now is to vertically scale the application instance.
upvoted 3 times
akashshejwal
3 years, 7 months ago
yes, (a) correct solution
upvoted 1 times
...
...
enurupu
3 years, 8 months ago
The word monolithic is a distraction. And leading us toward D
upvoted 1 times
...
Priyapol26
3 years, 8 months ago
Ans: C
upvoted 1 times
...
Abdullah777
3 years, 8 months ago
I couldnt find any where any arch consist of 3 tiers monolithic. there is one stander only called monolithic. all the resources compare between monolithic and microservices which it is the best solution for the monolithic complexity to be able to scaled and decoupled. this microservices should be done through containing ECS. as this option not available in this question the only option left is A. the monolithic can be considered as one system in one instance and can be scaled only vertically.
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 ...