A company is migrating a multi-tier application to AWS and wants to modernize by using containers and serverless technologies. The application consists of a Node.js frontend, a Java backend, and a PostgreSQL database. The company wants to reduce operational overhead and improve scalability. Which TWO strategies should the company use? (Choose two.)
Trap 1: Refactor the Node.js frontend to run on AWS Lambda with Amazon API…
Lambda is suitable for Node.js, but the question asks for TWO strategies; the Java backend and database are better candidates for modernization.
Trap 2: Migrate the database to Amazon DynamoDB
DynamoDB is NoSQL and would require application changes.
Trap 3: Deploy the Java backend on Amazon EC2 with Auto Scaling
EC2 requires managing servers; not as modernized as Fargate.
- A
Refactor the Node.js frontend to run on AWS Lambda with Amazon API Gateway
Why wrong: Lambda is suitable for Node.js, but the question asks for TWO strategies; the Java backend and database are better candidates for modernization.
- B
Migrate the database to Amazon RDS for PostgreSQL
RDS reduces operational overhead compared to managing PostgreSQL on EC2.
- C
Migrate the database to Amazon DynamoDB
Why wrong: DynamoDB is NoSQL and would require application changes.
- D
Deploy the Java backend on Amazon ECS with AWS Fargate
Fargate eliminates server management for containers.
- E
Deploy the Java backend on Amazon EC2 with Auto Scaling
Why wrong: EC2 requires managing servers; not as modernized as Fargate.