Cloud concept / Networking decisions
Security groups
Use stateful, allow-only filtering on resources or their network interfaces.
How it works
Specify the traffic a workload should receive or send, for example permitting database traffic only from application resources in another security group. Return traffic for an allowed connection is automatically allowed by the stateful filter.
Exam keywords
Picture this
A receptionist who admits a visitor remembers to let them leave.
Group is stateful and allows only.
When to use it
Only the application fleet should initiate connections to a database, and replies should flow without adding mirror rules.
When not to use it
There is no explicit deny rule in a security group. Multiple attached groups combine their allows rather than restricting one another.
On the exam
AWS Certified Cloud Practitioner (CLF-C02) · Domain 3: Technology & Services · Task 3.5