A logistics enterprise is upgrading the security posture of an internal tracking application deployed in a multi-account environment. The core application runs on Amazon ECS inside private subnets of a production VPC (VPC-A) in Account-1, fronted by an internal Application Load Balancer (ALB). The DNS for the application is managed in a Route 53 Private Hosted Zone (PHZ) in Account-1. To meet new compliance requirements, the Solutions Architect must configure the following:
1. Allow consumer services running in a development VPC (VPC-B) in Account-2 to resolve the application's domain name. VPC-A and VPC-B are connected via an AWS Transit Gateway.
2. Allow consumer services in Account-2 to write application logs directly to an Amazon S3 bucket in Account-1, ensuring all data is encrypted at rest using AWS KMS.
3. Deploy an AWS WAF Web ACL on the ALB that blocks SQL injection (SQLi) attacks from all sources, while exempting a partner's whitelisted CIDR range from rate-limiting rules that apply to general traffic.
Which combination of actions represents the most secure and operationally viable configuration to meet these requirements?
- In Account-1, authorize the association of VPC-B with the PHZ, then associate VPC-B with the PHZ in Account-2. Create a Customer Managed Key (CMK) in Account-1, configure its key policy to allow access from the Account-2 IAM role, and encrypt the S3 bucket with it. Update the S3 bucket policy to trust the Account-2 IAM role. Configure the WAF Web ACL with the SQLi block rule set to priority 10, followed by the partner IP allow rule at priority 20, and the general rate-limiting rule at priority 30.Cevap
- BIn Account-1, authorize the association of VPC-B with the PHZ, then associate VPC-B with the PHZ in Account-2. Create a Customer Managed Key (CMK) in Account-1, configure its key policy to allow access from the Account-2 IAM role, and encrypt the S3 bucket with it. Update the S3 bucket policy to trust the Account-2 IAM role. Configure the WAF Web ACL with the partner IP allow rule set to priority 10, followed by the SQLi block rule at priority 20, and the general rate-limiting rule at priority 30.
- CConfigure Route 53 Resolver outbound endpoints in VPC-A and inbound endpoints in VPC-B, then configure a Route 53 forwarding rule to route queries for the application's domain name from VPC-B to VPC-A. Create a Customer Managed Key (CMK) in Account-1, configure its key policy to allow access from the Account-2 IAM role, and encrypt the S3 bucket with it. Update the S3 bucket policy to trust the Account-2 IAM role. Configure the WAF Web ACL with the SQLi block rule set to priority 10, followed by the partner IP allow rule at priority 20, and the general rate-limiting rule at priority 30.
- DIn Account-1, authorize the association of VPC-B with the PHZ, then associate VPC-B with the PHZ in Account-2. Encrypt the S3 bucket using the default AWS managed key (aws/s3). Configure the S3 bucket policy in Account-1 to trust the Account-2 IAM role, and attach an IAM policy to the Account-2 IAM role granting access to the aws/s3 key in Account-1. Configure the WAF Web ACL with the SQLi block rule set to priority 10, followed by the partner IP allow rule at priority 20, and the general rate-limiting rule at priority 30.