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

A company wants to move a multi-tiered application from on premises to the AWS Cloud to improve the application's performance. The application consists of application tiers that communicate with each other by way of RESTful services. Transactions are dropped when one tier becomes overloaded. A solutions architect must design a solution that resolves these issues and modernizes the application.
Which solution meets these requirements and is the MOST operationally efficient?

  • A. Use Amazon API Gateway and direct transactions to the AWS Lambda functions as the application layer. Use Amazon Simple Queue Service (Amazon SQS) as the communication layer between application services.
  • B. Use Amazon CloudWatch metrics to analyze the application performance history to determine the server's peak utilization during the performance failures. Increase the size of the application server's Amazon EC2 instances to meet the peak requirements.
  • C. Use Amazon Simple Notification Service (Amazon SNS) to handle the messaging between application servers running on Amazon EC2 in an Auto Scaling group. Use Amazon CloudWatch to monitor the SNS queue length and scale up and down as required.
  • D. Use Amazon Simple Queue Service (Amazon SQS) to handle the messaging between application servers running on Amazon EC2 in an Auto Scaling group. Use Amazon CloudWatch to monitor the SQS queue length and scale up when communication failures are detected.
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
CountryGent
Highly Voted 3 years, 9 months ago
I think it's A as it both decouples (modernizes) the application using SQS, and provides scalability through Lambda.
upvoted 83 times
CCNPWILL
3 years, 9 months ago
Nice work country man. Answer is indeed A. It modernizes the app. choice D fails to do so.
upvoted 24 times
...
...
syu31svc
Highly Voted 3 years, 9 months ago
I would take A "RESTful services" -> API gateway to be used
upvoted 16 times
...
Aelaz
Most Recent 1 year, 7 months ago
I think it s A because we do not need SQS since api gateway with lamnda will do the required job.
upvoted 1 times
...
[Removed]
2 years, 4 months ago
chatgpt is suggesting the option D though and mentioning the reason that in case of option A it wont be able to deal with the message being dropped.
upvoted 1 times
...
NikaCZ
2 years, 7 months ago
Selected Answer: A
My opinion is A.
upvoted 1 times
...
Jobair
2 years, 8 months ago
Selected Answer: D
My 2 cents The application consists of application tiers that communicate with each other by way of RESTful services. If API Gateway is triggering lambda why will you need SQS for the application layer? D sounds reasonable
upvoted 1 times
...
AWSequalsPromotion
3 years, 5 months ago
Selected Answer: A
think it's A as it both decouples (modernizes) the application using SQS, and provides scalability through Lambda.
upvoted 3 times
...
FF11
3 years, 6 months ago
Selected Answer: A
A seems correct.
upvoted 2 times
...
banjojoe
3 years, 8 months ago
key phrase for me is "modernizes the application" - that means we're updating how the entire application works (d) is still running on ec2 instances and isn't modern; we don't even know if the app can be scaled horizontally (c) just no, SNS doesn't send or receive messages like that (b) could work but a lot of effort and still using (old school) ec2 instances (a) works, is modern, scalable, value for money, must be answer
upvoted 5 times
...
khankwtkwt
3 years, 8 months ago
Why not C.... As per my understanding SQS is a queue service and its not something to use for communication between services.
upvoted 1 times
...
ecastilla
3 years, 8 months ago
Why A is not correct in my opinion: you don't need SQS, because API Gateway and Lambda scales enough, particularly if you come from an on-premise environment as is the case
upvoted 1 times
...
Cotter
3 years, 8 months ago
I think D SQS.
upvoted 4 times
...
Kenisworld666
3 years, 8 months ago
DDDDDDDDDDDDD 100% sure
upvoted 3 times
...
Kasei
3 years, 8 months ago
If you use a target tracking scaling policy based on a custom Amazon SQS queue metric, dynamic scaling can adjust to the demand curve of your application more effectively. For more information about choosing metrics for target tracking, see Choosing metrics.
upvoted 1 times
...
jkwek
3 years, 8 months ago
Answer is A. Refer url: https://aws.amazon.com/getting-started/hands-on/build-serverless-web-app-lambda-apigateway-s3-dynamodb-cognito/module-4/ Build a Serverless Web Application with AWS Lambda, Amazon API Gateway, AWS Amplify, Amazon DynamoDB, and Amazon Cognito. This example showed similar setup as question: Build a Serverless Web Application with AWS Lambda, Amazon API Gateway, AWS Amplify, Amazon DynamoDB, and Amazon Cognito
upvoted 3 times
...
zxing233
3 years, 8 months ago
reprogram all your application to run in LAMBDA is called "operationally efficient"?
upvoted 1 times
banjojoe
3 years, 8 months ago
for me "operationally efficient" means the least ammount of work the infrastructure team has to do to run it, nothing to do with the developers who have to code it
upvoted 3 times
...
...
jealbave
3 years, 8 months ago
A or D
upvoted 4 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 ...