Bird
0
0

Why is a load balancer typically used with an ECS service running multiple tasks?

hard📝 Conceptual Q10 of 15
AWS - ECS and Fargate
Why is a load balancer typically used with an ECS service running multiple tasks?
ATo increase the CPU and memory available to each task
BTo store task logs centrally for analysis
CTo automatically update task definitions
DTo distribute incoming traffic evenly across all running tasks
Step-by-Step Solution
Solution:
  1. Step 1: Understand load balancer role

    Load balancers distribute incoming requests evenly to multiple tasks to ensure availability and scalability.
  2. Step 2: Eliminate incorrect options

    Load balancers do not store logs, update task definitions, or increase task resources.
  3. Final Answer:

    To distribute incoming traffic evenly across all running tasks -> Option D
  4. Quick Check:

    Load balancer balances traffic among tasks [OK]
Quick Trick: Load balancer distributes traffic to tasks [OK]
Common Mistakes:
  • Confusing load balancer with logging services
  • Thinking load balancer updates tasks automatically
  • Assuming load balancer increases task resources

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes