Run an ECS Fargate task.
Manage its image, ports, CPU, memory, and environment declaratively.
Which resource is most appropriate?
Create an ECS task definition that declares the container image, resources, ports, and runtime settings.
Detailed explanation
A dashboard displays metrics and does not define task runtime resources.
A dashboard displays metrics and does not define task runtime resources.
An image repository stores artifacts but does not define task resources or execution.
An image repository stores artifacts but does not define task resources or execution.
The task definition declares containers, images, resource limits, ports, and environment settings.
The task definition declares containers, images, resource limits, ports, and environment settings.
DNS records are not ECS task definitions.
DNS records are not ECS task definitions.
Check official documentation
Compare the following points with the official documentation.
Amazon ECS task definitionsの公式説明を確認する。
What to confirm
ECRイメージ保管とECS task definitionを区別できる。
Key points
- ECS task definition
- Fargate
- CPU and memory
Notes
- Environment: AWS公式SOA-C03試験ガイドとAWS公式ドキュメントの確認
- Confirm current AWS service behavior in the official documentation.
Foundation review
Artifact versus execution
ECR stores the image; the task definition describes how ECS runs it.
Declarative runtime
A versioned task definition makes the desired task configuration repeatable.