Bird
0
0

Which of the following is the correct way to launch a container using Amazon ECS with Fargate launch type?

easy📝 Syntax Q3 of 15
AWS - EKS
Which of the following is the correct way to launch a container using Amazon ECS with Fargate launch type?
AUpload container image to S3 and run it
BCreate an EC2 instance and install Kubernetes
CCreate a task definition, then run a task with launch type Fargate
DCreate a Lambda function with container image
Step-by-Step Solution
Solution:
  1. Step 1: Understand ECS Fargate launch

    To run containers on ECS with Fargate, you create a task definition and run a task specifying Fargate as launch type.
  2. Step 2: Eliminate incorrect options

    Installing Kubernetes on EC2 is unrelated to ECS Fargate. S3 does not run containers. Lambda can run containers but is not ECS.
  3. Final Answer:

    Create a task definition, then run a task with launch type Fargate -> Option C
  4. Quick Check:

    ECS Fargate launch = task definition + run task [OK]
Quick Trick: ECS Fargate needs task definition and run task [OK]
Common Mistakes:
  • Confusing EC2 with Fargate
  • Thinking S3 runs containers
  • Mixing Lambda with ECS tasks

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes