An enterprise has a multi-account AWS Organization. An application in VPC-Prod under Account A uses a Route 53 Private Hosted Zone (PHZ) named internal.corp for service discovery. During a security and operations review, the Solutions Architect identifies two issues:
1. Administrators operating from VPC-Shared in Account B cannot resolve the DNS records within internal.corp.
2. A containerized reporting service running on Amazon ECS tasks in Account B must retrieve data from an S3 bucket in Account A. The S3 bucket is currently encrypted using an AWS KMS key. Even though the S3 bucket policy allows access to Account B's root principal, the ECS tasks in Account B receive access denied errors when attempting to read the objects.
Which two configuration steps should the Solutions Architect implement to resolve these security and access issues? (Select two.)
- Authorize the VPC association for VPC-Shared from Account A using the AWS CLI, and then associate VPC-Shared with the internal.corp Private Hosted Zone from Account B.Cevap
- Configure the S3 bucket in Account A to use a Customer Managed Key (CMK) for encryption, and update the CMK's key policy in Account A to grant the ECS task IAM role in Account B the required KMS decrypt permissions.Cevap
- CConfigure the S3 bucket in Account A to use the default AWS-managed KMS key (aws/s3), and modify its key policy to grant the ECS task IAM role in Account B cross-account decrypt permissions.
- DApply a Service Control Policy (SCP) to the Organizational Unit containing Account B that explicitly allows the 'route53:AssociateVPCWithHostedZone' action for the resources in Account A.
- EDeploy an outbound Route 53 Resolver endpoint in VPC-Shared and configure a resolver rule pointing to a Direct Connect Gateway to enable transitive DNS routing to the Private Hosted Zone.