SAA-C03 · Question #444
A solutions architect is designing a three-tier web application. The architecture consists of an internet-facing Application Load Balancer (ALB) and a web tier that is hosted on Amazon EC2 instances…
The correct answer is A. Configure the security group for the web tier to allow inbound HTTPS traffic from the security C. Configure the security group for the database tier to allow inbound Microsoft SQL Server traffic E. Configure the security group for the application tier to allow inbound HTTPS traffic from the. According to AWS best practices, each tier's security group must restrict inbound traffic to only the upstream trusted source. For the web tier, the Application Load Balancer must be the only entity allowed to send traffic. AWS documentation specifies: "Restrict the security…
Question
A solutions architect is designing a three-tier web application. The architecture consists of an internet-facing Application Load Balancer (ALB) and a web tier that is hosted on Amazon EC2 instances in private subnets. The application tier with the business logic runs on EC2 instances in private subnets. The database tier consists of Microsoft SQL Server that runs on EC2 instances in private subnets. Security is a high priority for the company. Which combination of security group configurations should the solutions architect use? (Select THREE.)
Options
- AConfigure the security group for the web tier to allow inbound HTTPS traffic from the security
- BConfigure the security group for the web tier to allow outbound HTTPS traffic to 0.0.0.0/0.
- CConfigure the security group for the database tier to allow inbound Microsoft SQL Server traffic
- DConfigure the security group for the database tier to allow outbound HTTPS traffic and Microsoft
- EConfigure the security group for the application tier to allow inbound HTTPS traffic from the
- FConfigure the security group for the application tier to allow outbound HTTPS traffic and Microsoft
How the community answered
(33 responses)- A76% (25)
- B6% (2)
- D3% (1)
- F15% (5)
Explanation
According to AWS best practices, each tier's security group must restrict inbound traffic to only the upstream trusted source. For the web tier, the Application Load Balancer must be the only entity allowed to send traffic. AWS documentation specifies: "Restrict the security groups associated with your targets to accept traffic only from the load balancer." This confirms that the web tier security group should allow inbound HTTPS from the ALB security group (A). For communication between the web and application tiers, AWS states: "You can specify a security group as the source or destination in a rule" and "Create rules only for the protocols and ports required by your application." Therefore, the application tier security group must allow inbound HTTPS traffic from the web tier security group (E). For the database tier, AWS guidance says: "Allow only the necessary ports for database communication." Microsoft SQL Server listens on port 1433 by default, so the database tier security group must allow inbound SQL Server traffic from the application tier security group (C). Outbound rules (options B, D, and F) are unnecessary because AWS specifies that "Security groups are stateful. Return traffic is automatically allowed." This means once inbound rules are defined, the return path is automatically permitted without extra outbound configurations. This combination (A, C, E) applies the principle of least privilege, ensures end-to-end secure communication across tiers, and follows AWS recommendations for ALB-to-target security group
Community Discussion
No community discussion yet for this question.