Astraea Genomics is modernizing its on-premises legacy genomic sequencing application by migrating it to AWS. The application will run as containerized tasks in a Production AWS account on Amazon ECS using AWS Fargate. To meet strict HIPAA and GDPR compliance standards, all data and container images must be encrypted at rest, and all traffic must remain within the private network. The modernization must satisfy the following constraints:
1. The container images must be pulled from an Amazon Elastic Container Registry (Amazon ECR) repository located in a Shared Services AWS account.
2. All traffic between the Production VPC and Amazon ECR must be routed entirely over the private AWS network, as the Production VPC has no internet access.
3. The container images are encrypted at rest using an AWS KMS key in the Shared Services account.
4. The network architecture must be highly available across three Availability Zones without introducing single points of failure.
Which combination of actions should a solutions architect take to configure this environment? (Select TWO.)
- In the Production VPC, create interface VPC endpoints for the ECR API and ECR Docker registry, and a gateway VPC endpoint for Amazon S3. Configure the ECS task definition to use the awsvpc network mode.Cevap
- In the Shared Services account, configure the ECR repository to use a Customer Managed Key (CMK). Update the key policy of the CMK to grant the ECS task execution IAM role in the Production account permissions for the kms:Decrypt and kms:DescribeKey actions.Cevap
- CIn the Production VPC, deploy a single NAT Gateway in one Availability Zone to route ECR traffic, and configure the ECS task definition to use the bridge network mode.
- DIn the Shared Services account, configure the ECR repository to use the AWS-managed KMS key (aws/ecr). Update the key policy of aws/ecr to grant the ECS task execution IAM role in the Production account permissions for the kms:Decrypt action.
- ECreate a Route 53 Private Hosted Zone (PHZ) for the ECR DNS namespace in the Shared Services account, associate it with the Shared Services VPC, and route ECR traffic using a Direct Connect gateway without a Transit Gateway.