AWS Certified Solutions Architect – Associate (SAA-C03) — Question 880
A company runs its customer-facing web application on containers. The workload uses Amazon Elastic Container Service (Amazon ECS) on AWS Fargate. The web application is resource intensive.
The web application needs to be available 24 hours a day, 7 days a week for customers. The company expects the application to experience short bursts of high traffic. The workload must be highly available.
Which solution will meet these requirements MOST cost-effectively?
Answer options
- A. Configure an ECS capacity provider with Fargate. Conduct load testing by using a third-party tool. Rightsize the Fargate tasks in Amazon CloudWatch.
- B. Configure an ECS capacity provider with Fargate for steady state and Fargate Spot for burst traffic.
- C. Configure an ECS capacity provider with Fargate Spot for steady state and Fargate for burst traffic.
- D. Configure an ECS capacity provider with Fargate. Use AWS Compute Optimizer to rightsize the Fargate task.
Correct answer: B
Explanation
Using standard Fargate for the steady-state workload ensures the core application remains highly available 24/7 without risk of interruption, while Fargate Spot offers a heavily discounted rate to absorb short traffic bursts. Utilizing Fargate Spot for the steady-state baseline (Option C) is incorrect because Spot instances can be reclaimed, risking the required 24/7 availability. Options A and D focus on rightsizing existing tasks but fail to leverage the cost-efficiency of Fargate Spot for handling traffic spikes.