AeroRoute Logistics is migrating an on-premises containerized fleet routing application to AWS. The application consists of a front-end API service and a backend routing engine. The Solutions Architect has designed a multi-account AWS architecture where the container images will be stored in a centralized Amazon Elastic Container Registry (Amazon ECR) repository in a Shared Services account. The application must run on Amazon ECS using AWS Fargate within an Application VPC. The Application VPC is distributed across three Availability Zones with public and private subnets. For service discovery, a Route 53 Private Hosted Zone (PHZ) is hosted in the Shared Services account. The deployment must be highly available, minimize operational overhead, and allow tasks to securely resolve internal endpoints and pull images. Which TWO actions should the Solutions Architect perform to meet these requirements?
- Configure the ECS task definitions to use the `awsvpc` network mode, and grant the ECS task execution role permissions to pull container images from the Amazon ECR repository in the Shared Services account.Answer
- Associate the Route 53 Private Hosted Zone in the Shared Services account with the Application VPC.Answer
- CConfigure the ECS task definitions to use the `bridge` network mode to enable dynamic port mapping and optimize task-to-task communication on AWS Fargate.
- DCreate an identical Route 53 Private Hosted Zone in the Application account, as Private Hosted Zones automatically sync records across accounts within the same AWS Organization.
- EDeploy a single NAT Gateway in one public subnet, and route outbound traffic from all private subnets across all three Availability Zones through this NAT Gateway to minimize hourly resource charges.