In a sophisticated tiered architecture, how should a database security group be configured to be most secure?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Allow inbound traffic on the DB port with the Web Server Security Group as the source

Nesting security groups (using one as the source for another) ensures only specific application components can talk to the database, regardless of their IP addresses....

📋Part of AWS Certified Solutions Architect – Associate (SAA-C03) · AWS Certification Practice
Real Exam ScenarioSecurity Groups

In a sophisticated tiered architecture, how should a database security group be configured to be most secure?

✓ Correct Answer & ExplanationSecurity Groups

Correct Answer

Allow inbound traffic on the DB port with the Web Server Security Group as the source

Why This Answer Is Correct

Nesting security groups (using one as the source for another) ensures only specific application components can talk to the database, regardless of their IP addresses.

📚 What This Question Tests

This question evaluates your knowledge of Security Groups — a core concept tested in AWS Certified Solutions Architect – Associate (SAA-C03). Understanding Security Groups is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.