An online retail company, ShopVibe, is modernizing its legacy order processing application to run on AWS. The application consists of a frontend service and an order validation service. The modernization strategy requires migrating the application to Amazon ECS using the AWS Fargate launch type to minimize operational overhead. The database hosting the order data remains on-premises, accessed via an AWS Direct Connect connection. The validation service must communicate with the frontend service with low latency and must not be exposed to the public internet. Security policies dictate that all inter-container traffic must be encrypted, and container task execution roles must follow the principle of least privilege. Which TWO configurations must a Solutions Architect implement to meet these requirements? (Select TWO.)
- Configure the Amazon ECS tasks using the awsvpc network mode inside private subnets, and enable ECS Service Connect with TLS encryption for secure, internal service-to-service communication.Cevap
- Provision distinct ECS Task Execution Roles for pulling images and secrets, and distinct ECS Task Roles specifying minimal permissions for runtime access to external resources like the on-premises database.Cevap
- CConfigure the ECS tasks to use the bridge network mode to enable dynamic port mapping on the underlying host, facilitating container-to-container communication.
- DCreate a single Route 53 Private Hosted Zone for internal DNS resolution in a centralized management VPC without associating it with the task VPC.
- EPlace the tasks in a single Availability Zone and deploy a single NAT Gateway in that zone to handle all outbound database synchronization requests.