An insurance firm is modernizing its legacy claims validation backend application by migrating it from on-premises virtual machines to AWS. The proposed architecture requires deploying the application as containerized tasks using the AWS Fargate launch type on Amazon ECS. The tasks must run in a private subnet of an application VPC with no direct outbound path to the internet. The container images must be securely pulled from a centralized Amazon Elastic Container Registry (ECR) repository located in a shared services VPC within the same AWS Organization. A Route 53 Private Hosted Zone for ECR has been created and is hosted in the shared services VPC. Which TWO configurations must a Solutions Architect implement to allow the ECS tasks to pull images from ECR without traversing the public internet? (Select TWO.)
- Associate the Route 53 Private Hosted Zone from the shared services VPC with the application VPC.Answer
- Create Interface VPC Endpoints for Amazon ECR and a Gateway VPC Endpoint for Amazon S3 in the application VPC.Answer
- CConfigure the ECS task definition to use host network mode to route traffic directly to the shared services VPC.
- DSet up an AWS Transit Gateway to route DNS queries transitively to the Route 53 Private Hosted Zone without VPC association.
- EDeploy a single NAT Gateway in the application VPC to route image pull traffic to the public ECR service endpoints.