Question 320
An ECS service runs successfully on Fargate, but new tasks placed in private subnets fail to pull a private image from Amazon ECR. The task execution role is already correctly authorized, and the subnets have no NAT or Internet egress. Which connectivity design should the team check?
Explanation
Correct Answer
Private Fargate tasks still need a network path to their registry and image layers. Supported ECR interface endpoints plus S3 gateway routing (and any required logging/secrets endpoints) or NAT can supply connectivity without public task IPs.
Incorrect Answers
ECS on Fargate supports private tasks and ECR image pulls, provided execution-role permission and service access paths are properly configured. EC2 host management is not required.
Increasing task compute capacity cannot create missing private network routes, VPC endpoints or Internet translation needed to fetch container image layers.
Workforce identity provisioning does not establish the task ENI routing or service DNS paths required by ECR image pull requests.






AWS Certified Solutions Architect - Associate SAA-C03 Practice Tests