Bird
0
0

An ECS service fails to launch any tasks after creation. Which of the following is the most probable cause?

medium📝 Debug Q6 of 15
AWS - ECS and Fargate
An ECS service fails to launch any tasks after creation. Which of the following is the most probable cause?
AInsufficient CPU or memory resources available on the cluster
BTask definition is missing a container image
CService is configured with desired count set to zero
DIAM role permissions are too permissive
Step-by-Step Solution
Solution:
  1. Step 1: Identify common launch failures

    Insufficient cluster resources (CPU/memory) prevent task placement.
  2. Step 2: Evaluate other options

    Missing container image would cause task definition errors; desired count zero means no tasks requested; overly permissive IAM roles do not block launches.
  3. Final Answer:

    Insufficient CPU or memory resources available on the cluster -> Option A
  4. Quick Check:

    Check cluster resource availability first [OK]
Quick Trick: Check cluster resources if tasks don't launch [OK]
Common Mistakes:
  • Assuming IAM permissions block task launch
  • Ignoring resource constraints on cluster
  • Overlooking desired count configuration

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes