Q252.A solutions architect is migrating an existing workload to AWS Fargate.The task can only run in a private subnet within the VPC where there is no direct connectivity from outside the system to the application.When the Fargate task is launched. The task fails with the following error:Cannotpullcontainererror: API error (500): Get http://111122223333.dkr.ecr.us-east-1.amazonaws.com/v2/: net/http: request canceled while waiting for connection.How should the solutions architect correct this error?
A.Ensure the task is set to ENABLED for the auto-assign public IP setting when launching the task. B.Ensure the task is set to DISABLED for the auto-assign public IP setting when launching the task. Configure a NAT gateway in the public subnet in the VPC to route requests to the internet C.Ensure the task is set to DISABLED for the auto-assign public IP setting when launching the task. Configure a NAT gateway in the private subnet in the VPC to route requests to the internet D.Ensure the network mode is set to bridge in the Fargate task definition.正确答案B