A financial services firm runs a legacy application on Amazon EC2 instances in VPC-A under Account 1. The application must retrieve daily audit logs from an Amazon S3 bucket in VPC-B under Account 2, which is currently encrypted using the default AWS-managed S3 key (aws/s3). Currently, this access uses long-lived IAM user access keys, and traffic goes over the public internet. Additionally, the application must resolve private DNS endpoints hosted in a Route 53 Private Hosted Zone (PHZ) in Account 2. The solutions architect needs to remediate these issues by eliminating long-lived credentials, routing all S3 traffic over the AWS internal network, enabling cross-account private DNS resolution, and ensuring that all S3 data is securely accessed with custom encryption keys. Which two of the following actions should the solutions architect perform to meet these requirements?
- Create a VPC association authorization from Account 2 to authorize VPC-A in Account 1 to associate with the Route 53 Private Hosted Zone, and then associate VPC-A with the Private Hosted Zone from Account 1.Cevap
- Re-encrypt the S3 bucket using a Customer Managed Key (CMK) in Account 2. Configure the CMK's key policy and the S3 bucket policy to grant read access to the EC2 instance profile role in Account 1, and configure a Gateway VPC Endpoint for S3 in VPC-A.Cevap
- CKeep the S3 bucket encrypted with the AWS-managed KMS key (aws/s3) and configure a cross-account IAM role in Account 2 that trusts the EC2 instance profile in Account 1, enabling the application to access S3 by assuming this role.
- DShare the Route 53 Private Hosted Zone from Account 2 to Account 1 using AWS Resource Access Manager (RAM), and then update the route tables of VPC-A to point to the shared private hosted zone.
- EApply a Service Control Policy (SCP) to the Organizational Unit (OU) containing Account 1 that allows 's3:GetObject' and 'kms:Decrypt' actions on the S3 bucket and key in Account 2 to grant the instances access.