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

A company built a food ordering application that captures user data and stores it for future analysis. The application's static front end is deployed on an Amazon
EC2 instance. The front-end application sends the requests to the backend application running on separate EC2 instance. The backend application then stores the data in Amazon RDS.
What should a solutions architect do to decouple the architecture and make it scalable?

  • A. Use Amazon S3 to serve the front-end application, which sends requests to Amazon EC2 to execute the backend application. The backend application will process and store the data in Amazon RDS.
  • B. Use Amazon S3 to serve the front-end application and write requests to an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe Amazon EC2 instances to the HTTP/HTTPS endpoint of the topic, and process and store the data in Amazon RDS.
  • C. Use an EC2 instance to serve the front end and write requests to an Amazon SQS queue. Place the backend instance in an Auto Scaling group, and scale based on the queue depth to process and store the data in Amazon RDS.
  • D. Use Amazon S3 to serve the static front-end application and send requests to Amazon API Gateway, which writes the requests to an Amazon SQS queue. Place the backend instances in an Auto Scaling group, and scale based on the queue depth to process and store the data in Amazon RDS.
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
DataGawd96
Highly Voted 3 years, 11 months ago
Static front end, so you want to use S3 for that so automatically rule out C. Key word here is "decouple", any time you see that look for SQS. Answer here is D.
upvoted 85 times
aguy9
3 years, 10 months ago
Yes I agree, the answer is D. API gateway is also serverless and therefore scalable.
upvoted 12 times
...
...
Arup1988
Highly Voted 3 years, 10 months ago
Static Frontend = S3 Decouple = SQS ::: Ans is D
upvoted 26 times
...
fro13
Most Recent 2 years, 1 month ago
Selected Answer: D
C not scalable at the FrontEnd layer. So D.
upvoted 1 times
...
Bmarodi
2 years, 3 months ago
Mbarodi: Ans is D, cause of key word: decouple, API Gateway, serveless
upvoted 1 times
...
Alexander_Nox
2 years, 10 months ago
Selected Answer: D
i guess D
upvoted 1 times
...
queen101
3 years ago
DDDDDDDDDDDD
upvoted 1 times
...
awsas2022
3 years ago
What is the correct answer ?
upvoted 1 times
Tsho
2 years, 9 months ago
D IS THE CORRECT ANSWER Static Frontend = S3 Decouple = SQS
upvoted 1 times
...
...
Janan
3 years ago
Selected Answer: C
C is the answer I prefer. Understand the front end is not scaled but D seems to be not feasible. How can S3 invoke an API Gateway?
upvoted 2 times
iamjeffbezos
2 years, 10 months ago
The website hosted on S3 will make requests to the APIGW
upvoted 3 times
...
...
TecoCloud
3 years ago
D S3 for hosting the static frontend, API gateway for communication btw the frontend and backend, SQS to decouple, and ASG for scalability
upvoted 2 times
...
Nachiket_22_91
3 years, 1 month ago
Selected Answer: D
Point to note : Scaling and Decoupling A and B are ruled out. Between C & D , I would go with D Because in C: Option mentions only one EC2 instance and it cannot be scaled unless in ASG whereas static websites hosted on S3 would scale like a charm. Decoupling is achieved in C&D both but question now remains for scalability Hence D.
upvoted 3 times
...
Pushprajsinghjadoun
3 years, 1 month ago
Selected Answer: D
D is correct
upvoted 2 times
...
vivek0007
3 years, 1 month ago
Selected Answer: C
how can we install application on s3 ,, and s3 can't make call to api ,,so ans will be C
upvoted 2 times
...
vivek0007
3 years, 1 month ago
how can we install application on s3 ,, and s3 can't make call to api ,,so ans will be C
upvoted 2 times
...
slcheng
3 years, 1 month ago
Selected Answer: C
question clearly stated front used EC2 and backend different EC2. C is fit for question.
upvoted 1 times
...
Novak
3 years, 2 months ago
Selected Answer: D
D for sure.
upvoted 2 times
...
ndg25
3 years, 3 months ago
Selected Answer: D
scalability with the s3 more than ec2
upvoted 2 times
...
SuperPiski
3 years, 3 months ago
Selected Answer: C
For me C is the right one. A.- This option is invalid because there is no decouple here. B.- I don't see how S3 can write requests. C.- This is not the pretiest solution, but it is the only one that have sense. D.- S3 can serve static content, but cannot send request.
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 ...