Which statement correctly describes a key difference between AWS Fargate and EC2 launch types for running containers?
Think about who manages the servers in each launch type.
Fargate lets you run containers without managing servers. EC2 launch type requires you to manage the EC2 instances yourself.
You want to run a containerized application with predictable steady traffic and want to optimize costs by using reserved capacity. Which launch type should you choose?
Reserved capacity applies to EC2 instances, not serverless services.
Reserved EC2 instances reduce cost when you manage your own EC2 instances. Fargate is serverless and does not use reserved instances.
Which statement best describes how auto scaling works differently between Fargate and EC2 launch types?
Consider what resources each launch type manages.
Fargate scales tasks directly since it manages infrastructure. EC2 launch type requires scaling EC2 instances to support tasks.
Which security responsibility is unique to the EC2 launch type compared to Fargate?
Think about who controls the servers in each launch type.
With EC2 launch type, you must patch and secure the EC2 instances. Fargate abstracts this responsibility.
You have a mixed workload: some tasks require custom AMIs and others benefit from serverless management. What is the best practice for using both Fargate and EC2 launch types in the same ECS cluster?
Consider ECS cluster flexibility and task placement.
ECS supports running both Fargate and EC2 launch types in the same cluster, allowing flexible task placement.