SAP-C02 · Question #794
A company is migrating a monolithic on-premises .NET Framework production application to AWS. Application demand will grow exponentially in the next 6 months. The company must ensure that the…
The correct answer is D. Use Amazon API Gateway APIs and AWS Lambda functions to decouple the application into. This solution leverages serverless technologies to refactor the monolithic application into a microservices architecture, providing automatic scaling and cost efficiency for anticipated exponential growth.
Question
A company is migrating a monolithic on-premises .NET Framework production application to AWS. Application demand will grow exponentially in the next 6 months. The company must ensure that the application can scale appropriately. The application currently connects to a Microsoft SQL Server transactional database. The company has well-documented source code for the application. Some business logic is contained within stored procedures. A solutions architect must recommend a solution to redesign the application to meet the growth in demand. Which solution will meet this requirement MOST cost-effectively?
Options
- AUse Amazon API Gateway APIs and Amazon EC2 Spot Instances to rehost the application with a
- BUse AWS Application Migration Service to migrate the application to AWS Elastic Beanstalk.
- CMigrate the applications by using AWS App2Container. Use AWS Fargate in multiple AWS
- DUse Amazon API Gateway APIs and AWS Lambda functions to decouple the application into
How the community answered
(31 responses)- A29% (9)
- B16% (5)
- C10% (3)
- D45% (14)
Why each option
This solution leverages serverless technologies to refactor the monolithic application into a microservices architecture, providing automatic scaling and cost efficiency for anticipated exponential growth.
Rehosting with EC2 Spot Instances does not redesign the application, and Spot Instances are not suitable for stable production workloads requiring guaranteed availability for exponential growth.
AWS Application Migration Service is used for rehosting (lift-and-shift), not for redesigning an application into a scalable, decoupled architecture.
While App2Container and AWS Fargate containerize the application, this is a modernization rather than a full redesign into a serverless, decoupled model, which typically offers superior cost-effectiveness for exponential scaling compared to Fargate for a refactor scenario.
Decoupling with Amazon API Gateway and AWS Lambda provides a serverless, highly scalable, and cost-effective architecture that automatically scales with demand and reduces operational overhead, aligning with the redesign and cost-effectiveness requirements.
Concept tested: Monolithic application modernization to serverless microservices
Source: https://aws.amazon.com/blogs/compute/modernizing-legacy-applications-with-aws-lambda-and-amazon-api-gateway/
Community Discussion
No community discussion yet for this question.