AWS Certified Solutions Architect - Associate / Question #1505 of 1019

Question #1505

A company is migrating a three-tier application to AWS. The presentation tier serves static web content, the application tier runs a containerized microservice, and the data tier requires a relational database. The company aims to minimize operational overhead and reduce costs. Which architecture should they choose?

A

Host static content on Amazon S3. Deploy the microservice using Amazon ECS with AWS Fargate. Use Amazon RDS for the database.

B

Use Amazon CloudFront to serve static content. Deploy the microservice on Amazon ECS with Amazon EC2 instances. Use Amazon RDS for the database.

C

Host static content on Amazon S3. Orchestrate containers using Amazon EKS with AWS Fargate. Use Amazon RDS for the database.

D

Host static content on Amazon EC2 instances. Deploy the microservice on Amazon EKS with EC2 instances. Use Amazon RDS for the database.

Explanation

The correct answer is A because:
- Amazon S3 is optimal for hosting static content, offering low cost, high scalability, and zero server management.
- Amazon ECS with AWS Fargate eliminates the need to manage EC2 instances, reducing operational overhead for containerized microservices.
- Amazon RDS provides a fully managed relational database, minimizing administrative tasks.

Other options are less ideal:
- B uses EC2 instances (requires server management) and CloudFront (unnecessary if static content is not globally distributed).
- C uses Amazon EKS, which introduces Kubernetes complexity unless required.
- D relies on EC2 instances for both tiers, increasing operational effort and costs.

Key Points: Prioritize serverless/managed services (S3, Fargate, RDS) to reduce operational burden and costs.

Answer

The correct answer is: A