Easy1 markMultiple Choice
AWS SAP-C02 · Question 23 · Domain 1.2: Security Controls
An architecture uses an Application Load Balancer (ALB) in front of an Auto Scaling group of EC2 instances. The security team requires that the EC2 instances only accept traffic from the ALB. How should the security groups be configured?
An architecture uses an Application Load Balancer (ALB) in front of an Auto Scaling group of EC2 instances. The security team requires that the EC2 instances only accept traffic from the ALB. How should the security groups be configured?
Answer options:
A.
Configure the EC2 security group to allow inbound traffic from the ALB's IP addresses.
B.
Configure the EC2 security group to allow inbound traffic on the application port, specifying the ALB's security group ID as the source.
C.
Configure a Network ACL to block all traffic except from the ALB subnets.
D.
Place the EC2 instances in a private subnet and the ALB in a public subnet.
How to approach this question
Look for security group referencing.
Full Answer
B.Configure the EC2 security group to allow inbound traffic on the application port, specifying the ALB's security group ID as the source.✓ Correct
Configure the EC2 security group to allow inbound traffic on the application port, specifying the ALB's security group ID as the source.
Referencing the ALB's security group ID in the EC2 security group ensures only traffic routed through the ALB is accepted.
Common mistakes
Trying to use IP addresses for an ALB, which scales dynamically.
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 3
75 questions · hints · full answers · grading
More questions from this exam
Q01An enterprise has 100 VPCs across 5 AWS Regions. They need to establish a highly available, trans...HardQ02A company uses AWS Organizations. The CISO requires that no EC2 instances can be launched outside...MediumQ03An application uses Amazon Aurora PostgreSQL. To meet disaster recovery requirements, the databas...HardQ04A company is setting up a new multi-account AWS environment. They want to automate the creation o...MediumQ05An organization wants to allocate AWS costs to specific departments. They use multiple AWS accoun...Medium
Expert