AWS Certified Solutions Architect - Professional Exam QuestionsBrowse all questions from this exam

AWS Certified Solutions Architect - Professional Exam - Question 960


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?

Show Answer
Correct Answer: D

The best solution for a company hosting a monolithic REST-based API overwhelmed by large and sudden increases in traffic is to create an Application Load Balancer (ALB) in front of the API. Moving the EC2 instances to private subnets and adding them as targets for the ALB ensures efficient distribution of incoming requests. The ALB can handle varying loads and scales automatically, providing both high availability and scalability. This approach requires minimal operational overhead compared to other options, such as refactoring the application to use AWS Lambda functions or containerizing the application for an Amazon EKS cluster.

Discussion

7 comments
Sign in to comment
Vash2303Option: A
Jan 28, 2023

less operational overhead is the key

Kende
Dec 15, 2022

C is the one.

EastmanKan
Apr 7, 2023

A will have less operational overhead, though the effort converting the application to Lambda will be big.

masetromain
Nov 30, 2022

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/

Kende
Dec 15, 2022

A: Rewriting everything is too much overhead. D: It does not scale.

Heer
Jan 25, 2023

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

dev112233xxOption: D
Apr 30, 2023

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

WhyIronManOption: D
Jul 19, 2024

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.

WhyIronMan
Jul 19, 2024

for those who choose A, what if the API is not supported by lambdas or api gateways