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 https://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.
Correct Answer:
Verified
Q825: A company is manually deploying its application
Q826: Which of the following statements is NOT
Q827: A company has a policy that all
Q828: Regarding Amazon SNS, you can send notification
Q829: A Solutions Architect is responsible for redesigning
Q831: The following AWS Identity and Access Management
Q832: A software as a service (SaaS) company
Q833: An IoT company has rolled out a
Q834: A company's processing team has an AWS
Q835: A software company hosts an application on
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents