AWSCloud Visual Academy

Cloud concept / Networking decisions

Security groups

Use stateful, allow-only filtering on resources or their network interfaces.

Try a scenarioRecall card

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

stateful
allow rules
network interface
security group reference

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.

Network access control lists — Apply stateless allow and deny rules at the subnet boundary.
Amazon VPC — Logically isolated virtual network in which customers define IP ranges, subnets, routing, and connectivity.
VPC placement, routing, DNS, and hybrid connectivity — Choose network components based on whether you need private placement, traffic routes, name resolution, or access from another network.
Least privilege and IAM policies — Grant only the actions, resources, and conditions needed for a specific job.

On the exam

AWS Certified Cloud Practitioner (CLF-C02) · Domain 3: Technology & Services · Task 3.5