SAP-C02 Question 327
Select 4An organization is building a multi-tier web application on AWS. The application must handle unpredictable traffic patterns, ensure high availability, and optimize costs without sacrificing performance. The application consists of a web tier, an application tier, and a database tier. Which combination of AWS services and configurations should a Solutions Architect recommend?
- A
Use an Auto Scaling group with EC2 instances for the web tier, combined with an Application Load Balancer (ALB).
- B
Deploy the application tier using Amazon ECS with AWS Fargate for serverless container management.
- C
Use Amazon RDS with Multi-AZ deployment for the database tier to ensure high availability.
- D
Deploy the database tier with Amazon DynamoDB and enable DynamoDB Auto Scaling.
- E
Set up Amazon CloudFront in front of the web tier to cache static content and reduce latency.
Show answer and explanation
Correct answers: A, B, C, E
Explanation
To handle unpredictable traffic patterns and ensure high availability, the solution must leverage scalable and fault-tolerant services. Auto Scaling with an ALB ensures the web tier can handle varying traffic loads, while ECS with Fargate provides serverless scalability for the application tier. For the database tier, Amazon RDS with Multi-AZ deployment ensures availability and reliability. Adding CloudFront optimizes content delivery and reduces latency, particularly for static assets. DynamoDB, while a powerful NoSQL option, was not specified as a requirement for this scenario, making RDS a more appropriate choice.
- A. Correct.
Correct: Using an Auto Scaling group ensures the web tier can scale out or in to handle traffic fluctuations, while an Application Load Balancer distributes incoming traffic effectively.
- B. Correct.
Correct: Amazon ECS with AWS Fargate provides a serverless option for containerized workloads, ensuring cost optimization and scalability for the application tier.
- C. Correct.
Correct: Amazon RDS with Multi-AZ deployment provides automatic failover and high availability for relational databases, which is crucial for a production-grade application.
- D. Incorrect.
Incorrect: While DynamoDB is highly scalable, it may not be suitable for all database needs, especially if the application requires relational database capabilities such as complex queries and transactions.
- E. Correct.
Correct: Amazon CloudFront caches static content at edge locations to reduce latency and improve user experience, particularly for global users.