
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company is designing a new multi-tier web application that consists of the following components:
A solutions architect needs to limit access to the application servers so that only the web servers can access them.
Which solution will meet these requirements?
A
Deploy AWS PrivateLink in front of the application servers. Configure the network ACL to allow only the web servers to access the application servers.
B
Deploy a VPC endpoint in front of the application servers. Configure the security group to allow only the web servers to access the application servers.
C
Deploy a Network Load Balancer with a target group that contains the application servers' Auto Scaling group. Configure the network ACL to allow only the web servers to access the application servers.
D
Deploy an Application Load Balancer with a target group that contains the application servers' Auto Scaling group. Configure the security group to allow only the web servers to access the application servers.
Explanation:
The correct answer is D because:
Security Groups vs Network ACLs: Security groups operate at the instance level and are stateful, while network ACLs operate at the subnet level and are stateless. For controlling access between EC2 instances within the same VPC, security groups are the preferred and more granular method.
Application Load Balancer (ALB): An ALB is appropriate for web applications as it operates at Layer 7 (application layer) and can route traffic based on content. It works well with Auto Scaling groups.
Proper Architecture: The solution uses an ALB with a target group containing the application servers' Auto Scaling group, and then configures the security group to allow only the web servers to access the application servers. This ensures:
Why other options are incorrect:
Key AWS Concepts: