Cost-Optimized ECS Fargate High Availability Strategy
Short answer
D Configure an ECS capacity provider with Fargate and use AWS Compute Optimizer to rightsize the task definitions.
Question
Key Takeaways
The exam trap is assuming Spot instances are always the answer for 'cost-effective' scaling, ignoring the explicit '24/7 availability' constraint that rules out interruptions.
This question tests how to balance high availability and cost optimization for resource-intensive web applications on AWS Fargate using capacity providers.
Common mistake: Candidates often choose Option B because it uses cheaper Spot instances for bursts, failing to recognize that Spot interruptions violate the strict availability requirement.
Expert Analysis
Why the Answer Is Correct
Option D is the correct answer because it addresses both the high availability and cost optimization requirements without violating the 24/7 uptime constraint. While Option B seems attractive due to lower costs, Fargate Spot instances can be interrupted with only two minutes of notice, which directly conflicts with the requirement for the workload to be available 24 hours a day, 7 days a week. Option D leverages AWS Compute Optimizer to rightsize tasks, ensuring you pay only for the resources you need, thereby optimizing costs while maintaining the reliability of standard Fargate instances.
Why the Other Options Are Wrong
Options B and C involve Fargate Spot, which introduces a risk of interruption. Since the application must be available 24/7, any potential downtime or forced eviction of Spot instances makes these options non-compliant with the availability SLA. Option A suggests conducting load testing and rightsizing via CloudWatch; while useful for initial setup, it lacks the automated, continuous optimization mechanism provided by AWS Compute Optimizer, making it less effective for ongoing cost management compared to Option D.
Community Comment Notes
Many learners initially favored Option B due to the significant cost savings associated with Spot instances, as noted by users like LeonSauveterre who argued for dynamic scaling. However, the majority correctly identified that the '24/7 availability' phrase is a critical keyword that excludes Spot. Comments from users like Liongeek and EllenLiu highlighted that Spot interruptions make it unsuitable for strictly available workloads, reinforcing the choice of Option D.
Exam Strategy
Always prioritize availability constraints over cost when they conflict. If a question specifies 'highly available' or '24/7', avoid solutions involving Spot instances or other interruptible components unless explicitly stated otherwise.
Frequently Asked Questions
Can Fargate Spot be used for burst traffic if availability is not 100%?
Does AWS Compute Optimizer automatically scale Fargate tasks?
Community Votes
56% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 14 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 14
-
spoved 👍 4 Answered Dhttps://aws.amazon.com/blogs/aws-cloud-financial-management/how-to-take-advantage-of-rightsizing-recommendation-preferences-in-compute-optimizer/ be available 24 hours a day, 7 days a week must be highly available => D
-
flaviobrf 👍 4 Answered BB is the right choice, the application must be available 24/7
-
Liongeek 👍 3 Answered DIt's D. Compute Optimizer supports recommendations for Fargate Tasks https://aws.amazon.com/about-aws/whats-new/2022/12/aws-compute-optimizer-amazon-ecs-services-aws-fargate/ Option B and C recommend Spot, but that's not an option since the the question asks for 24x7 availability.
-
rosanna 👍 3 Answered Dspots might be interrupted and the questions says it has to be available 24/7, rightsizing addresses the cost optimization point but the spot is so risk so I'll go for D
-
EllenLiu 👍 3 Answered Davailable for 24 * 7, spot is out as it can be interrupted any time.
Show 9 more comments
-
LeonSauveterre 👍 2 Answered BA - It doesn't address the cost optimization for burst traffic. Rightsizing ensures you're not over-provisioning your baseline resources, but it doesn't provide a mechanism to dynamically scale up with cost-effective Spot instances during traffic spikes. B - The application can scale up quickly with Fargate Spot tasks to handle the increased load, and if a Spot task is interrupted, the remaining Fargate tasks can continue to serve traffic (and the system can try to acquire new Spot capacity). C - Fargate Spot is not recommended for steady-state workloads because it can be interrupted. This would compromise the application’s 24/7 availability. D - Like A, it fails to leverage Fargate Spot for cost savings. Combining Fargate for steady state with Fargate Spot for burst traffic, the 24/7 HA is actually guaranteed.
-
dhewa 👍 2 Answered BThis combination leverages the cost benefits of Fargate Spot for burst traffic while ensuring steady performance with regular Fargate instances.
-
thiahthura 👍 2 Answered DD is right answer. Company desire is 24 * 7. So I think spot should be.
-
Sarayounisaldossary 👍 1 Answered BUse Fargate Spot for burst traffic — it’s significantly cheaper (up to 70% savings) ECS Capacity Providers let you define a mix strategy for both types of compute This solution provides: High availability via regular Fargate- Cost savings (via Spot)- Scalability for traffic bursts without manual management why other options are incorrect? A. Only uses standard Fargate with performance tuning tools. Does not address cost optimization or scaling for traffic bursts. No use of Fargate Spot, which misses out on potential savings. C. Using Fargate Spot for steady-state workloads is not reliable. Spot tasks can be interrupted at any time, which is not acceptable for a 24/7 high-availability app. D. AWS Compute Optimizer helps with right-sizing but doesn't handle scaling or burst traffic.
-
BugsyWarribwoy 👍 1 Answered BB is the valid answer. Use Fargate for steady-state tasks to ensure high availability and reliability, and Fargate Spot for burst tasks to handle high traffic at a reduced cost. This combination meets the requirements most cost-effectively. D is wrong because rightsizing alone does not optimize for burst traffic scenarios or reduce costs as effectively as incorporating Fargate Spot.
-
FlyingHawk 👍 1 Answered Bhttps://repost.aws/knowledge-center/fargate-spot-termination-notice B is correct as you can use ECS task draining to gracefully handle Spot interruptions.
-
dfgdsfgfdgreg 👍 1 Answered BCompute Optimizer can not optimise fargate tasks.
-
swati1508 👍 3B- for short work use spot
-
pujithacg8 👍 3B is the right answer
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →