A fleet management company, ApexLogistics, is modernizing its on-premises vehicle telematics ingestion system by migrating it to AWS. The application consists of a series of stateless containerized services that process real-time GPS coordinates. The solutions architect decides to deploy the workload on Amazon ECS using the AWS Fargate launch type to minimize operational overhead. The containers must run in private subnets, communicate securely, and write the processed telemetry data to an Amazon DynamoDB table. All traffic between the containerized services and DynamoDB must remain entirely within the AWS internal network without using public IP addresses or traversing the internet. Which architecture should the solutions architect implement to satisfy these requirements?
- AConfigure the ECS task definitions to use the bridge network mode, deploy the tasks across multiple private subnets, and create an interface VPC endpoint for DynamoDB.
- BConfigure the ECS task definitions to use the awsvpc network mode, deploy the tasks in a single private subnet associated with a single NAT Gateway in one Availability Zone, and route DynamoDB traffic through the NAT Gateway.
- Configure the ECS task definitions to use the awsvpc network mode, deploy the tasks across multiple private subnets, and create a gateway VPC endpoint for DynamoDB in the VPC route tables.Answer
- DConfigure the ECS task definitions to use the awsvpc network mode, deploy the tasks across multiple private subnets in a primary VPC, and resolve the DynamoDB service endpoint using a Route 53 Private Hosted Zone created in a shared services VPC that is not associated with the primary VPC.