Bird
0
0

Why does AWS Fargate require specifying both CPU and memory in task definitions rather than allowing dynamic allocation?

hard📝 Conceptual Q10 of 15
AWS - ECS and Fargate
Why does AWS Fargate require specifying both CPU and memory in task definitions rather than allowing dynamic allocation?
ABecause Fargate cannot monitor resource usage
BTo reserve resources and ensure predictable performance and billing
CTo force users to over-provision resources
DBecause containers cannot share resources
Step-by-Step Solution
Solution:
  1. Step 1: Understand resource reservation in Fargate

    Specifying CPU and memory reserves resources upfront, ensuring tasks have predictable performance and cost.
  2. Step 2: Exclude incorrect reasons

    Fargate can monitor usage, does not force over-provisioning, and containers can share resources within limits.
  3. Final Answer:

    To reserve resources and ensure predictable performance and billing -> Option B
  4. Quick Check:

    Resource reservation = predictable performance and cost [OK]
Quick Trick: CPU and memory set for predictable cost and performance [OK]
Common Mistakes:
  • Thinking Fargate cannot monitor usage
  • Believing it forces over-provisioning
  • Assuming containers cannot share resources

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes