ZetaDiagnostics is migrating its HIPAA-compliant medical image processing engine from an on-premises virtualized environment to AWS. The target architecture must run on AWS Fargate across three Availability Zones to minimize operational overhead. The workload VPC is connected to a central shared services VPC via AWS Transit Gateway. The containers must securely pull images from an Amazon Elastic Container Registry (Amazon ECR) repository located in the shared services VPC without traversing the public internet. Additionally, the Fargate tasks must retrieve encrypted clinical parameters from AWS Secrets Manager using a key managed in the shared services account. All internal DNS queries for ECR must resolve directly to the shared services VPC endpoints. Which combination of architectural steps will satisfy these requirements? (Select TWO.)
- Configure the ECS task definition to use the awsvpc network mode. In the shared services account, associate the Route 53 Private Hosted Zone for the ECR VPC endpoints with the workload VPC. Update the ECR repository policy in the shared services account to grant the task execution role in the workload account permission to pull the container images.Cevap
- BConfigure the ECS task definition to use the bridge network mode to enable resource sharing. Set up a Route 53 Resolver forwarding rule in the workload VPC to route ECR DNS queries to the default public Route 53 resolver, and configure the workloads to pull images over AWS Direct Connect.
- Update the Secrets Manager secret resource policy and the KMS Customer Managed Key (CMK) key policy in the shared services account to grant retrieve and decrypt permissions to the workload task execution role. In the workload account, configure the task execution role with permissions to read the secret and decrypt using the CMK, and reference the cross-account secret ARN in the task container definition.Cevap
- DEncrypt the Secrets Manager secret in the shared services account using the AWS-managed KMS key for Secrets Manager. Configure the task execution role in the workload account with access to the AWS-managed key, and configure the ECS tasks to use the host network mode for direct container communication.
- ECreate a new Route 53 Private Hosted Zone for ECR in the workload account. Configure a Transit Gateway static route directing ECR DNS traffic to a NAT Gateway in the workload VPC, and use a Customer Managed Key (CMK) without cross-account policy configuration to decrypt the configuration secrets.