Bird
0
0

Given this ECS service configuration snippet, what launch type will it use?

medium📝 service behavior Q13 of 15
AWS - ECS and Fargate
Given this ECS service configuration snippet, what launch type will it use?
{
  "launchType": "EC2",
  "taskDefinition": "my-task-def"
}
AIt will run containers on EC2 instances you manage.
BIt will run containers on AWS Fargate without server management.
CIt will fail because "EC2" is not a valid launch type.
DIt will run containers on Lambda functions.
Step-by-Step Solution
Solution:
  1. Step 1: Read the launchType value

    The launchType is set to "EC2" which means containers run on EC2 instances.
  2. Step 2: Understand EC2 launch type behavior

    EC2 launch type requires you to manage the servers where containers run.
  3. Final Answer:

    It will run containers on EC2 instances you manage. -> Option A
  4. Quick Check:

    launchType "EC2" means managed servers = A [OK]
Quick Trick: launchType "EC2" means you manage servers [OK]
Common Mistakes:
  • Thinking "EC2" means serverless
  • Assuming "EC2" is invalid syntax
  • Confusing EC2 with Lambda

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes