exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 960 discussion

A company is hosting a monolithic REST-based API for a mobile app on five Amazon EC2 instances in public subnets of a VPC. Mobile clients connect to the API by using a domain name that is hosted on Amazon Route 53. The company has erupted a Route 53 multivalue answer routing policy with the IP addresses of all the EC2 instances. Recently, the app has been overwhelmed by large and sudden increases to traffic. The app has not been able to keep up with the traffic.

A solutions architect needs to implement a solution so that the app can handle the new and varying load.

Which solution will meet these requirements with the LEAST operational overhead?

  • A. Separate the API into individual AWS Lambda functions. Configure an Amazon API Gateway REST API with Lambda integration for the backend. Update the Route 53 record to point to the API Gateway API.
  • B. Containerize the API logic. Create an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. Run the containers in the cluster by using Amazon EC2. Create a Kubernetes ingress. Update the Route 53 record to point to the Kubernetes ingress.
  • C. Create an Auto Scaling group. Place all the EC2 instances in the Auto Scaling group. Configure the Auto Scaling group to perform scaling actions that are based on CPU utilization. Create an AWS Lambda function that reacts to Auto Scaling group changes and updates the Route 53 record.
  • D. Create an Application Load Balancer (ALB) in front of the API. Move the EC2 instances to private subnets in the VPC. Add the EC2 instances as targets for the ALB. Update the Route 53 record to point to the ALB.
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
WhyIronMan
9 months, 3 weeks ago
Selected Answer: D
D The option A is: High Operational Overhead: This approach requires significant refactoring of the monolithic application into microservices, which can be complex and time-consuming. Suitability: While serverless architecture offers benefits, the effort involved in breaking down the monolithic API may not justify the overhead for the immediate need to handle traffic spikes.
upvoted 1 times
WhyIronMan
9 months, 3 weeks ago
for those who choose A, what if the API is not supported by lambdas or api gateways
upvoted 1 times
...
...
dev112233xx
2 years ago
Selected Answer: D
A doesn't make sense to refactor all the code to Lambda and API Gateway.. If I propose such a solution to my CEO I will be thrown out of the nearest window Lol ALB which spread the traffic to the EC2 instances instead of Route 53 Multi value
upvoted 1 times
...
EastmanKan
2 years ago
A will have less operational overhead, though the effort converting the application to Lambda will be big.
upvoted 2 times
...
Vash2303
2 years, 3 months ago
Selected Answer: A
less operational overhead is the key
upvoted 4 times
...
Heer
2 years, 3 months ago
OPTION D has 'Create an Application Load Balancer (ALB) in front of the API.' API has to be in front of ALB .So this option is ruled out Option A looks to be more with less operational overhead . So seems like the pick should be A
upvoted 1 times
...
Kende
2 years, 4 months ago
C is the one.
upvoted 3 times
...
masetromain
2 years, 5 months ago
I think it's A or D. A seems be great but I am not sure why "Separate the API into individual AWS Lambda functions" D is possible: https://aws.amazon.com/fr/premiumsupport/knowledge-center/api-gateway-application-load-balancers/
upvoted 1 times
Kende
2 years, 4 months ago
A: Rewriting everything is too much overhead. D: It does not scale.
upvoted 5 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago