
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company is building a three-tier application on AWS. The presentation tier will serve a static website. The logic tier is a containerized application. This application will store data in a relational database. The company wants to simplify deployment and to reduce operational costs.
Which solution will meet these requirements?
A
Use Amazon S3 to host static content. Use Amazon Elastic Container Service (Amazon ECS) with AWS Fargate for compute power. Use a managed Amazon RDS cluster for the database.
B
Use Amazon CloudFront to host static content. Use Amazon Elastic Container Service (Amazon ECS) with Amazon EC2 for compute power. Use a managed Amazon RDS cluster for the database.
C
Use Amazon S3 to host static content. Use Amazon Elastic Kubernetes Service (Amazon EKS) with AWS Fargate for compute power. Use a managed Amazon RDS cluster for the database.
D
Use Amazon EC2 Reserved Instances to host static content. Use Amazon Elastic Kubernetes Service (Amazon EKS) with Amazon EC2 for compute power. Use a managed Amazon RDS cluster for the database.
Explanation:
Option A is correct because it provides the most cost-effective and simplified deployment solution:
Amazon S3 for static content: S3 is ideal for hosting static websites as it's highly scalable, cost-effective, and requires no server management.
Amazon ECS with AWS Fargate: This is a serverless compute engine for containers that eliminates the need to manage EC2 instances, reducing operational overhead and costs. Fargate automatically scales and manages the underlying infrastructure.
Managed Amazon RDS cluster: RDS provides a fully managed relational database service, reducing operational complexity.
Why other options are incorrect:
Option B: Uses CloudFront for static content hosting, which is primarily a CDN service, not a hosting service. While CloudFront can be used with S3 origin, it's not a hosting solution by itself. Also uses EC2 instances with ECS, which requires more operational management than Fargate.
Option C: Uses Amazon EKS with Fargate, which is more complex than ECS for simple container orchestration needs. ECS is simpler and more cost-effective for most use cases.
Option D: Uses EC2 Reserved Instances for static content, which is inefficient and costly compared to S3. Also uses EC2 instances with EKS, which requires significant operational management.
The key requirements are simplify deployment and reduce operational costs. Option A achieves both by using serverless/managed services (S3, Fargate, RDS) that minimize operational overhead and provide cost optimization through pay-as-you-go pricing.