AWS Certified Solutions Architect – Associate (SAA-C03) — Question 61
A solutions architect is designing a two-tier web application. The application consists of a public-facing web tier hosted on Amazon EC2 in public subnets. The database tier consists of Microsoft SQL Server running on Amazon EC2 in a private subnet. Security is a high priority for the company.
How should security groups be configured in this situation? (Choose two.)
Answer options
- A. Configure the security group for the web tier to allow inbound traffic on port 443 from 0.0.0.0/0.
- B. Configure the security group for the web tier to allow outbound traffic on port 443 from 0.0.0.0/0.
- C. Configure the security group for the database tier to allow inbound traffic on port 1433 from the security group for the web tier.
- D. Configure the security group for the database tier to allow outbound traffic on ports 443 and 1433 to the security group for the web tier.
- E. Configure the security group for the database tier to allow inbound traffic on ports 443 and 1433 from the security group for the web tier.
Correct answer: A, C
Explanation
The correct answers are A and C. Option A allows the web tier to receive secure HTTP traffic from any source, which is essential for public access. Option C permits the database tier to accept connections on port 1433 specifically from the web tier's security group, ensuring secure database access. Options B, D, and E are incorrect because they either do not meet security requirements or allow unnecessary traffic that could compromise security.