A company is reviewing the security posture of an existing web application hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). The EC2 instances are currently residing in public subnets, and the ALB receives public HTTP/HTTPS traffic. The company wants to strengthen network security by restricting backend instance access and blocking common web exploits at the edge. Which two options should the solutions architect recommend to achieve this? (Select TWO.)
- Migrate the EC2 instances to private subnets, and configure their security groups to accept inbound traffic only from the Application Load Balancer's security group.Cevap
- Associate an AWS WAF Web ACL with the Application Load Balancer, configuring SQL injection mitigation rules prioritized at the beginning of the Web ACL evaluation order.Cevap
- CDeploy an AWS WAF Web ACL on the Application Load Balancer, placing specific SQL injection block rules after a default allow rule in the Web ACL evaluation order.
- DConfigure cross-account access to log files in an S3 bucket by modifying the key policy of the default AWS-managed KMS key (aws/s3) in the source account.
- EApply a Service Control Policy (SCP) to the member account containing the Application Load Balancer to grant administrative access to the security team without defining local IAM roles.
Cevap
Migrating the EC2 instances to private subnets and configuring their security groups to accept inbound traffic only from the Application Load Balancer's security group, and associating an AWS WAF Web ACL with the Application Load Balancer with SQL injection mitigation rules prioritized first.
The correct solution involves migrating backend instances to private subnets and locking down their security groups to only accept traffic from the ALB's security group, while utilizing AWS WAF on the ALB with properly prioritized block rules at the start of the evaluation order to block exploits before general rules apply.
Adım Adım Çözüm
Anahtar Kavram
Implementing defense-in-depth by separating subnet tiers and applying edge security with AWS WAF on the ALB.
Tahmini Süre:2m 0s